55 #ifndef GCN_CHECKBOX_HPP
56 #define GCN_CHECKBOX_HPP
88 CheckBox(
const std::string &caption,
bool marked=
false);
100 virtual void drawBox(
Graphics *graphics);
107 virtual bool isMarked()
const;
114 virtual void setMarked(
bool marked);
121 virtual const std::string &getCaption()
const;
128 virtual void setCaption(
const std::string &caption);
133 virtual void adjustSize();
138 virtual void draw(
Graphics* graphics);
140 virtual void drawBorder(
Graphics* graphics);
145 virtual bool keyPress(
const Key& key);
150 virtual void mouseClick(
int x,
int y,
int button,
int count);
157 virtual void toggle();
164 #endif // end GCN_CHECKBOX_HPP
Definition: keylistener.h:74
virtual ~CheckBox()
Definition: checkbox.h:93
Definition: graphics.h:97
bool mMarked
Definition: checkbox.h:159
std::string mCaption
Definition: checkbox.h:160
Definition: cliprectangle.cpp:61
Definition: checkbox.h:70
Definition: mouselistener.h:72