_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Attributes | List of all members
CFontColor Class Reference

Font color definition. More...

#include <font.h>

Public Attributes

std::string Ident
 
SDL_Color * Colors
 

font.cpp - The color fonts.

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

Detailed Description

Font color definition.

Constructor & Destructor Documentation

◆ CFontColor()

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

◆ ~CFontColor()

CFontColor::~CFontColor ( )

Member Function Documentation

◆ Get()

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

Get a font color

Parameters
identFont color identifier
Returns
The font color

◆ New()

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

Create a new font color

Parameters
identFont color identifier
Returns
New font color

Member Data Documentation

◆ Colors

SDL_Color* CFontColor::Colors

◆ Ident

std::string CFontColor::Ident

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