$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 <interface.h>
Public Member Functions | |
ButtonAction () | |
Public Attributes | |
int | Pos |
int | Level |
button position in the grid | |
ButtonCmd | Action |
requires button level | |
int | Value |
command on button press | |
std::string | ValueStr |
extra value for command | |
ButtonCheckFunc | Allowed |
keep original value string | |
std::string | AllowStr |
Check if this button is allowed. | |
std::string | UnitMask |
argument for allowed | |
IconConfig | Icon |
for which units is it available | |
int | Key |
icon to display | |
std::string | Hint |
alternative on keyboard | |
std::string | Description |
tip textz | |
SoundConfig | CommentSound |
description shown on status bar (optional) | |
std::string | ButtonCursor |
Sound comment used when you press the button. |
ButtonAction::ButtonAction | ( | ) | [inline] |
button position in the grid
requires button level
command on button press
std::string ButtonAction::ValueStr |
extra value for command
keep original value string
std::string ButtonAction::AllowStr |
Check if this button is allowed.
std::string ButtonAction::UnitMask |
argument for allowed
for which units is it available
icon to display
std::string ButtonAction::Hint |
alternative on keyboard
std::string ButtonAction::Description |
tip textz
description shown on status bar (optional)
std::string ButtonAction::ButtonCursor |
Sound comment used when you press the button.