Open main menu

CDOT Wiki β

Changes

Console Framework Classes 20103 - OOP344

1,031 bytes added, 12:45, 8 November 2010
FWButton
</syntaxhighlight></big>
 
===FWCHECK===
 
<big><syntaxhighlight lang="cpp">
class FWCheck : public FWLabel {
int _flag;
int _radio;
char _format[4];
public:
FWCheck(bool Checked,const char* Format, const char* Text, int Row, int Col, bool IsRadio = false);
void draw(int Refresh = FW_NO_REFRESH) const;
int edit();
bool editable()const;
void set(const void* flag);
void *data();
};
</syntaxhighlight></big>
 
===FWValEdit===
 
<big><syntaxhighlight lang="cpp">
</syntaxhighlight></big>class FWValEdit: public FWLineEdit{<big><syntaxhighlight lang void (*_help)(MessageStatus, FWDialog&); bool (*_validate)(const char*, FWDialog&);public: FWValEdit(char* Str, int Row, int Col, int Width, int Maxdatalen, int* Insertmode, bool (*Validate)(const char* , FWDialog&) = NO_VALDFUNC, void (*Help)(MessageStatus, FWDialog&) = NO_HELPFUNC, bool Bordered = false, const char* Border="cpp">FW_BORDER_CHARS); FWValEdit(int Row, int Col, int Width, int Maxdatalen, int* Insertmode, bool (*Validate)(const char* , FWDialog&) = NO_VALDFUNC, void (*Help)(MessageStatus, FWDialog&) = NO_HELPFUNC, bool Bordered = false, const char* Border=FW_BORDER_CHARS); int edit();};
</syntaxhighlight></big>