Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20113

40 bytes added, 23:04, 8 November 2011
CButton
#pragma once
#include "cfield.h"
namespace cio{ class CButton: public CField{ public: CButton(const char *Str, int Row, int Col, bool Bordered = true, const char* Border=C_BORDER_CHARS); virtual ~CButton(); void draw(int fn=C_FULL_FRAME); int edit(); bool editable()const; void set(const void* str); };
public:
CButton(const char *Str, int Row, int Col,
bool Bordered = true,
const char* Border=C_BORDER_CHARS);
virtual ~CButton();
void draw(int rn=C_FULL_FRAME);
int edit();
bool editable()const;
void set(const void* str);
};
}
</syntaxhighlight></big>
bool editable()const;
</syntaxhighlight></big>
 
==CValEdit==
<big><syntaxhighlight lang="cpp">