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

Classes

class  VGUITheme
 Abstract class than can be set/overriden to customize to final appearance of GUI widgets. More...
 

Enumerations

enum  VGUIDrawState_t {
  VGUI_STATE_NORMAL , VGUI_STATE_ACTIVE , VGUI_STATE_HOVER , VGUI_STATE_FOCUSED ,
  VGUI_STATE_DISABLED , VGUI_STATE_CHECKED
}
 State of the widget we're going to draw. More...
 
enum  VGUIBorderStyle_t { VGUI_BORDER_LINE , VGUI_BORDER_INSET , VGUI_BORDER_OUTSET , VGUI_BORDER_NONE }
 Style of the border to be drawn within the VGUITheme. More...
 

Variables

var vector UI_MAINCOLOR
 
var float UI_MAINALPHA
 

Enumeration Type Documentation

◆ VGUIBorderStyle_t

Style of the border to be drawn within the VGUITheme.

Enumerator
VGUI_BORDER_LINE 

Thin line border.

VGUI_BORDER_INSET 

Inset border, used for control elements.

VGUI_BORDER_OUTSET 

Outset border, often used for windows.

VGUI_BORDER_NONE 

No border.

◆ VGUIDrawState_t

State of the widget we're going to draw.

Enumerator
VGUI_STATE_NORMAL 
VGUI_STATE_ACTIVE 

The widget is in normal operation.

VGUI_STATE_HOVER 

The widget is active.

VGUI_STATE_FOCUSED 

The mouse or another pointing device is hovering over the widget.

VGUI_STATE_DISABLED 

The widget is focused.

VGUI_STATE_CHECKED 

The widget is disabled.

The widget is pressed or enabled.

Variable Documentation

◆ UI_MAINALPHA

var float UI_MAINALPHA

◆ UI_MAINCOLOR

var vector UI_MAINCOLOR