Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20113

198 bytes added, 20:51, 29 November 2011
CCheckMark
bool checked()const;
void checked(bool val);
bool radio(); // addition for R0.56 void radio(bool isRadio); // addition for R0.56 operator bool(); // addtion for R0.46 operator char*();// addition for R0.6
bool operator=(bool flag);
};
</syntaxhighlight></big>
* Overload the '''bool''' cast to return the value of '''_flag'''
<big><syntaxhighlight lang="cpp">
operator char*(); // addtion for R0.6
</syntaxhighlight></big>
* Overload the '''char*''' cast to return the value of '''_Label.data()'''
==CMenuItem==