21
edits
Changes
→FWValEdit
===Validated Line editor Tester===
[[Validated LineEdit Tester - OOP344 20103 | FWValEditTester.cpp]]
==FWText==
<big><pre>
class FWText:public FWField{
StrArr* _lines;
bool _readOnly;
int _curpos;
int _fieldlen;
int _maxdatalen;
int* _insertmode;
int _offset;
int _lcurpos;
int _loffset;
bool _dynamic;
public:
FWText(int Row, int Col, int Width, int Height, bool Readonly,
int* Insertmode, const char* Border=FW_BORDER_CHARS);
FWText(const char* Str, int Row, int Col, int Width, int Height, bool Readonly,
int* Insertmode, const char* Border=FW_BORDER_CHARS);
void draw(int Refresh = FW_NO_REFRESH)const;
void set(const void *Str);
void *data();
int edit();
bool editable()const;
bool readOnly()const;
void readOnly(bool val);
~FWText();
};
</pre></big>