CEGUI::SliderWindowRenderer Class Reference

Base class for ItemEntry window renderer objects. More...

Inheritance diagram for CEGUI::SliderWindowRenderer:

Inheritance graph
[legend]
Collaboration diagram for CEGUI::SliderWindowRenderer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SliderWindowRenderer (const String &name)
 Constructor.
virtual void updateThumb (void)=0
 update the size and location of the thumb to properly represent the current state of the slider
virtual float getValueFromThumb (void) const =0
 return value that best represents current slider value given the current location of the thumb.
virtual float getAdjustDirectionFromPoint (const Point &pt) const =0
 Given window location pt, return a value indicating what change should be made to the slider.


Detailed Description

Base class for ItemEntry window renderer objects.

Member Function Documentation

virtual float CEGUI::SliderWindowRenderer::getAdjustDirectionFromPoint ( const Point pt  )  const [pure virtual]

Given window location pt, return a value indicating what change should be made to the slider.

Parameters:
pt Point object describing a pixel position in window space.
Returns:
  • -1 to indicate slider should be moved to a lower setting.
  • 0 to indicate slider should not be moved.
  • +1 to indicate slider should be moved to a higher setting.

Implemented in CEGUI::FalagardSlider.

Referenced by CEGUI::Slider::getAdjustDirectionFromPoint().

virtual float CEGUI::SliderWindowRenderer::getValueFromThumb ( void   )  const [pure virtual]

return value that best represents current slider value given the current location of the thumb.

Returns:
float value that, given the thumb widget position, best represents the current value for the slider.

Implemented in CEGUI::FalagardSlider.

Referenced by CEGUI::Slider::getValueFromThumb().


Generated on Thu Nov 27 20:34:38 2008 for Crazy Eddies GUI System by  doxygen 1.5.7.1