Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20112

No change in size, 07:36, 4 August 2011
CLineEdit
Returns the reference of the Field that was just being edited.
==CLineEdit==
'''ClineEdit''' encapsulates the bio_edit iol_edit function of bio iol library.
<big><syntaxhighlight lang="cpp">
#pragma once
</syntaxhighlight></big>
It will first call Frame's draw passing '''Refresh'''as an argument to it.<br />
Then it will make a direct call to bio_display iol_display to show the data kept in Field's '''_data'''.<br />The values used for the arguments of bio_display iol_display are:
*str: address of string pointed by _data + the value of _offset
*row: absRow() (''add one if border is visible'')
int edit();
</syntaxhighlight></big>
Makes a direct call to, and returns '''bio_editiol_edit()'''.
For the coordinates and width arguments follow the same rules as the draw function.
For the rest of the arguments of bio_editiol_edit, use the attributes of '''CLineEdit'''.
<big><syntaxhighlight lang="cpp">
bool editable()const;
1
edit