Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20113

226 bytes added, 13:25, 23 November 2011
Constructors/Destructor
bool displayOnly = false, const char* Border=C_BORDER_CHARS);
</syntaxhighlight></big>
Initialized the CField with the corresponding incoming arguments and then sets all the attributes to their corresponding arguments.
<big><syntaxhighlight lang="cpp">
CText(const char* Str, int Row, int Col, int Width, int Height,
const char* Border=C_BORDER_CHARS);
</syntaxhighlight></big>
Works exactly like the previous constructor but it also '''set()'''s the class to '''Str'''.
 
===Methods===
<big><syntaxhighlight lang="cpp">