Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20113

19 bytes removed, 18:57, 19 November 2011
Methods
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 cuigh.h) otherwise return the entered key.<br />
<big><syntaxhighlight lang="cpp">
bool editable()const;
</syntaxhighlight></big>
Always returns true
<big><syntaxhighlight lang="cpp">
Then allocate new memory to the size of content of str and copy the content into it and make
Field's _data point to it.
 
<big><syntaxhighlight lang="cpp">
bool editable()const;
</syntaxhighlight></big>
==CValEdit==
1
edit