omegalib  13.1
omegaToolkit::ui::Menu Class Reference

#include <Menu.h>

Public Member Functions

virtual ~Menu ()
 
MenuManagergetManager ()
 
MenuItemaddItem (MenuItem::Type type)
 
MenuItemaddButton (const String &label, const String &command)
 Utility method to create a button. More...
 
MenuItemaddLabel (const String &text)
 Utility method to create a label. More...
 
MenuItemaddSlider (int ticks, const String &command)
 Utility method to create a slider. More...
 
MenuItemaddImage (PixelData *image)
 Utility method to create an image. More...
 
MenuItemaddContainer ()
 Utility method to create a container. More...
 
MenuaddSubMenu (const String &label)
 Utility method to create a sub-menu. More...
 
void focus ()
 
void show ()
 
void hide ()
 
void toggle ()
 
bool isVisible ()
 
void setActiveSubMenu (Menu *submenu)
 
MenugetTopActiveSubMenu ()
 
MenugetParent ()
 
void update (const UpdateContext &context)
 
void placeOnWand (const Event &evt)
 
omegaToolkit::ui::ContainergetContainer ()
 
omegaToolkit::ui::Container3dSettingsget3dSettings ()
 
- Public Member Functions inherited from omicron::ReferenceType
 ReferenceType ()
 
virtual ~ReferenceType ()
 
void ref ()
 
void unref ()
 
long refCount ()
 

Friends

class MenuItem
 
class MenuManager
 

Additional Inherited Members

- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 
- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 
+ Inheritance diagram for omegaToolkit::ui::Menu:

Constructor & Destructor Documentation

virtual omegaToolkit::ui::Menu::~Menu ( )
virtual

Member Function Documentation

MenuItem* omegaToolkit::ui::Menu::addButton ( const String label,
const String command 
)

Utility method to create a button.

MenuItem* omegaToolkit::ui::Menu::addContainer ( )

Utility method to create a container.

MenuItem* omegaToolkit::ui::Menu::addImage ( PixelData image)

Utility method to create an image.

MenuItem* omegaToolkit::ui::Menu::addItem ( MenuItem::Type  type)
MenuItem* omegaToolkit::ui::Menu::addLabel ( const String text)

Utility method to create a label.

MenuItem* omegaToolkit::ui::Menu::addSlider ( int  ticks,
const String command 
)

Utility method to create a slider.

Menu* omegaToolkit::ui::Menu::addSubMenu ( const String label)

Utility method to create a sub-menu.

void omegaToolkit::ui::Menu::focus ( )
omegaToolkit::ui::Container3dSettings& omegaToolkit::ui::Menu::get3dSettings ( )
inline
omegaToolkit::ui::Container* omegaToolkit::ui::Menu::getContainer ( )
inline
MenuManager* omegaToolkit::ui::Menu::getManager ( )
inline
Menu* omegaToolkit::ui::Menu::getParent ( )
inline
Menu* omegaToolkit::ui::Menu::getTopActiveSubMenu ( )
void omegaToolkit::ui::Menu::hide ( )
bool omegaToolkit::ui::Menu::isVisible ( )
void omegaToolkit::ui::Menu::placeOnWand ( const Event evt)
void omegaToolkit::ui::Menu::setActiveSubMenu ( Menu submenu)
void omegaToolkit::ui::Menu::show ( )
void omegaToolkit::ui::Menu::toggle ( )
void omegaToolkit::ui::Menu::update ( const UpdateContext context)

Friends And Related Function Documentation

friend class MenuItem
friend
friend class MenuManager
friend

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