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 vector UI_FGCOLOR
 
var float UI_MAINALPHA
 
var vector UI_HICOLOR
 
var vector UI_FILLCOLOR
 
var vector UI_LOCOLOR
 
var vector UI_BORDERCOLOR
 
var float UI_BORDERALPHA
 
var bool UI_ROUNDED
 
var bool UI_NOICONS
 
var vector UI_HOVERCOLOR
 
var float UI_HOVERALPHA
 

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_BORDERALPHA

var float UI_BORDERALPHA

◆ UI_BORDERCOLOR

var vector UI_BORDERCOLOR

◆ UI_FGCOLOR

var vector UI_FGCOLOR

◆ UI_FILLCOLOR

var vector UI_FILLCOLOR

◆ UI_HICOLOR

var vector UI_HICOLOR

◆ UI_HOVERALPHA

var float UI_HOVERALPHA

◆ UI_HOVERCOLOR

var vector UI_HOVERCOLOR

◆ UI_LOCOLOR

var vector UI_LOCOLOR

◆ UI_MAINALPHA

var float UI_MAINALPHA

◆ UI_MAINCOLOR

var vector UI_MAINCOLOR

◆ UI_NOICONS

var bool UI_NOICONS

◆ UI_ROUNDED

var bool UI_ROUNDED