Changes

Jump to: navigation, search

Console Framework Classes 20103 - OOP344

998 bytes added, 12:02, 18 November 2010
Attributes
bool _readOnly;
</pre></big>
Keeps the status of the text being read only, or editable. (note that when read only, you can still scroll the text to left and right or up and down, but you can't modify the text).<br />
This flag is passed to iol_edit for the same reason.
<big><pre>
int _curpos;
int _offset;
</pre></big>
Variables to be used with iol_edit to edit the lines of text.
<big><pre>
int _lcurpos;
</pre></big>
Line Cursor Position; this variable keeps track of which line of text the cursor is on. _lcurpos is zero if the cursor is on the fist line appearing in the Border.
<big><pre>
int _loffset;
</pre></big>
Offset Of the First Line; this variable keeps track of which line is the first appearing in the border. _loffset is zero if the line of the text is appearing on the fist line of the Border.<br /><br />
'''_lcurpos''' and '''_loffset''' have the same responsibility as _curpos, and _offset, but only for lines of the text. So as the left and right scrolling is done by manipulating _offset and _curpos, up and down scrolling of lines in the text are done by manipulating '''_loffset''' and '''_lcurpose'''
 
===Methods===
<big><pre>

Navigation menu