Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20113

No change in size, 12:33, 8 November 2011
m
Constructors / Destructor
<big><syntaxhighlight lang="cpp">
CMenuItem(bool Selected,const char* Format, const char* Text, int Row, int Col, int Width);
</syntaxhighlight></big>
#Initializes the CField with Row, Col, Width and 1 for Height
#Initializes the Label with (Text, 0, 2 and Width-2) for (Str, Row, Col, and Len)
#sets CFeilds::_data to the address of _formated
#Sets the Label's frame to this object.
</syntaxhighlight></big>
<big><syntaxhighlight lang="cpp">
CMenuItem(const CMenuItem &CM);