Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20113

283 bytes added, 13:32, 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);
#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 the attributes to corresponding arguments
#sets CFeilds::_data to the address of _formated
#Sets the Label's frame to this object.
</syntaxhighlight></big>
<big><syntaxhighlight lang="cpp">
virtual ~CMenuItem(void);
</syntaxhighlight></big>
 
===Methods===
<big><syntaxhighlight lang="cpp">