#include <wheel.h>
Inheritance diagram for VGUI::Wheel< wheel_t >:


Public Member Functions | |
| Wheel () | |
| Wheel (Widget *w) | |
| ~Wheel () | |
| void | Draw () |
| void | Draw (float opacity) |
| void | Save () |
| bool | MouseOver (float x, float y) |
| string | MousePress (float x, float y) |
| string | MouseRelease (float x, float y) |
| void | ResetValue () |
| vector< string > | GetOptionList () |
| vector< wheel_t > | GetValueList () |
| wheel_t | GetValue () |
| wheel_t | GetDefaultValue () |
| string | GetSetting () |
| float | GetSpacing () |
| string | GetHook () |
| bool | GetSaved () |
| void | SetOptionList (vector< string > new_option_list) |
| void | SetValueList (vector< wheel_t > new_value_list) |
| void | SetValue (wheel_t new_value) |
| void | SetDefaultValue (wheel_t new_value) |
| void | SetSetting (string new_setting) |
| void | SetSpacing (float new_spacing) |
| void | SetHook (string new_hook) |
| void | SetSaved (bool new_saved) |
| void | IncValuePress () |
| void | DecValuePress () |
| void | IncValueRelease () |
| void | DecValueRelease () |
| void | Release () |
Private Attributes | |
| TEXTURE_HANDLE | l_arrow_up |
| TEXTURE_HANDLE | r_arrow_up |
| TEXTURE_HANDLE | l_arrow_down |
| TEXTURE_HANDLE | r_arrow_down |
| string | setting |
| string | wgt_hook |
| vector< string > | option_list |
| vector< wheel_t > | value_list |
| unsigned int | cur_option |
| unsigned int | default_option |
| bool | l_down |
| bool | r_down |
| bool | saved |
| float | tex_width |
| float | tex_height |
| float | spacing |
Definition at line 11 of file wheel.h.
|
|||||||||
|
|
|
||||||||||
|
|||||||||
|
|
|
|||||||||
|
Reimplemented from VGUI::Widget. Definition at line 262 of file wheel.h. References VGUI::Wheel< wheel_t >::l_down, and VGUI::Wheel< wheel_t >::Release(). Referenced by VGUI::SpinningCar::DecValuePress(). |
|
|||||||||
|
Reimplemented from VGUI::Widget. Definition at line 269 of file wheel.h. References VGUI::Wheel< wheel_t >::cur_option, and VGUI::Wheel< wheel_t >::Release(). Referenced by VGUI::SpinningCar::DecValueRelease(), and VGUI::Wheel< wheel_t >::MouseRelease(). |
|
||||||||||
|
|||||||||
|
Reimplemented from VGUI::Widget. Definition at line 197 of file wheel.h. Referenced by VGUI::SpinningCar::Draw(). |
|
|||||||||
|
|
|
||||||||||
|
Reimplemented from VGUI::Widget. |
|
|||||||||
|
|
|
|||||||||
|
Reimplemented from VGUI::Widget. |
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
Definition at line 37 of file wheel.h. Referenced by VGUI::SpinningCar::DecValueRelease(), VGUI::SpinningCar::IncValueRelease(), VGUI::SpinningCar::MouseRelease(), and VGUI::SpinningCar::ResetValue(). |
|
|||||||||
|
|
|
|||||||||
|
Reimplemented from VGUI::Widget. Definition at line 245 of file wheel.h. References VGUI::Wheel< wheel_t >::r_down, and VGUI::Wheel< wheel_t >::Release(). Referenced by VGUI::SpinningCar::IncValuePress(). |
|
|||||||||
|
Reimplemented from VGUI::Widget. Definition at line 252 of file wheel.h. References VGUI::Wheel< wheel_t >::cur_option, VGUI::Wheel< wheel_t >::option_list, and VGUI::Wheel< wheel_t >::Release(). Referenced by VGUI::SpinningCar::IncValueRelease(), and VGUI::Wheel< wheel_t >::MouseRelease(). |
|
||||||||||||||||
|
Reimplemented from VGUI::Widget. Definition at line 285 of file wheel.h. References VGUI::Widget::center, VGUI::Location::GetXPercent(), VGUI::Location::GetYPercent(), VGUI::Widget::rel_height, and VGUI::Widget::rel_width. Referenced by VGUI::SpinningCar::MouseOver(). |
|
||||||||||||||||
|
Reimplemented from VGUI::Widget. Definition at line 297 of file wheel.h. References VGUI::Widget::center, VGUI::Location::GetXPercent(), VGUI::Location::GetYPercent(), VGUI::Wheel< wheel_t >::l_down, VGUI::Wheel< wheel_t >::r_down, VGUI::Widget::rel_height, VGUI::Widget::rel_width, VGUI::Wheel< wheel_t >::spacing, VGUI::Wheel< wheel_t >::tex_width, and VGUI::Wheel< wheel_t >::wgt_hook. Referenced by VGUI::SpinningCar::MousePress(). |
|
||||||||||||||||
|
|||||||||
|
Reimplemented from VGUI::Widget. Definition at line 279 of file wheel.h. References VGUI::Wheel< wheel_t >::l_down, and VGUI::Wheel< wheel_t >::r_down. Referenced by VGUI::Wheel< wheel_t >::DecValuePress(), VGUI::Wheel< wheel_t >::DecValueRelease(), VGUI::Wheel< wheel_t >::IncValuePress(), VGUI::Wheel< wheel_t >::IncValueRelease(), VGUI::Wheel< wheel_t >::MouseRelease(), and VGUI::SpinningCar::Release(). |
|
|||||||||
|
Reimplemented from VGUI::Widget. Definition at line 182 of file wheel.h. References VGUI::Wheel< wheel_t >::cur_option, VGUI::Wheel< wheel_t >::default_option, SETTINGS::Get(), VGUI::Wheel< wheel_t >::saved, VGUI::Wheel< wheel_t >::setting, settings, and VGUI::Wheel< wheel_t >::SetValue(). Referenced by VGUI::SpinningCar::ResetValue(). |
|
|||||||||
|
Reimplemented from VGUI::Widget. Definition at line 174 of file wheel.h. References VGUI::Wheel< wheel_t >::cur_option, VGUI::Wheel< wheel_t >::default_option, VGUI::Wheel< wheel_t >::saved, SETTINGS::Set(), VGUI::Wheel< wheel_t >::setting, settings, and VGUI::Wheel< wheel_t >::value_list. Referenced by VGUI::SpinningCar::Save(). |
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Reimplemented from VGUI::Widget. |
|
||||||||||
|
Reimplemented from VGUI::Widget. |
|
||||||||||
|
Definition at line 167 of file wheel.h. References VGUI::Widget::rel_width, VGUI::Wheel< wheel_t >::spacing, and VGUI::Wheel< wheel_t >::tex_width. |
|
||||||||||
|
Definition at line 45 of file wheel.h. Referenced by VGUI::SpinningCar::ResetValue(), and VGUI::Wheel< wheel_t >::ResetValue(). |
|
||||||||||
|
|
|
|||||
|
|||||
|
Definition at line 19 of file wheel.h. Referenced by VGUI::Wheel< int >::GetDefaultValue(), VGUI::Wheel< wheel_t >::ResetValue(), VGUI::Wheel< wheel_t >::Save(), VGUI::Wheel< int >::SetDefaultValue(), and VGUI::Wheel< wheel_t >::Wheel(). |
|
|||||
|
Definition at line 14 of file wheel.h. Referenced by VGUI::Wheel< wheel_t >::Draw(), and VGUI::Wheel< wheel_t >::Wheel(). |
|
|||||
|
Definition at line 14 of file wheel.h. Referenced by VGUI::Wheel< wheel_t >::Draw(), and VGUI::Wheel< wheel_t >::Wheel(). |
|
|||||
|
Definition at line 20 of file wheel.h. Referenced by VGUI::Wheel< wheel_t >::DecValuePress(), VGUI::Wheel< wheel_t >::Draw(), VGUI::Wheel< wheel_t >::MousePress(), VGUI::Wheel< wheel_t >::MouseRelease(), VGUI::Wheel< wheel_t >::Release(), and VGUI::Wheel< wheel_t >::Wheel(). |
|
|||||
|
Definition at line 17 of file wheel.h. Referenced by VGUI::Wheel< wheel_t >::Draw(), VGUI::Wheel< int >::GetOptionList(), VGUI::Wheel< wheel_t >::IncValueRelease(), and VGUI::Wheel< int >::SetOptionList(). |
|
|||||
|
Definition at line 14 of file wheel.h. Referenced by VGUI::Wheel< wheel_t >::Draw(), and VGUI::Wheel< wheel_t >::Wheel(). |
|
|||||
|
Definition at line 14 of file wheel.h. Referenced by VGUI::Wheel< wheel_t >::Draw(), and VGUI::Wheel< wheel_t >::Wheel(). |
|
|||||
|
Definition at line 20 of file wheel.h. Referenced by VGUI::Wheel< wheel_t >::Draw(), VGUI::Wheel< wheel_t >::IncValuePress(), VGUI::Wheel< wheel_t >::MousePress(), VGUI::Wheel< wheel_t >::MouseRelease(), VGUI::Wheel< wheel_t >::Release(), and VGUI::Wheel< wheel_t >::Wheel(). |
|
|||||
|
Definition at line 20 of file wheel.h. Referenced by VGUI::Wheel< int >::GetSaved(), VGUI::Wheel< wheel_t >::ResetValue(), VGUI::Wheel< wheel_t >::Save(), VGUI::Wheel< int >::SetSaved(), and VGUI::Wheel< wheel_t >::Wheel(). |
|
|||||
|
Definition at line 15 of file wheel.h. Referenced by VGUI::Wheel< int >::GetSetting(), VGUI::Wheel< wheel_t >::ResetValue(), VGUI::Wheel< wheel_t >::Save(), VGUI::Wheel< int >::SetSetting(), and VGUI::Wheel< wheel_t >::Wheel(). |
|
|||||
|
Definition at line 21 of file wheel.h. Referenced by VGUI::Wheel< wheel_t >::Draw(), VGUI::Wheel< int >::GetSpacing(), VGUI::Wheel< wheel_t >::MousePress(), VGUI::Wheel< wheel_t >::MouseRelease(), VGUI::Wheel< wheel_t >::SetSpacing(), and VGUI::Wheel< wheel_t >::Wheel(). |
|
|||||
|
Definition at line 21 of file wheel.h. Referenced by VGUI::Wheel< wheel_t >::Wheel(). |
|
|||||
|
Definition at line 21 of file wheel.h. Referenced by VGUI::Wheel< wheel_t >::Draw(), VGUI::Wheel< wheel_t >::MousePress(), VGUI::Wheel< wheel_t >::MouseRelease(), VGUI::Wheel< wheel_t >::SetSpacing(), and VGUI::Wheel< wheel_t >::Wheel(). |
|
|||||
|
Definition at line 18 of file wheel.h. Referenced by VGUI::Wheel< int >::GetDefaultValue(), VGUI::Wheel< int >::GetValue(), VGUI::Wheel< int >::GetValueList(), VGUI::Wheel< wheel_t >::Save(), VGUI::Wheel< int >::SetDefaultValue(), VGUI::Wheel< int >::SetValue(), and VGUI::Wheel< int >::SetValueList(). |
|
|||||
|
Definition at line 16 of file wheel.h. Referenced by VGUI::Wheel< int >::GetHook(), VGUI::Wheel< wheel_t >::MousePress(), VGUI::Wheel< wheel_t >::MouseRelease(), VGUI::Wheel< int >::SetHook(), and VGUI::Wheel< wheel_t >::Wheel(). |
1.4.6