Nuclide
Software Development Kit for id Technology
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: