Nuclide
Software Development Kit for id Technology (BETA)
vguiTheme Class Reference

About this class

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

Public Member Functions

virtual void vguiTheme (void)
 
virtual void DrawBorder (vector, vector, VGUIBorderStyle_t, vguiColor)
 Draw a border at the specified position, size and VGUIBorderStyle_t. More...
 
virtual void DrawControlBackground (vector, vector, VGUIDrawState_t)
 Draw a control item background at the specified position, size and VGUIDrawState_t. More...
 
virtual void DrawTextBackground (vector, vector, VGUIDrawState_t)
 Draw a text field background at the specified position, size and VGUIDrawState_t. More...
 
virtual void DrawWindowBackground (vector, vector, VGUIDrawState_t)
 Draw a window background at the specified position, size and VGUIDrawState_t. More...
 
virtual void DrawWindowTitle (vector, vector, string, string, font_s, VGUIDrawState_t)
 Draw a window background at the specified position, size and VGUIDrawState_t. More...
 
virtual void DrawButton (vector, vector, VGUIDrawState_t)
 Draw a button body at the specified position, size and VGUIDrawState_t. More...
 
virtual void DrawScroller (vector, vector, VGUIDrawState_t)
 Draw a scroller at the specified position, size and VGUIDrawState_t. More...
 
virtual void DrawScrollbar (vector, vector, VGUIDrawState_t)
 Draw a scrollbar at the specified position, size and VGUIDrawState_t. More...
 
virtual void DrawProgressIndicator (vector, vector, float, VGUIDrawState_t)
 Draw a progress indicator at the specified position, size and VGUIDrawState_t. More...
 
virtual void DrawText (vector, string, vector, font_s)
 Draws generic text onto a widget. More...
 
virtual void DrawWindow (vector, vector, VGUIDrawState_t)
 Draw a window body. More...
 

Constructor & Destructor Documentation

◆ vguiTheme()

void vguiTheme::vguiTheme ( void  )
virtual

Member Function Documentation

◆ DrawBorder()

void vguiTheme::DrawBorder ( vector  atPos,
vector  withSize,
VGUIBorderStyle_t  borderStyle,
vguiColor  color 
)
virtual

Draw a border at the specified position, size and VGUIBorderStyle_t.

◆ DrawButton()

void vguiTheme::DrawButton ( vector  atPos,
vector  withSize,
VGUIDrawState_t  drawStyle 
)
virtual

Draw a button body at the specified position, size and VGUIDrawState_t.

◆ DrawControlBackground()

void vguiTheme::DrawControlBackground ( vector  atPos,
vector  withSize,
VGUIDrawState_t  drawStyle 
)
virtual

Draw a control item background at the specified position, size and VGUIDrawState_t.

◆ DrawProgressIndicator()

void vguiTheme::DrawProgressIndicator ( vector  atPos,
vector  withSize,
float  progressValue,
VGUIDrawState_t  drawStyle 
)
virtual

Draw a progress indicator at the specified position, size and VGUIDrawState_t.

◆ DrawScrollbar()

void vguiTheme::DrawScrollbar ( vector  atPos,
vector  withSize,
VGUIDrawState_t  drawStyle 
)
virtual

Draw a scrollbar at the specified position, size and VGUIDrawState_t.

◆ DrawScroller()

void vguiTheme::DrawScroller ( vector  atPos,
vector  withSize,
VGUIDrawState_t  drawStyle 
)
virtual

Draw a scroller at the specified position, size and VGUIDrawState_t.

◆ DrawText()

void vguiTheme::DrawText ( vector  atPos,
string  withText,
vector  boundSize,
font_s  textFont 
)
virtual

Draws generic text onto a widget.

◆ DrawTextBackground()

void vguiTheme::DrawTextBackground ( vector  atPos,
vector  withSize,
VGUIDrawState_t  drawStyle 
)
virtual

Draw a text field background at the specified position, size and VGUIDrawState_t.

◆ DrawWindow()

void vguiTheme::DrawWindow ( vector  atPos,
vector  withSize,
VGUIDrawState_t  drawStyle 
)
virtual

Draw a window body.

◆ DrawWindowBackground()

void vguiTheme::DrawWindowBackground ( vector  atPos,
vector  withSize,
VGUIDrawState_t  drawStyle 
)
virtual

Draw a window background at the specified position, size and VGUIDrawState_t.

◆ DrawWindowTitle()

void vguiTheme::DrawWindowTitle ( vector  atPos,
vector  withSize,
string  titleText,
string  withIcon,
font_s  textFont,
VGUIDrawState_t  drawStyle 
)
virtual

Draw a window background at the specified position, size and VGUIDrawState_t.


The documentation for this class was generated from the following file: