Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

THEME_OBJECT Class Reference

#include <theme_priv.h>

List of all members.

Public Types

typedef std::map< std::string,
THEME_FILENAME * > 
MAP_FILENAME
typedef std::map< std::string,
THEME_GRADIENT * > 
MAP_GRADIENT
typedef std::map< std::string,
THEME_PROPERTY * > 
MAP_PROPERTY

Public Member Functions

 THEME_OBJECT ()
virtual ~THEME_OBJECT ()
SDL_Surface * FindSurface (const std::string &name)
PG_GradientFindGradient (const std::string &name)
long FindProperty (const std::string &name)
const std::string & FindString (const std::string &name)

Public Attributes

THEME_FONTfont
std::string type
std::string name
std::vector< THEME_STRING * > strings
MAP_FILENAME filename
MAP_GRADIENT gradient
MAP_PROPERTY property


Member Typedef Documentation

typedef std::map<std::string, THEME_FILENAME*> THEME_OBJECT::MAP_FILENAME
 

Definition at line 138 of file theme_priv.h.

typedef std::map<std::string, THEME_GRADIENT*> THEME_OBJECT::MAP_GRADIENT
 

Definition at line 139 of file theme_priv.h.

typedef std::map<std::string, THEME_PROPERTY*> THEME_OBJECT::MAP_PROPERTY
 

Definition at line 140 of file theme_priv.h.


Constructor & Destructor Documentation

THEME_OBJECT::THEME_OBJECT  ) 
 

Definition at line 246 of file theme_priv.cpp.

References font.

THEME_OBJECT::~THEME_OBJECT  )  [virtual]
 

Definition at line 250 of file theme_priv.cpp.

References filename, font, gradient, property, and strings.


Member Function Documentation

PG_Gradient * THEME_OBJECT::FindGradient const std::string &  name  ) 
 

Definition at line 285 of file theme_priv.cpp.

References gradient.

Referenced by THEME_THEME::FindGradient().

long THEME_OBJECT::FindProperty const std::string &  name  ) 
 

Definition at line 329 of file theme_priv.cpp.

References property.

Referenced by THEME_THEME::GetProperty().

const std::string & THEME_OBJECT::FindString const std::string &  name  ) 
 

Definition at line 339 of file theme_priv.cpp.

References PG_NULLSTR, and strings.

Referenced by THEME_THEME::FindString().

SDL_Surface * THEME_OBJECT::FindSurface const std::string &  name  ) 
 

Definition at line 275 of file theme_priv.cpp.

References filename.

Referenced by THEME_THEME::FindSurface().


Member Data Documentation

MAP_FILENAME THEME_OBJECT::filename
 

Definition at line 143 of file theme_priv.h.

Referenced by FindSurface(), parseObjectProps(), and ~THEME_OBJECT().

THEME_FONT* THEME_OBJECT::font
 

Definition at line 124 of file theme_priv.h.

Referenced by THEME_THEME::FindFontName(), THEME_THEME::FindFontSize(), THEME_THEME::FindFontStyle(), parseObjectProps(), THEME_OBJECT(), and ~THEME_OBJECT().

MAP_GRADIENT THEME_OBJECT::gradient
 

Definition at line 144 of file theme_priv.h.

Referenced by FindGradient(), parseObjectProps(), and ~THEME_OBJECT().

std::string THEME_OBJECT::name
 

Definition at line 127 of file theme_priv.h.

Referenced by parseObjectProps(), and parseWidgetProps().

MAP_PROPERTY THEME_OBJECT::property
 

Definition at line 145 of file theme_priv.h.

Referenced by FindProperty(), parseObjectProps(), and ~THEME_OBJECT().

std::vector<THEME_STRING*> THEME_OBJECT::strings
 

Definition at line 129 of file theme_priv.h.

Referenced by FindString(), parseObjectProps(), and ~THEME_OBJECT().

std::string THEME_OBJECT::type
 

Definition at line 126 of file theme_priv.h.

Referenced by parseObjectProps(), and parseWidgetProps().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:21:34 2008 for Advanced Strategic Command by  doxygen 1.4.2