VGUI::Widget Class Reference

#include <widget.h>

Inheritance diagram for VGUI::Widget:

Inheritance graph
[legend]
Collaboration diagram for VGUI::Widget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Widget ()
 ~Widget ()
virtual void Save (void)
virtual void Draw (void)
virtual void Draw (float opacity)
virtual void IncValuePress (void)
virtual void DecValuePress (void)
virtual void IncValueRelease (void)
virtual void DecValueRelease (void)
virtual void HookIncValuePress (void)
virtual void HookDecValuePress (void)
virtual void HookIncValueRelease (void)
virtual void HookDecValueRelease (void)
virtual void HookRelease (void)
virtual void BackspacePress ()
virtual void DeletePress ()
virtual void BackspaceRelease ()
virtual void DeleteRelease ()
virtual string GetAction (void)
virtual string GetHook (void)
virtual int GetNumCols (void)
virtual void SetValue (bool val)
virtual void SetValue (string val)
virtual void SetValue (float val)
virtual void SetDefaultValue (bool val)
virtual void SetDefaultValue (string val)
virtual void SetDefaultValue (float val)
virtual void SetSetting (string new_setting)
virtual void SetSaved (bool new_saved)
virtual bool GetSaved ()
virtual void SetNumCols (int new_num_cols)
virtual void TogValue (void)
virtual bool MouseOver (float x, float y)
virtual void Press (void)
virtual void Release (void)
virtual string MousePress (float x, float y)
virtual string MouseRelease (float x, float y)
virtual void ResetValue ()
virtual void ClearCar ()
virtual void EnterText (SDLKey key)
virtual void GrabKey (SDLKey key)
virtual void GrabMouseMovement (string direction)
virtual void GrabMouseButton (int button_idx)
virtual void GrabJoyButton (Uint8 joy_idx, Uint8 joy_btn)
virtual void GrabJoyMove (Uint8 joy_idx, Uint8 joy_axis, bool joy_positive, float joy_value)
virtual void SelectIcon (unsigned int new_selected_icon)
virtual bool GetAdding ()
Location GetCenter ()
string GetName ()
string GetText ()
string GetType ()
string GetTip ()
float GetRelWidth ()
float GetRelHeight ()
bool GetEnabled ()
bool GetSelected ()
bool GetDefault ()
bool GetCancel ()
bool GetHasIcon ()
bool GetWidthAuto ()
bool GetHeightAuto ()
int GetFontSize ()
float GetColorR ()
float GetColorG ()
float GetColorB ()
void SetCenter (Location new_center)
void SetName (string new_name)
void SetText (string new_text)
void SetType (string new_type)
void SetTip (string new_tip)
void SetRelWidth (float new_rel_width)
void SetRelHeight (float new_rel_height)
void SetEnabled (bool new_enabled)
void SetSelected (bool new_selected)
void SetDefault (bool new_is_default)
void SetCancel (bool new_is_cancel)
void SetHasIcon (bool new_has_icon)
void SetWidthAuto (bool new_width_auto)
void SetHeightAuto (bool new_height_auto)
void SetFontSize (int new_font_size)
void SetColor (float r, float g, float b)

Protected Attributes

Location center
string name
string text
string type
string tip
float rel_width
float rel_height
bool enabled
bool selected
bool is_default
bool is_cancel
bool has_icon
bool width_auto
bool height_auto
int font_size
float color_r
float color_g
float color_b

Detailed Description

Definition at line 37 of file widget.h.


Constructor & Destructor Documentation

Widget::Widget  ) 
 

Definition at line 38 of file widget.cpp.

References color_b, color_g, color_r, enabled, font_size, has_icon, height_auto, is_cancel, is_default, name, rel_height, rel_width, selected, text, type, and width_auto.

Referenced by VGUI::SpinningCar::LoadCar().

VGUI::Widget::~Widget  )  [inline]
 

Definition at line 61 of file widget.h.


Member Function Documentation

virtual void VGUI::Widget::BackspacePress  )  [inline, virtual]
 

Reimplemented in VGUI::TextBox.

Definition at line 75 of file widget.h.

virtual void VGUI::Widget::BackspaceRelease  )  [inline, virtual]
 

Reimplemented in VGUI::TextBox.

Definition at line 77 of file widget.h.

virtual void VGUI::Widget::ClearCar  )  [inline, virtual]
 

Reimplemented in VGUI::SpinningCar.

Definition at line 99 of file widget.h.

virtual void VGUI::Widget::DecValuePress void   )  [inline, virtual]
 

Reimplemented in VGUI::ControlGrab, VGUI::Slider, VGUI::SpinningCar, VGUI::TextBox, VGUI::Wheel< wheel_t >, VGUI::Wheel2< wheel_t1, wheel_t2 >, and VGUI::Wheel< int >.

Definition at line 67 of file widget.h.

virtual void VGUI::Widget::DecValueRelease void   )  [inline, virtual]
 

Reimplemented in VGUI::ControlGrab, VGUI::Slider, VGUI::SpinningCar, VGUI::TextBox, VGUI::Wheel< wheel_t >, VGUI::Wheel2< wheel_t1, wheel_t2 >, and VGUI::Wheel< int >.

Definition at line 69 of file widget.h.

virtual void VGUI::Widget::DeletePress  )  [inline, virtual]
 

Reimplemented in VGUI::TextBox.

Definition at line 76 of file widget.h.

virtual void VGUI::Widget::DeleteRelease  )  [inline, virtual]
 

Reimplemented in VGUI::TextBox.

Definition at line 78 of file widget.h.

virtual void VGUI::Widget::Draw float  opacity  )  [inline, virtual]
 

Reimplemented in VGUI::Button, VGUI::Calibrate, VGUI::ControlGrab, VGUI::Image, VGUI::Label, VGUI::MultiImage, VGUI::Slider, VGUI::SpinningCar, VGUI::TextBox, VGUI::Toggle, VGUI::Wheel< wheel_t >, VGUI::Wheel2< wheel_t1, wheel_t2 >, and VGUI::Wheel< int >.

Definition at line 65 of file widget.h.

virtual void VGUI::Widget::Draw void   )  [inline, virtual]
 

Reimplemented in VGUI::Button, VGUI::Calibrate, VGUI::ControlGrab, VGUI::Image, VGUI::Label, VGUI::MultiImage, VGUI::Slider, VGUI::SpinningCar, VGUI::TextBox, VGUI::Toggle, VGUI::Wheel< wheel_t >, VGUI::Wheel2< wheel_t1, wheel_t2 >, and VGUI::Wheel< int >.

Definition at line 64 of file widget.h.

virtual void VGUI::Widget::EnterText SDLKey  key  )  [inline, virtual]
 

Reimplemented in VGUI::TextBox.

Definition at line 100 of file widget.h.

virtual string VGUI::Widget::GetAction void   )  [inline, virtual]
 

Reimplemented in VGUI::Button.

Definition at line 79 of file widget.h.

virtual bool VGUI::Widget::GetAdding  )  [inline, virtual]
 

Reimplemented in VGUI::ControlGrab.

Definition at line 107 of file widget.h.

bool VGUI::Widget::GetCancel  )  [inline]
 

Definition at line 119 of file widget.h.

References is_cancel.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

Location VGUI::Widget::GetCenter  )  [inline]
 

Definition at line 109 of file widget.h.

References center.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

float VGUI::Widget::GetColorB  )  [inline]
 

Definition at line 126 of file widget.h.

References color_b.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

float VGUI::Widget::GetColorG  )  [inline]
 

Definition at line 125 of file widget.h.

References color_g.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

float VGUI::Widget::GetColorR  )  [inline]
 

Definition at line 124 of file widget.h.

References color_r.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

bool VGUI::Widget::GetDefault  )  [inline]
 

Definition at line 118 of file widget.h.

References is_default.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

bool VGUI::Widget::GetEnabled  )  [inline]
 

Definition at line 116 of file widget.h.

References enabled.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

int VGUI::Widget::GetFontSize  )  [inline]
 

Definition at line 123 of file widget.h.

References font_size.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

bool VGUI::Widget::GetHasIcon  )  [inline]
 

Definition at line 120 of file widget.h.

References has_icon.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

bool VGUI::Widget::GetHeightAuto  )  [inline]
 

Definition at line 122 of file widget.h.

References height_auto.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

virtual string VGUI::Widget::GetHook void   )  [inline, virtual]
 

Reimplemented in VGUI::Wheel< wheel_t >, and VGUI::Wheel< int >.

Definition at line 80 of file widget.h.

string VGUI::Widget::GetName  )  [inline]
 

Definition at line 110 of file widget.h.

References name.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

virtual int VGUI::Widget::GetNumCols void   )  [inline, virtual]
 

Definition at line 81 of file widget.h.

float VGUI::Widget::GetRelHeight  )  [inline]
 

Definition at line 115 of file widget.h.

References rel_height.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

float VGUI::Widget::GetRelWidth  )  [inline]
 

Definition at line 114 of file widget.h.

References rel_width.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

virtual bool VGUI::Widget::GetSaved  )  [inline, virtual]
 

Reimplemented in VGUI::Wheel< wheel_t >, and VGUI::Wheel< int >.

Definition at line 90 of file widget.h.

bool VGUI::Widget::GetSelected  )  [inline]
 

Reimplemented in ListBox, and VGUI::SpinningCar.

Definition at line 117 of file widget.h.

References selected.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::SpinningCar::GetSelected(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

string VGUI::Widget::GetText  )  [inline]
 

Definition at line 111 of file widget.h.

References text.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

string VGUI::Widget::GetTip  )  [inline]
 

Definition at line 113 of file widget.h.

References tip.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

string VGUI::Widget::GetType  )  [inline]
 

Definition at line 112 of file widget.h.

References type.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::SpinningCar::SpinningCar(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

bool VGUI::Widget::GetWidthAuto  )  [inline]
 

Definition at line 121 of file widget.h.

References width_auto.

Referenced by VGUI::Button::Button(), VGUI::Calibrate::Calibrate(), VGUI::ControlGrab::ControlGrab(), VGUI::Image::Image(), VGUI::Label::Label(), VGUI::MultiImage::MultiImage(), VGUI::Slider::Slider(), VGUI::TextBox::TextBox(), VGUI::Toggle::Toggle(), VGUI::Wheel< wheel_t >::Wheel(), and VGUI::Wheel2< wheel_t1, wheel_t2 >::Wheel2().

virtual void VGUI::Widget::GrabJoyButton Uint8  joy_idx,
Uint8  joy_btn
[inline, virtual]
 

Reimplemented in VGUI::ControlGrab.

Definition at line 104 of file widget.h.

virtual void VGUI::Widget::GrabJoyMove Uint8  joy_idx,
Uint8  joy_axis,
bool  joy_positive,
float  joy_value
[inline, virtual]
 

Reimplemented in VGUI::Calibrate, and VGUI::ControlGrab.

Definition at line 105 of file widget.h.

virtual void VGUI::Widget::GrabKey SDLKey  key  )  [inline, virtual]
 

Reimplemented in VGUI::ControlGrab.

Definition at line 101 of file widget.h.

virtual void VGUI::Widget::GrabMouseButton int  button_idx  )  [inline, virtual]
 

Reimplemented in VGUI::ControlGrab.

Definition at line 103 of file widget.h.

virtual void VGUI::Widget::GrabMouseMovement string  direction  )  [inline, virtual]
 

Reimplemented in VGUI::ControlGrab.

Definition at line 102 of file widget.h.

virtual void VGUI::Widget::HookDecValuePress void   )  [inline, virtual]
 

Reimplemented in VGUI::Calibrate, VGUI::MultiImage, and VGUI::SpinningCar.

Definition at line 71 of file widget.h.

virtual void VGUI::Widget::HookDecValueRelease void   )  [inline, virtual]
 

Reimplemented in VGUI::Calibrate, VGUI::MultiImage, and VGUI::SpinningCar.

Definition at line 73 of file widget.h.

virtual void VGUI::Widget::HookIncValuePress void   )  [inline, virtual]
 

Reimplemented in VGUI::Calibrate, VGUI::MultiImage, and VGUI::SpinningCar.

Definition at line 70 of file widget.h.

virtual void VGUI::Widget::HookIncValueRelease void   )  [inline, virtual]
 

Reimplemented in VGUI::Calibrate, VGUI::MultiImage, and VGUI::SpinningCar.

Definition at line 72 of file widget.h.

virtual void VGUI::Widget::HookRelease void   )  [inline, virtual]
 

Reimplemented in VGUI::SpinningCar.

Definition at line 74 of file widget.h.

virtual void VGUI::Widget::IncValuePress void   )  [inline, virtual]
 

Reimplemented in VGUI::ControlGrab, VGUI::Slider, VGUI::SpinningCar, VGUI::TextBox, VGUI::Wheel< wheel_t >, VGUI::Wheel2< wheel_t1, wheel_t2 >, and VGUI::Wheel< int >.

Definition at line 66 of file widget.h.

virtual void VGUI::Widget::IncValueRelease void   )  [inline, virtual]
 

Reimplemented in VGUI::ControlGrab, VGUI::Slider, VGUI::SpinningCar, VGUI::TextBox, VGUI::Wheel< wheel_t >, VGUI::Wheel2< wheel_t1, wheel_t2 >, and VGUI::Wheel< int >.

Definition at line 68 of file widget.h.

virtual bool VGUI::Widget::MouseOver float  x,
float  y
[inline, virtual]
 

Reimplemented in VGUI::Button, VGUI::ControlGrab, VGUI::MultiImage, VGUI::Slider, VGUI::SpinningCar, VGUI::TextBox, VGUI::Toggle, VGUI::Wheel< wheel_t >, VGUI::Wheel2< wheel_t1, wheel_t2 >, and VGUI::Wheel< int >.

Definition at line 93 of file widget.h.

virtual string VGUI::Widget::MousePress float  x,
float  y
[inline, virtual]
 

Reimplemented in VGUI::Button, VGUI::ControlGrab, VGUI::MultiImage, VGUI::Slider, VGUI::SpinningCar, VGUI::TextBox, VGUI::Toggle, VGUI::Wheel< wheel_t >, VGUI::Wheel2< wheel_t1, wheel_t2 >, and VGUI::Wheel< int >.

Definition at line 96 of file widget.h.

virtual string VGUI::Widget::MouseRelease float  x,
float  y
[inline, virtual]
 

Reimplemented in VGUI::Button, VGUI::ControlGrab, VGUI::MultiImage, VGUI::Slider, VGUI::SpinningCar, VGUI::TextBox, VGUI::Toggle, VGUI::Wheel< wheel_t >, VGUI::Wheel2< wheel_t1, wheel_t2 >, and VGUI::Wheel< int >.

Definition at line 97 of file widget.h.

virtual void VGUI::Widget::Press void   )  [inline, virtual]
 

Reimplemented in VGUI::Button, VGUI::ControlGrab, and VGUI::Toggle.

Definition at line 94 of file widget.h.

virtual void VGUI::Widget::Release void   )  [inline, virtual]
 

Reimplemented in VGUI::Button, VGUI::ControlGrab, VGUI::MultiImage, VGUI::Slider, VGUI::SpinningCar, VGUI::TextBox, VGUI::Toggle, VGUI::Wheel< wheel_t >, VGUI::Wheel2< wheel_t1, wheel_t2 >, and VGUI::Wheel< int >.

Definition at line 95 of file widget.h.

virtual void VGUI::Widget::ResetValue  )  [inline, virtual]
 

Reimplemented in VGUI::Calibrate, VGUI::ControlGrab, VGUI::MultiImage, VGUI::Slider, VGUI::SpinningCar, VGUI::TextBox, VGUI::Toggle, VGUI::Wheel< wheel_t >, VGUI::Wheel2< wheel_t1, wheel_t2 >, and VGUI::Wheel< int >.

Definition at line 98 of file widget.h.

virtual void VGUI::Widget::Save void   )  [inline, virtual]
 

Reimplemented in VGUI::Calibrate, VGUI::ControlGrab, VGUI::Slider, VGUI::SpinningCar, VGUI::TextBox, VGUI::Toggle, VGUI::Wheel< wheel_t >, VGUI::Wheel2< wheel_t1, wheel_t2 >, and VGUI::Wheel< int >.

Definition at line 63 of file widget.h.

virtual void VGUI::Widget::SelectIcon unsigned int  new_selected_icon  )  [inline, virtual]
 

Reimplemented in VGUI::ControlGrab.

Definition at line 106 of file widget.h.

void VGUI::Widget::SetCancel bool  new_is_cancel  )  [inline]
 

Definition at line 138 of file widget.h.

References is_cancel.

Referenced by VGUI::SpinningCar::LoadCar().

void VGUI::Widget::SetCenter Location  new_center  )  [inline]
 

Definition at line 128 of file widget.h.

References center.

Referenced by VGUI::SpinningCar::LoadCar().

void VGUI::Widget::SetColor float  r,
float  g,
float  b
[inline]
 

Definition at line 143 of file widget.h.

References color_b, color_g, and color_r.

Referenced by VGUI::SpinningCar::LoadCar().

void VGUI::Widget::SetDefault bool  new_is_default  )  [inline]
 

Definition at line 137 of file widget.h.

References is_default.

Referenced by VGUI::SpinningCar::LoadCar().

virtual void VGUI::Widget::SetDefaultValue float  val  )  [inline, virtual]
 

Reimplemented in VGUI::Slider.

Definition at line 87 of file widget.h.