____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <font.h>
Public Member Functions | |
| CFontColor (const std::string &ident) | |
| ~CFontColor () | |
Static Public Member Functions | |
| static CFontColor * | New (const std::string &ident) |
| static CFontColor * | Get (const std::string &ident) |
Public Attributes | |
| std::string | Ident |
| SDL_Color | Colors [MaxFontColors] |
Definition at line 102 of file include/font.h.
| CFontColor::CFontColor | ( | const std::string & | ident | ) |
| CFontColor::~CFontColor | ( | ) |
CFontColor destructor
| CFontColor * CFontColor::New | ( | const std::string & | ident | ) | [static] |
Create a new font color
| ident | Font color identifier |
Definition at line 870 of file font.cpp.
References AllFontColors, CFontColor(), and FontColors.
Referenced by tolua_stratagus_CFontColor_New00().
| CFontColor * CFontColor::Get | ( | const std::string & | ident | ) | [static] |
Get a font color
| ident | Font color identifier |
Definition at line 890 of file font.cpp.
References _C_, DebugPrint, and FontColors.
Referenced by DoDrawText(), SetDefaultTextColors(), and tolua_stratagus_CFontColor_Get00().
| std::string CFontColor::Ident |
| SDL_Color CFontColor::Colors[MaxFontColors] |
Definition at line 111 of file include/font.h.
Referenced by CFontColor(), MakeFontColorTextures(), and VideoDrawChar().
1.5.6