Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20113

1 byte added, 13:46, 29 November 2011
Attributes
<big><syntaxhighlight lang="cpp">
CMenuItem* _item;
</syntaxhighlight></big>
Holds the address of a dynamically allocated CMenuItem
<big><syntaxhighlight lang="cpp">
Holds the address of a dynamically allocated CMenuItem unsigned int _index;
</syntaxhighlight></big>
unsigned int _index;Holds the index (sequence -1) number of the '''CMenuItem''' in the '''CMenu'''.
<big><syntaxhighlight lang="cpp">
Holds the index (sequence -1) number of the '''CMenuItem''' in the '''CMenu'''.
</syntaxhighlight></big>
MNode* _next;
MNode* _prev;
</syntaxhighlight></big>
Standard next and previous pointer for a linked list node.
 
====Constructor/Destructor====
<big><syntaxhighlight lang="cpp">