_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
Go to the documentation of this file.
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
Definition: graphics.h:97
Definition: mouselistener.h:72
std::string mCaption
Definition: checkbox.h:160
Definition: cliprectangle.cpp:61
Definition: checkbox.h:70
bool mMarked
Definition: checkbox.h:159
virtual ~CheckBox()
Definition: checkbox.h:93
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.