Changes

Jump to: navigation, search

Console UI Core Classes - OOP344 20112

2 bytes added, 09:18, 4 August 2011
Methods
</syntaxhighlight></big>
First draw() the Button, then surround it by squared brackets, place the cursor under the first character of Button's text and wait for user entry.<br />
When user hits a key, if the key is ENTER_KEY or SPACE, return C_BUTTON_HIT (defined in cghiolgh.h) otherwise return the entered key.<br />
<big><syntaxhighlight lang="cpp">
bool editable()const;
1
edit

Navigation menu