Changes

Jump to: navigation, search

Console UI Core Classes - OOP344 20111

690 bytes added, 12:38, 4 April 2011
CCheck
*'''_format''' holds the characters, the Checkbox is drawn with (i.e. "[X]", "(O)", "<*>", etc...).
*'''_Label''' holds the Label attached to the this Checkbox
===Constructor / Destructor===
<big><syntaxhighlight lang="cpp">
CCheck(bool Checked,const char* Format, const char* Text, int Row, int Col, int Width, bool IsRadio = false);
CCheck(const CCheck& C);
</syntaxhighlight></big>
===Methods===
<big><syntaxhighlight lang="cpp">
void draw(int fn = C_NO_FRAME) ;
</syntaxhighlight></big>
<big><syntaxhighlight lang="cpp">
int edit();
</syntaxhighlight></big>
<big><syntaxhighlight lang="cpp">
bool editable()const;
</syntaxhighlight></big>
<big><syntaxhighlight lang="cpp">
void set(const void* flag);
</syntaxhighlight></big>
<big><syntaxhighlight lang="cpp">
bool checked()const;
void checked(bool val);
</syntaxhighlight></big>
==CMenuItem==

Navigation menu