_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <statusline.h>
◆ CStatusLine()
CStatusLine::CStatusLine |
( |
| ) |
|
|
inline |
◆ Clear()
void CStatusLine::Clear |
( |
| ) |
|
◆ ClearCosts()
void CStatusLine::ClearCosts |
( |
| ) |
|
Clear costs in status line.
◆ Draw()
void CStatusLine::Draw |
( |
| ) |
|
◆ DrawCosts()
void CStatusLine::DrawCosts |
( |
| ) |
|
Draw costs in status line.
- Todo:
FIXME : make DrawCosts more configurable.
FIXME : 'time' resource should be shown too.
◆ Get()
const std::string& CStatusLine::Get |
( |
| ) |
const |
|
inline |
◆ Set()
void CStatusLine::Set |
( |
const std::string & |
status | ) |
|
Change status line to new text.
- Parameters
-
status | New status line information. |
◆ SetCosts()
void CStatusLine::SetCosts |
( |
int |
mana, |
|
|
int |
food, |
|
|
const int * |
costs |
|
) |
| |
Set costs in status line.
- Parameters
-
mana | Mana costs. |
food | Food costs. |
costs | Resource costs, NULL pointer if all are zero. |
◆ Costs
◆ Font
◆ TextX
◆ TextY
◆ Width
The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The