Changes

Jump to: navigation, search

Console Framework Classes 20103 - OOP344

636 bytes added, 20:21, 15 November 2010
FWCHECK
==FWCHECK==
FWCheck class is a '''flagged''' Label.
FWCheck prints a checkbox and a Label in front of it and waits for user entry to toggle the checkbox and exit.
===Class Definition===
<big><syntaxhighlight lang="cpp">
};
</syntaxhighlight></big>
===Attributes===
<big><pre>
int _flag;
int _radio;
char _format[4];
</pre></big>
===Methods===
<big><pre>
FWCheck(bool Checked,const char* Format, const char* Text, int Row, int Col, bool IsRadio = false);
</pre></big>
 
<big><pre>
void draw(int Refresh = FW_NO_REFRESH) const;
</pre></big>
 
<big><pre>
int edit();
</pre></big>
 
<big><pre>
bool editable()const;
</pre></big>
 
<big><pre>
void set(const void* flag);
</pre></big>
 
<big><pre>
void *data();
</pre></big>
 
===Button Tester===

Navigation menu