vdr
2.0.6
|
#include <themes.h>
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 |
cThemes::cThemes | ( | void | ) |
|
private |
Definition at line 223 of file themes.c.
References descriptions, fileNames, names, and numThemes.
Referenced by Load(), and ~cThemes().
|
inline |
Definition at line 76 of file themes.h.
References descriptions.
Referenced by cMenuSetupOSD::ProcessKey(), and cMenuSetupOSD::Set().
|
inline |
int cThemes::GetThemeIndex | ( | const char * | Description | ) |
Definition at line 283 of file themes.c.
References descriptions, and numThemes.
Referenced by cMenuSetupOSD::cMenuSetupOSD(), and cMenuSetupOSD::ProcessKey().
bool cThemes::Load | ( | const char * | SkinName | ) |
Definition at line 239 of file themes.c.
References AddDirectory(), Clear(), cTheme::Description(), descriptions, esyslog, FileName(), fileNames, cTheme::Load(), cTheme::Name(), names, cReadDir::Next(), numThemes, Theme, and themesDirectory.
Referenced by cMenuSetupOSD::cMenuSetupOSD(), main(), and cMenuSetupOSD::ProcessKey().
|
static |
Definition at line 302 of file themes.c.
References FileName(), cTheme::Load(), cString::sprintf(), and themesDirectory.
|
inline |
Definition at line 74 of file themes.h.
References names, and numThemes.
Referenced by cMenuSetupOSD::ProcessKey().
|
inline |
Definition at line 73 of file themes.h.
References numThemes.
Referenced by cMenuSetupOSD::ProcessKey(), and cMenuSetupOSD::Set().
|
static |
Definition at line 309 of file themes.c.
References FileName(), cTheme::Name(), cTheme::Save(), cString::sprintf(), and themesDirectory.
Referenced by cSkin::cSkin().
|
static |
Definition at line 295 of file themes.c.
References MakeDirs(), and themesDirectory.
Referenced by main().
|
private |
Definition at line 66 of file themes.h.
Referenced by Clear(), cThemes(), Descriptions(), GetThemeIndex(), and Load().
|
private |
|
private |
|
private |
Definition at line 63 of file themes.h.
Referenced by Clear(), cThemes(), FileName(), GetThemeIndex(), Load(), Name(), and NumThemes().
|
staticprivate |
Definition at line 67 of file themes.h.
Referenced by Load(), Save(), and SetThemesDirectory().