logo
Main Page | Namespaces | Classes | Compounds | Files | Compound Members | Related

GUIToolkit::menuItem Class Reference

Items to be used on a context menu. More...

#include <menu.h>

Inheritance diagram for GUIToolkit::menuItem:

GUIToolkit::Component List of all members.

Public Methods

 menuItem (std::string s)
 Create item with caption 's'.

 ~menuItem ()
 Destructor.


Public Attributes

int ID
 Unique ID.

std::string Label
 Label.


Detailed Description

Items to be used on a context menu.

Definition at line 17 of file menu.h.


Member Data Documentation

int GUIToolkit::menuItem::ID
 

Unique ID.

Todo:
privatize

Reimplemented from GUIToolkit::Component.

Definition at line 27 of file menu.h.

Referenced by GUIToolkit::popupMenu::add(), and menuItem().

std::string GUIToolkit::menuItem::Label
 

Label.

Todo:
privatize

Definition at line 30 of file menu.h.

Referenced by GUIToolkit::popupMenu::add().


The documentation for this class was generated from the following file:
Syntopia Project. Visit the web page, or the SourceForge page.
Docs made by Doxygen. Email: Mikael Christensen