$treeview $search $mathjax
Stratagus
2.2.7
$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 | setUncheckedNormalImage (gcn::Image *image) |
void | setUncheckedPressedImage (gcn::Image *image) |
void | setCheckedNormalImage (gcn::Image *image) |
void | setCheckedPressedImage (gcn::Image *image) |
widgets.cpp - The stratagus ui widgets. | |
ImageRadioButton () | |
ImageRadioButton (const std::string &caption, const std::string &group, bool marked) | |
virtual void | drawBox (gcn::Graphics *graphics) |
virtual void | draw (gcn::Graphics *graphics) |
virtual void | mousePress (int x, int y, int button) |
virtual void | mouseRelease (int x, int y, int button) |
virtual void | mouseClick (int x, int y, int button, int count) |
virtual void | adjustSize () |
Public Attributes | |
gcn::Image * | uncheckedNormalImage |
gcn::Image * | uncheckedPressedImage |
gcn::Image * | checkedNormalImage |
gcn::Image * | checkedPressedImage |
bool | mMouseDown |
ImageRadioButton::ImageRadioButton | ( | ) |
ImageRadioButton constructor
ImageRadioButton::ImageRadioButton | ( | const std::string & | caption, | |
const std::string & | group, | |||
bool | marked | |||
) |
ImageRadioButton constructor
void ImageRadioButton::drawBox | ( | gcn::Graphics * | graphics | ) | [virtual] |
Draw the image radio button (not the caption)
Reimplemented from gcn::RadioButton.
void ImageRadioButton::draw | ( | gcn::Graphics * | graphics | ) | [virtual] |
Draw the image radio button
Reimplemented from gcn::RadioButton.
void ImageRadioButton::mousePress | ( | int | x, | |
int | y, | |||
int | button | |||
) | [virtual] |
Mouse button pressed callback
Reimplemented from gcn::MouseListener.
void ImageRadioButton::mouseRelease | ( | int | x, | |
int | y, | |||
int | button | |||
) | [virtual] |
Mouse button released callback
Reimplemented from gcn::MouseListener.
void ImageRadioButton::mouseClick | ( | int | x, | |
int | y, | |||
int | button, | |||
int | count | |||
) | [virtual] |
Mouse clicked callback
Reimplemented from gcn::RadioButton.
void ImageRadioButton::adjustSize | ( | ) | [virtual] |
Adjusts the size to fit the image and font size
Reimplemented from gcn::RadioButton.
void ImageRadioButton::setUncheckedNormalImage | ( | gcn::Image * | image | ) | [inline] |
void ImageRadioButton::setUncheckedPressedImage | ( | gcn::Image * | image | ) | [inline] |
void ImageRadioButton::setCheckedNormalImage | ( | gcn::Image * | image | ) | [inline] |
void ImageRadioButton::setCheckedPressedImage | ( | gcn::Image * | image | ) | [inline] |