Changes

Jump to: navigation, search

Console Framework Classes 20103 - OOP344

553 bytes added, 12:52, 18 November 2010
Methods
void *data();
</pre></big>
Converts the array of strings, back to a single string of text and returns it.<br />
'''data()''' first calculates the size of the whole text including the newline characters at the end of each line. Then it will allocated enough memory to hold it all.<br /> Finally, it will concatenate all the strings back into the allocated memory adding a newline character to the end of each of them and returns it.
<big><pre>
int edit();
bool editable()const;
</pre></big>
Always return true.
<big><pre>
bool readOnly()const;
void readOnly(bool val);
</pre></big>
These to methods Get and Set the _readOnly attribute.
<big><pre>
~FWText();
</pre></big>
It deallocates the allocated memory. (If any memory allocation is used).

Navigation menu