Logo Search packages:      
Sourcecode: fbdesk version File versions  Download package

FbTk::ThemeManager Class Reference

#include <Theme.hh>

List of all members.


Detailed Description

Singleton theme manager.

Use this to load all the registred themes

Definition at line 112 of file Theme.hh.


Public Member Functions

bool load (const char *filename)
void loadTheme (Theme &tm)
std::string resourceValue (const std::string &name, const std::string &altname)

Static Public Member Functions

static ThemeManagerinstance ()

Private Types

typedef std::list< FbTk::Theme * > ThemeList
 map each theme manager to a screen

Private Member Functions

bool registerTheme (FbTk::Theme &tm)
bool unregisterTheme (FbTk::Theme &tm)

Private Attributes

XrmDatabaseHelper m_database
const int m_max_screens
ThemeList m_themelist

Friends

class FbTk::Theme

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

Generated by  Doxygen 1.6.0   Back to index