|
vdr 2.8.1
|
#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 |
| cStringList | names |
| cStringList | fileNames |
| cStringList | descriptions |
Static Private Attributes | |
| static cString | themesDirectory |
|
private |
Definition at line 201 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.
|
inline |
| int cThemes::GetThemeIndex | ( | const char * | Description | ) |
Definition at line 245 of file themes.c.
References descriptions, and numThemes.
| bool cThemes::Load | ( | const char * | SkinName | ) |
Definition at line 209 of file themes.c.
References AddDirectory(), cVector< T >::Append(), Clear(), descriptions, esyslog, FileName(), fileNames, names, cReadDir::Next(), numThemes, cVector< T >::Size(), cStringList::Sort(), cString::sprintf(), Theme, and themesDirectory.
Referenced by main().
|
static |
Definition at line 263 of file themes.c.
References FileName(), cString::sprintf(), Theme, and themesDirectory.
|
inline |
|
inline |
|
static |
Definition at line 270 of file themes.c.
References FileName(), cString::sprintf(), Theme, and themesDirectory.
Referenced by cSkin::cSkin().
|
static |
Definition at line 257 of file themes.c.
References MakeDirs(), and themesDirectory.
Referenced by main().
|
private |
Definition at line 66 of file themes.h.
Referenced by Clear(), Descriptions(), GetThemeIndex(), and Load().
|
private |
Definition at line 65 of file themes.h.
Referenced by Clear(), FileName(), and Load().
|
private |
|
private |
Definition at line 63 of file themes.h.
Referenced by Clear(), cThemes(), FileName(), GetThemeIndex(), Load(), Name(), and NumThemes().
|
staticprivate |