Open main menu

CDOT Wiki β

Changes

Console Framework Classes 20103 - OOP344

390 bytes added, 11:49, 15 November 2010
FWButton
==FWButton==
 
===Class Definition===
<big><syntaxhighlight lang="cpp">
class FWButton: public FWField{
int _length;
public:
FWButton(const char *Str, int Row, int Col,
bool Bordered = true,
const char* Border=FW_BORDER_CHARS);
virtual ~FWButton();
void draw(int Refresh = FW_NO_REFRESH) const;
int edit();
[[Project Button Text - OOP344 20103 | ButtonTest.cpp]]
 
===Methods===
 
<big><pre>
FWButton(const char *Str, int Row, int Col,
bool Bordered = true,
const char* Border=FW_BORDER_CHARS);
</pre></big>
 
<big><pre>
~FWButton();
</pre></big>
 
<big><pre>
void draw(int Refresh = FW_NO_REFRESH) const;
</pre></big>
 
<big><pre>
int edit();
</pre></big>
 
<big><pre>
bool editable()const;
</pre></big>
 
<big><pre>
void set(const void* str);
</pre></big>
==FWCHECK==