Changes

Jump to: navigation, search

Console UI Core Classes - OOP344 20111

522 bytes added, 11:29, 4 April 2011
CCheck
bool editable()const;
void set(const void* flag);
// note that void *data();is removed!!!
bool checked()const;
void checked(bool val);
};
</syntaxhighlight></big>
===Attributes===
<big><syntaxhighlight lang="cpp">
int _flag;
int _radio;
char _format[4];
CLabel _Label;
</syntaxhighlight></big>
*'''_flag''' holds the status of the Checkbox (0: unchecked or 1: checked ) and is pointed by _data pointer .
*'''_radio''' dictates the behavior of the Checkbox as a radio-button, or a check-mark.
*'''_format''' holds the characters, the Checkbox is drawn with (i.e. "[X]", "(O)", "<*>", etc...).
*'''_Label''' holds the Label attached to the this Checkbox
 
==CMenuItem==
<big><syntaxhighlight lang="cpp">

Navigation menu