SkinLoader Class Reference

#include <skin.h>

List of all members.


Detailed Description

Definition at line 98 of file skin.h.


Public Member Functions

Skinload (const std::string &filename, const std::string &defaultPath)
 Loads a skin.
void updateAlpha ()
 Updates the alpha values of all of the skins.

Static Public Member Functions

static SkinLoaderinstance ()
static void deleteInstance ()

Private Types

typedef std::map< std::string,
Skin * > 
Skins
typedef Skins::iterator SkinIterator

Private Member Functions

 SkinLoader ()
 ~SkinLoader ()
SkinreadSkin (const std::string &filename)

Private Attributes

Skins mSkins
ConfigListenermSkinConfigListener
 The config listener that listens to changes relevant to all skins.

Static Private Attributes

static SkinLoadermInstance = 0

Member Typedef Documentation

typedef std::map<std::string, Skin*> SkinLoader::Skins [private]

Definition at line 122 of file skin.h.

typedef Skins::iterator SkinLoader::SkinIterator [private]

Definition at line 123 of file skin.h.


Constructor & Destructor Documentation

SkinLoader::SkinLoader (  )  [private]

Definition at line 116 of file skin.cpp.

SkinLoader::~SkinLoader (  )  [private]

Definition at line 121 of file skin.cpp.


Member Function Documentation

SkinLoader * SkinLoader::instance (  )  [static]

Definition at line 127 of file skin.cpp.

void SkinLoader::deleteInstance (  )  [static]

Definition at line 135 of file skin.cpp.

Skin * SkinLoader::load ( const std::string &  filename,
const std::string &  defaultPath 
)

Loads a skin.

Definition at line 141 of file skin.cpp.

void SkinLoader::updateAlpha (  ) 

Updates the alpha values of all of the skins.

Definition at line 179 of file skin.cpp.

Skin * SkinLoader::readSkin ( const std::string &  filename  )  [private]

Definition at line 185 of file skin.cpp.


Member Data Documentation

Definition at line 125 of file skin.h.

The config listener that listens to changes relevant to all skins.

Definition at line 130 of file skin.h.

SkinLoader * SkinLoader::mInstance = 0 [static, private]

Definition at line 132 of file skin.h.


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

Generated on Sun Apr 26 17:30:44 2009 for The Mana World by  doxygen 1.5.5