Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20113

44 bytes added, 21:17, 29 November 2011
Methods
sets the '''_flags''' attribute
<big><syntaxhighlight lang="cpp">
unsigned int selectedIndex()const;
</syntaxhighlight></big>
returns the index of the first CCheckMark that is selected, and -1 if nothing is selected.
<big><syntaxhighlight lang="cpp">
void selectedIndex(unsigned int index);
</syntaxhighlight></big>
sets the selectedindex. (only un-selects the rest if object is in radio mode)<br />if index is less than zero, then it will un-selects all
<big><syntaxhighlight lang="cpp">
unsigned int length();