Changes

Jump to: navigation, search

Console Framework Classes 20103 - OOP344

970 bytes added, 09:09, 18 November 2010
FWText
<big><pre>
class FWText:public FWField{
StrArr* AnArrayOfStrings _lines; // see below
bool _readOnly;
int _curpos;
int _lcurpos;
int _loffset;
bool _dynamic;
public:
FWText(int Row, int Col, int Width, int Height, bool Readonly,
};
</pre></big>
 
 
===Attributes===
<big><pre>
AnArrayOfStrings _lines;
</pre></big>
<big><pre>
bool _readOnly;
</pre></big>
<big><pre>
int _curpos;
int _fieldlen;
int _maxdatalen;
int* _insertmode;
int _offset;
</pre></big>
<big><pre>
int _lcurpos;
int _loffset;
</pre></big>
===Methods===
<big><pre>
FWText(int Row, int Col, int Width, int Height, bool Readonly,
int* Insertmode, const char* Border=FW_BORDER_CHARS);
</pre></big>
<big><pre>
FWText(const char* Str, int Row, int Col, int Width, int Height, bool Readonly,
int* Insertmode, const char* Border=FW_BORDER_CHARS);
</pre></big>
<big><pre>
void draw(int Refresh = FW_NO_REFRESH)const;
</pre></big>
<big><pre>
void set(const void *Str);
</pre></big>
<big><pre>
void *data();
</pre></big>
<big><pre>
int edit();
</pre></big>
<big><pre>
bool editable()const;
</pre></big>
<big><pre>
bool readOnly()const;
void readOnly(bool val);
</pre></big>
<big><pre>
~FWText();
</pre></big>

Navigation menu