$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 <unittype.h>
Public Member Functions | |
unit_draw.cpp - The draw routines for units. | |
virtual void | Draw (int x, int y, const CUnitType *type, const CVariable &var) const |
function to draw the decorations. | |
Public Attributes | |
bool | IsVertical |
bool | SEToNW |
if true, vertical bar, else horizontal. | |
int | Height |
(SouthEastToNorthWest), if false value 0 is on the left or up of the bar. | |
int | Width |
Height of the bar. | |
bool | ShowFullBackground |
Width of the bar. | |
char | BorderSize |
if true, show background like value equal to max. | |
Uint32 | Color |
Size of the border, 0 for no border. | |
Uint32 | BColor |
Color of bar. |
bool CDecoVarBar::SEToNW |
if true, vertical bar, else horizontal.
(SouthEastToNorthWest), if false value 0 is on the left or up of the bar.
Height of the bar.
Width of the bar.
if true, show background like value equal to max.
Uint32 CDecoVarBar::Color |
Size of the border, 0 for no border.
Uint32 CDecoVarBar::BColor |
Color of bar.