VGUI::Location Class Reference

#include <widget.h>

List of all members.

Public Member Functions

 Location ()
 ~Location ()
 Location (float _xpct, float _ypct)
float GetXPercent ()
float GetYPercent ()
void SetXPercent (float new_xpct)
void SetYPercent (float new_ypct)

Private Attributes

float xpct
float ypct


Detailed Description

Definition at line 19 of file widget.h.


Constructor & Destructor Documentation

Location::Location  ) 
 

Definition at line 27 of file widget.cpp.

References xpct, and ypct.

Location::~Location  ) 
 

Definition at line 33 of file widget.cpp.

VGUI::Location::Location float  _xpct,
float  _ypct
[inline]
 

Definition at line 27 of file widget.h.

References xpct, and ypct.


Member Function Documentation

float VGUI::Location::GetXPercent  )  [inline]
 

Definition at line 29 of file widget.h.

References xpct.

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

float VGUI::Location::GetYPercent  )  [inline]
 

Definition at line 30 of file widget.h.

References ypct.

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

void VGUI::Location::SetXPercent float  new_xpct  )  [inline]
 

Definition at line 32 of file widget.h.

References xpct.

void VGUI::Location::SetYPercent float  new_ypct  )  [inline]
 

Definition at line 33 of file widget.h.

References ypct.


Member Data Documentation

float VGUI::Location::xpct [private]
 

Definition at line 22 of file widget.h.

Referenced by GetXPercent(), Location(), and SetXPercent().

float VGUI::Location::ypct [private]
 

Definition at line 22 of file widget.h.

Referenced by GetYPercent(), Location(), and SetYPercent().


The documentation for this class was generated from the following files:
Generated on Thu Oct 19 04:14:34 2006 by  doxygen 1.4.6