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

#include <Menu.h>

Inheritance diagram for vreckoUtils::MenuItem:
vreckoUtils::IMenuComponent

Public Member Functions

 MenuItem (string name, string caption, osg::Vec3 color=osg::Vec3(0.9f, 0.8f, 0.8f))
 
 MenuItem (string name, string caption, osg::Vec4 color)
 
virtual std::string toXMLString ()
 
virtual std::string getName ()
 
virtual std::string getCaption ()
 
virtual void accept (MenuVisitor &visitor)
 
- Public Member Functions inherited from vreckoUtils::IMenuComponent
virtual ~IMenuComponent ()
 

Protected Attributes

std::string _itemName
 
std::string _itemCaption
 
osg::Vec3 _color
 

Constructor & Destructor Documentation

vreckoUtils::MenuItem::MenuItem ( string  name,
string  caption,
osg::Vec3  color = osg::Vec3(0.9f, 0.8f, 0.8f) 
)
inline
vreckoUtils::MenuItem::MenuItem ( string  name,
string  caption,
osg::Vec4  color 
)
inline

Member Function Documentation

void MenuItem::accept ( MenuVisitor visitor)
virtual
virtual std::string vreckoUtils::MenuItem::getCaption ( )
inlinevirtual
virtual std::string vreckoUtils::MenuItem::getName ( void  )
inlinevirtual
std::string MenuItem::toXMLString ( )
virtual

Member Data Documentation

osg::Vec3 vreckoUtils::MenuItem::_color
protected
std::string vreckoUtils::MenuItem::_itemCaption
protected
std::string vreckoUtils::MenuItem::_itemName
protected

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