$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

CFontColor Class Reference

Font color definition. More...

#include <font.h>

List of all members.


font.cpp - The color fonts.

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

Public Attributes

std::string Ident
SDL_Color Colors [MaxFontColors]

Detailed Description

Font color definition.

Constructor & Destructor Documentation

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

CFontColor constructor

CFontColor::~CFontColor (  ) 

CFontColor destructor


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

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

Get a font color

Parameters:
ident Font color identifier
Returns:
The font color


Member Data Documentation

std::string CFontColor::Ident

SDL_Color CFontColor::Colors[MaxFontColors]


The documentation for this class was generated from the following files:
(C) Copyright 1998-2011 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.