_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <font.h>
Public Member Functions | |
| CLabel (const CFont &f, const std::string &nc, const std::string &rc) | |
| int | Height () const |
| void | SetFont (const CFont &f) |
| void | SetNormalColor (const std::string &nc) |
font.cpp - The color fonts. | |
| CLabel (const CFont &f) | |
| int | Draw (int x, int y, const char *const text) const |
| Draw text/number unclipped. More... | |
| int | Draw (int x, int y, const std::string &text) const |
| int | Draw (int x, int y, int number) const |
| int | DrawClip (int x, int y, const char *const text) const |
| Draw text/number clipped. More... | |
| int | DrawClip (int x, int y, const std::string &text, bool is_normal=true) const |
| int | DrawClip (int x, int y, int number) const |
| int | DrawReverse (int x, int y, const char *const text) const |
| Draw reverse text/number unclipped. More... | |
| int | DrawReverse (int x, int y, const std::string &text) const |
| int | DrawReverse (int x, int y, int number) const |
| int | DrawReverseClip (int x, int y, const char *const text) const |
| Draw reverse text/number clipped. More... | |
| int | DrawReverseClip (int x, int y, const std::string &text) const |
| int | DrawReverseClip (int x, int y, int number) const |
| int | DrawCentered (int x, int y, const std::string &text) const |
| int | DrawReverseCentered (int x, int y, const std::string &text) const |
|
inline |
|
explicit |
| int CLabel::Draw | ( | int | x, |
| int | y, | ||
| const char *const | text | ||
| ) | const |
Draw text/number unclipped.
| int CLabel::Draw | ( | int | x, |
| int | y, | ||
| const std::string & | text | ||
| ) | const |
| int CLabel::Draw | ( | int | x, |
| int | y, | ||
| int | number | ||
| ) | const |
| int CLabel::DrawCentered | ( | int | x, |
| int | y, | ||
| const std::string & | text | ||
| ) | const |
| int CLabel::DrawClip | ( | int | x, |
| int | y, | ||
| const char *const | text | ||
| ) | const |
Draw text/number clipped.
| int CLabel::DrawClip | ( | int | x, |
| int | y, | ||
| const std::string & | text, | ||
| bool | is_normal = true |
||
| ) | const |
| int CLabel::DrawClip | ( | int | x, |
| int | y, | ||
| int | number | ||
| ) | const |
| int CLabel::DrawReverse | ( | int | x, |
| int | y, | ||
| const char *const | text | ||
| ) | const |
Draw reverse text/number unclipped.
| int CLabel::DrawReverse | ( | int | x, |
| int | y, | ||
| const std::string & | text | ||
| ) | const |
| int CLabel::DrawReverse | ( | int | x, |
| int | y, | ||
| int | number | ||
| ) | const |
| int CLabel::DrawReverseCentered | ( | int | x, |
| int | y, | ||
| const std::string & | text | ||
| ) | const |
| int CLabel::DrawReverseClip | ( | int | x, |
| int | y, | ||
| const char *const | text | ||
| ) | const |
Draw reverse text/number clipped.
| int CLabel::DrawReverseClip | ( | int | x, |
| int | y, | ||
| const std::string & | text | ||
| ) | const |
| int CLabel::DrawReverseClip | ( | int | x, |
| int | y, | ||
| int | number | ||
| ) | const |
|
inline |
|
inline |
1.8.17
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.