Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20113

12 bytes added, 17:23, 1 December 2011
CMenu and MNode: made selectedIndex const
int edit();
void set(const void* data);
int selectedIndex()const;
int selectedIndex(int index);
const char* selectedText();
Sets the selected index to the integer pointed by data;
<big><syntaxhighlight lang = "cpp">
int selectedIndex()const;
</syntaxhighlight></big>
returns the selected index or -1 if nothing is selected
1
edit