Changes

Jump to: navigation, search

Console UI Core Classes - OOP344 20111

3 bytes removed, 01:29, 10 April 2011
edited typo confw.h should be cgh.h and FW_BUTTON_HIT should be C_BUTTON_HIT
</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 FW_BUTTON_HIT C_BUTTON_HIT (defined in confwcgh.h) otherwise return the entered key.<br />
<big><syntaxhighlight lang="cpp">
bool editable()const;
1
edit

Navigation menu