vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vreckoUtils::MenuSlider Class Reference

#include <Menu.h>

Inheritance diagram for vreckoUtils::MenuSlider:
vreckoUtils::IMenuComponent

Public Member Functions

 MenuSlider (string name, string caption, double from, double to, double value, bool onlyInt, osg::Vec3 color=osg::Vec3(0.9f, 0.8f, 0.8f))
 
virtual std::string toXMLString ()
 
virtual std::string getName ()
 
virtual std::string getCaption ()
 
double getValue () const
 
void setValue (double val)
 
virtual void accept (MenuVisitor &visitor)
 
- Public Member Functions inherited from vreckoUtils::IMenuComponent
virtual ~IMenuComponent ()
 

Protected Attributes

std::string _sliderName
 
std::string _sliderCaption
 
osg::Vec3 _color
 
double _from
 
double _to
 
double _value
 
bool _onlyInt
 

Constructor & Destructor Documentation

vreckoUtils::MenuSlider::MenuSlider ( string  name,
string  caption,
double  from,
double  to,
double  value,
bool  onlyInt,
osg::Vec3  color = osg::Vec3(0.9f, 0.8f, 0.8f) 
)
inline

Member Function Documentation

void MenuSlider::accept ( MenuVisitor visitor)
virtual
virtual std::string vreckoUtils::MenuSlider::getCaption ( )
inlinevirtual
virtual std::string vreckoUtils::MenuSlider::getName ( void  )
inlinevirtual
double vreckoUtils::MenuSlider::getValue ( ) const
inline
void vreckoUtils::MenuSlider::setValue ( double  val)
inline
std::string MenuSlider::toXMLString ( )
virtual

Member Data Documentation

osg::Vec3 vreckoUtils::MenuSlider::_color
protected
double vreckoUtils::MenuSlider::_from
protected
bool vreckoUtils::MenuSlider::_onlyInt
protected
std::string vreckoUtils::MenuSlider::_sliderCaption
protected
std::string vreckoUtils::MenuSlider::_sliderName
protected
double vreckoUtils::MenuSlider::_to
protected
double vreckoUtils::MenuSlider::_value
protected

The documentation for this class was generated from the following files: