Menu node object, which represents a part of a menu (subitem, submenu, break line, etc.). More...
#include <UTMenu.h>
Public Member Functions | |
void * | operator new (size_t size) |
void | operator delete (void *block) |
int | MenuID () const |
Non-core library: UTgui
Menu node object, which represents a part of a menu (subitem, submenu, break line, etc.)
Definition at line 116 of file UTMenu.h.
void * MenuNode_t::operator new | ( | size_t | size | ) | [inline] |
All MenuNode_t subclasses are allocated from a pool allocator, not the heap directly, for efficiency.
void MenuNode_t::operator delete | ( | void * | block | ) | [inline] |
All MenuNode_t subclasses are allocated from a pool allocator, not the heap directly, for efficiency.
int MenuNode_t::MenuID | ( | ) | const [inline] |
Returns the node's ID. A menu ID of zero means "no ID", which is reasonable if the node will never be searched for by its ID.
Reimplemented in Menu_t, MenuItem_t, MenuBreak_t, and MenuMerge_t.