cThemes Class Reference

#include <themes.h>

List of all members.

Public Member Functions

 cThemes (void)
 ~cThemes ()
bool Load (const char *SkinName)
int NumThemes (void)
const char * Name (int Index)
const char * FileName (int Index)
const char *const * Descriptions (void)
int GetThemeIndex (const char *Description)

Static Public Member Functions

static void SetThemesDirectory (const char *ThemesDirectory)
static void Load (const char *SkinName, const char *ThemeName, cTheme *Theme)
static void Save (const char *SkinName, cTheme *Theme)

Private Member Functions

void Clear (void)

Private Attributes

int numThemes
char ** names
char ** fileNames
char ** descriptions

Static Private Attributes

static char * themesDirectory = NULL


Detailed Description

Definition at line 61 of file themes.h.


Constructor & Destructor Documentation

cThemes::cThemes ( void   ) 

Definition at line 210 of file themes.c.

References descriptions, fileNames, names, and numThemes.

cThemes::~cThemes (  ) 

Definition at line 218 of file themes.c.

References Clear().

Here is the call graph for this function:


Member Function Documentation

void cThemes::Clear ( void   )  [private]

Definition at line 223 of file themes.c.

References descriptions, fileNames, names, and numThemes.

Referenced by Load(), and ~cThemes().

bool cThemes::Load ( const char *  SkinName  ) 

int cThemes::NumThemes ( void   )  [inline]

Definition at line 73 of file themes.h.

References numThemes.

Referenced by cMenuSetupOSD::ProcessKey(), and cMenuSetupOSD::Set().

const char* cThemes::Name ( int  Index  )  [inline]

Definition at line 74 of file themes.h.

References names, and numThemes.

Referenced by cMenuSetupOSD::ProcessKey().

const char* cThemes::FileName ( int  Index  )  [inline]

Definition at line 75 of file themes.h.

References fileNames, and numThemes.

Referenced by Load(), cMenuSetupOSD::ProcessKey(), and Save().

const char* const* cThemes::Descriptions ( void   )  [inline]

Definition at line 76 of file themes.h.

References descriptions.

Referenced by cMenuSetupOSD::ProcessKey(), and cMenuSetupOSD::Set().

int cThemes::GetThemeIndex ( const char *  Description  ) 

Definition at line 267 of file themes.c.

References descriptions, and numThemes.

Referenced by cMenuSetupOSD::cMenuSetupOSD(), and cMenuSetupOSD::ProcessKey().

void cThemes::SetThemesDirectory ( const char *  ThemesDirectory  )  [static]

Definition at line 279 of file themes.c.

References MakeDirs(), and themesDirectory.

Referenced by main().

Here is the call graph for this function:

void cThemes::Load ( const char *  SkinName,
const char *  ThemeName,
cTheme Theme 
) [static]

Definition at line 286 of file themes.c.

References FileName(), cTheme::Load(), cString::sprintf(), and themesDirectory.

Here is the call graph for this function:

void cThemes::Save ( const char *  SkinName,
cTheme Theme 
) [static]

Definition at line 293 of file themes.c.

References FileName(), cTheme::Name(), cTheme::Save(), cString::sprintf(), and themesDirectory.

Referenced by cSkin::cSkin().

Here is the call graph for this function:


Member Data Documentation

int cThemes::numThemes [private]

Definition at line 63 of file themes.h.

Referenced by Clear(), cThemes(), FileName(), GetThemeIndex(), Load(), Name(), and NumThemes().

char** cThemes::names [private]

Definition at line 64 of file themes.h.

Referenced by Clear(), cThemes(), Load(), and Name().

char** cThemes::fileNames [private]

Definition at line 65 of file themes.h.

Referenced by Clear(), cThemes(), FileName(), and Load().

char** cThemes::descriptions [private]

Definition at line 66 of file themes.h.

Referenced by Clear(), cThemes(), Descriptions(), GetThemeIndex(), and Load().

char * cThemes::themesDirectory = NULL [static, private]

Definition at line 67 of file themes.h.

Referenced by Load(), Save(), and SetThemesDirectory().


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

Generated on Tue Jan 13 14:33:03 2009 for VDR by  doxygen 1.5.6