$treeview $search $mathjax
Stratagus
2.2.6
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <widgets.h>
Public Member Functions | |
void | setNormalImage (gcn::Image *image) |
void | setPressedImage (gcn::Image *image) |
void | setDisabledImage (gcn::Image *image) |
widgets.cpp - The stratagus ui widgets. | |
ImageButton () | |
ImageButton (const std::string &caption) | |
virtual void | draw (gcn::Graphics *graphics) |
virtual void | adjustSize () |
Public Attributes | |
gcn::Image * | normalImage |
gcn::Image * | pressedImage |
gcn::Image * | disabledImage |
ImageButton::ImageButton | ( | ) |
ImageButton constructor
ImageButton::ImageButton | ( | const std::string & | caption | ) |
void ImageButton::draw | ( | gcn::Graphics * | graphics | ) | [virtual] |
Draw the image button
graphics | Graphics object to draw with |
Reimplemented from gcn::Button.
void ImageButton::adjustSize | ( | ) | [virtual] |
Automatically adjust the size of an image button
Reimplemented from gcn::Button.
void ImageButton::setNormalImage | ( | gcn::Image * | image | ) | [inline] |
void ImageButton::setPressedImage | ( | gcn::Image * | image | ) | [inline] |
void ImageButton::setDisabledImage | ( | gcn::Image * | image | ) | [inline] |