Nuclide
Software Development Kit for id Tech
ui.qc File Reference

Classes

class  VGUIWidget
 The base VGUI widget class. More...
 
struct  vgui_input_scene_t
 

Macros

#define CUI3DView   VGUI3DView
 
#define CUIButton   VGUIButton
 
#define CUICheckbox   VGUICheckbox
 
#define CUILabel   VGUILabel
 
#define CUIList   VGUIList
 
#define CUIListBox   VGUIListBox
 
#define CUIMenuButton   VGUIMenuButton
 
#define CUIPic   VGUIPic
 
#define CUIRadio   VGUIRadio
 
#define CUIScrollbar   VGUIScrollbar
 
#define CUISlider   VGUISlider
 
#define CUITabView   VGUITabView
 
#define CUITextBox   VGUITextBox
 
#define CUIWidget   VGUIWidget
 
#define CUIWindow   VGUIWindow
 

Functions

bool VGUI_Active (void)
 Return whether a VGUI panel is active on the 2D overlay level. More...
 
bool Util_MouseAbove (vector vecMousePos, vector vecPos, vector vecSize)
 Returns whether our mouse cursor is in a specific region of the screen. More...
 
void UISystem_Init (void)
 
VGUIWidget UIClass_Spawn (string cname)
 

Variables

font_s g_fntDefault
 
var int g_vguiWidgetCount
 
bool isVGUI
 
string classname
 

Macro Definition Documentation

◆ CUI3DView

#define CUI3DView   VGUI3DView

◆ CUIButton

#define CUIButton   VGUIButton

◆ CUICheckbox

#define CUICheckbox   VGUICheckbox

◆ CUILabel

#define CUILabel   VGUILabel

◆ CUIList

#define CUIList   VGUIList

◆ CUIListBox

#define CUIListBox   VGUIListBox

◆ CUIMenuButton

#define CUIMenuButton   VGUIMenuButton

◆ CUIPic

#define CUIPic   VGUIPic

◆ CUIRadio

#define CUIRadio   VGUIRadio

◆ CUIScrollbar

#define CUIScrollbar   VGUIScrollbar

◆ CUISlider

#define CUISlider   VGUISlider

◆ CUITabView

#define CUITabView   VGUITabView

◆ CUITextBox

#define CUITextBox   VGUITextBox

◆ CUIWidget

#define CUIWidget   VGUIWidget

◆ CUIWindow

#define CUIWindow   VGUIWindow

Function Documentation

◆ UIClass_Spawn()

VGUIWidget UIClass_Spawn ( string  cname)

◆ UISystem_Init()

void UISystem_Init ( void  )

◆ Util_MouseAbove()

bool Util_MouseAbove ( vector  vecMousePos,
vector  vecPos,
vector  vecSize 
)

Returns whether our mouse cursor is in a specific region of the screen.

◆ VGUI_Active()

bool VGUI_Active ( void  )

Return whether a VGUI panel is active on the 2D overlay level.

Variable Documentation

◆ classname

string classname

◆ g_fntDefault

font_s g_fntDefault

◆ g_vguiWidgetCount

var int g_vguiWidgetCount

◆ isVGUI

bool isVGUI