$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 <ui.h>
Public Member Functions | |
CButtonPanel () | |
botpanel.cpp - The bottom panel. | |
void | Draw () |
void | Update () |
void | DoClicked (int button) |
int | DoKey (int key) |
Public Attributes | |
CGraphic * | G |
int | X |
int | Y |
std::vector< CUIButton > | Buttons |
SDL_Color | AutoCastBorderColorRGB |
bool | ShowCommandKey |
CButtonPanel::CButtonPanel | ( | ) | [inline] |
void CButtonPanel::Draw | ( | ) |
Draw button panel.
Draw all action buttons.
void CButtonPanel::Update | ( | ) |
Update button panel.
void CButtonPanel::DoClicked | ( | int | button | ) |
Handle bottom button clicked.
button | Button that was clicked. |
int CButtonPanel::DoKey | ( | int | key | ) |
Lookup key for bottom panel buttons.
key | Internal key symbol for pressed key. |
int CButtonPanel::X |
int CButtonPanel::Y |
std::vector<CUIButton> CButtonPanel::Buttons |
SDL_Color CButtonPanel::AutoCastBorderColorRGB |