| Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#include <IGUIContextMenu.h>
Inheritance diagram for irr::gui::IGUIContextMenu:

Public Member Functions | |
| virtual u32 | addItem (const wchar_t *text, s32 commandId=-1, bool enabled=true, bool hasSubMenu=false, bool checked=false)=0 |
| Adds a menu item. | |
| virtual void | addSeparator ()=0 |
| Adds a separator item to the menu. | |
| virtual s32 | getItemCommandId (u32 idx) const =0 |
| Get the command id of a menu item. | |
| virtual u32 | getItemCount () const =0 |
| Get amount of menu items. | |
| virtual const wchar_t * | getItemText (u32 idx) const =0 |
| Get text of the menu item. | |
| virtual s32 | getSelectedItem () const =0 |
| Get the selected item in the menu. | |
| virtual IGUIContextMenu * | getSubMenu (u32 idx) const =0 |
| Get a pointer to the submenu of an item. | |
| IGUIContextMenu (IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle) | |
| constructor | |
| virtual bool | isItemChecked (u32 idx) const =0 |
| Check if a menu item is checked. | |
| virtual bool | isItemEnabled (u32 idx) const =0 |
| Check if a menu item is enabled. | |
| virtual void | removeAllItems ()=0 |
| Removes all menu items. | |
| virtual void | removeItem (u32 idx)=0 |
| Removes a menu item. | |
| virtual void | setItemChecked (u32 idx, bool enabled)=0 |
| Sets if the menu item should be checked. | |
| virtual void | setItemCommandId (u32 idx, s32 id)=0 |
| Sets the command id of a menu item. | |
| virtual void | setItemEnabled (u32 idx, bool enabled)=0 |
| Sets if the menu item should be enabled. | |
| virtual void | setItemText (u32 idx, const wchar_t *text)=0 |
| Sets text of the menu item. | |
| virtual | ~IGUIContextMenu () |
| destructor | |
Definition at line 16 of file IGUIContextMenu.h.
|
||||||||||||||||||||
|
constructor
Definition at line 21 of file IGUIContextMenu.h. |
|
|
destructor
Definition at line 25 of file IGUIContextMenu.h. |
|
||||||||||||||||||||||||
|
Adds a menu item.
|
|
|
Adds a separator item to the menu.
|
|
|
Get the command id of a menu item.
|
|
|
Get amount of menu items.
|
|
|
Get text of the menu item.
|
|
|
Get the selected item in the menu.
|
|
|
Get a pointer to the submenu of an item. 0 is returned if there is no submenu
|
|
|
Check if a menu item is checked.
|
|
|
Check if a menu item is enabled.
|
|
|
Removes all menu items.
|
|
|
Removes a menu item.
|
|
||||||||||||
|
Sets if the menu item should be checked.
|
|
||||||||||||
|
Sets the command id of a menu item.
|
|
||||||||||||
|
Sets if the menu item should be enabled.
|
|
||||||||||||
|
Sets text of the menu item.
|
| The Irrlicht
Engine Documentation © 2003-2008 by Nikolaus Gebhardt. Generated
on Sun Jun 1 07:59:15 2008 by Doxygen
(1.4.2) |