Scans Skins folder.
More...
#include <SkinManager.h>
List of all members.
Detailed Description
Scans Skins folder.
Scans for skin directories and stores valid directories to a list. Manages Skin resources.
Constructor & Destructor Documentation
| SkinManager::SkinManager |
( |
|
) |
|
| SkinManager::~SkinManager |
( |
|
) |
|
Member Function Documentation
| Skin * SkinManager::getSkin |
( |
const string & |
name |
) |
|
Gets a skin by name from the available skins.
- Parameters:
-
| name | Name of the Skin to retrieve. |
- Returns:
- A pointer to a Skin Resource if the Skin was found. Otherwise it returns the first available Skin. If there are no available skins, NULL will be returned.
- Warning:
- The pointer returned is owned by the SkinManager and should not be deleted by the user.
| void SkinManager::load |
( |
|
) |
[private] |
| void SkinManager::parse |
( |
|
) |
[private] |
| int SkinManager::scanSkins |
( |
const string & |
searchPath |
) |
[private] |
Scans a search path and adds skin definitions to the list of available skins.
Member Data Documentation
List of fonts found in the specified fonts directory.
The documentation for this class was generated from the following files: