____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       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"

CFontColor Class Reference

#include <font.h>

List of all members.

Public Member Functions

 CFontColor (const std::string &ident)
 ~CFontColor ()

Static Public Member Functions

static CFontColorNew (const std::string &ident)
static CFontColorGet (const std::string &ident)

Public Attributes

std::string Ident
SDL_Color Colors [MaxFontColors]


Detailed Description

Definition at line 102 of file include/font.h.


Constructor & Destructor Documentation

CFontColor::CFontColor ( const std::string &  ident  ) 

CFontColor constructor

Definition at line 850 of file font.cpp.

References Colors, and Ident.

Referenced by New().

CFontColor::~CFontColor (  ) 

CFontColor destructor

Definition at line 859 of file font.cpp.


Member Function Documentation

CFontColor * CFontColor::New ( const std::string &  ident  )  [static]

Create a new font color

Parameters:
ident Font color identifier
Returns:
New font color

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

Parameters:
ident Font color identifier
Returns:
The font color

Definition at line 890 of file font.cpp.

References _C_, DebugPrint, and FontColors.

Referenced by DoDrawText(), SetDefaultTextColors(), and tolua_stratagus_CFontColor_Get00().


Member Data Documentation

std::string CFontColor::Ident

Definition at line 110 of file include/font.h.

Referenced by CFontColor().

SDL_Color CFontColor::Colors[MaxFontColors]

Definition at line 111 of file include/font.h.

Referenced by CFontColor(), MakeFontColorTextures(), and VideoDrawChar().


The documentation for this class was generated from the following files:

Generated on Sat Feb 21 00:28:23 2009 for Bos Wars by  doxygen 1.5.6