-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.h
112 lines (100 loc) · 2.43 KB
/
setup.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/*
* setup.h: 'EnigmaNG' skin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
*
*/
#include "common.h"
#include "config.h"
#include <vdr/plugin.h>
class cPluginSkinEnigmaSetup : public cMenuSetupPage {
private:
cEnigmaConfig data;
virtual void Setup(void);
protected:
virtual eOSState ProcessKey(eKeys Key);
virtual void Store(void);
public:
cPluginSkinEnigmaSetup(void);
};
class cMenuSetupSubMenu : public cOsdMenu {
protected:
cEnigmaConfig *data;
virtual eOSState ProcessKey(eKeys Key);
virtual void Set(void) = 0;
void AddCategory(const char *Title);
public:
cMenuSetupSubMenu(const char *Title, cEnigmaConfig *Data);
};
class cMenuSetupGeneral : public cMenuSetupSubMenu {
private:
const char *showRemainingTexts[4];
const char *showRecSizeTexts[3];
const char *statusLineModeTexts[3];
const char *showScrollbarTexts[3];
protected:
virtual eOSState ProcessKey(eKeys Key);
void Set(void);
public:
cMenuSetupGeneral(cEnigmaConfig *Data);
};
class cMenuSetupLogos : public cMenuSetupSubMenu {
private:
const char *showSymbolsTexts[4];
const char *resizeImagesTexts[3];
#ifdef USE_PLUGIN_MAILBOX
const char *showMailIconTexts[3];
#endif
const char *showStatusSymbolsTexts[3];
protected:
virtual eOSState ProcessKey(eKeys Key);
void Set(void);
public:
cMenuSetupLogos(cEnigmaConfig *Data);
};
class cMenuSetupAnimText : public cMenuSetupSubMenu {
private:
const char *scrollModeTexts[2];
protected:
virtual eOSState ProcessKey(eKeys Key);
void Set(void);
public:
cMenuSetupAnimText(cEnigmaConfig *Data);
};
class cMenuSetupTTF : public cOsdMenu {
private:
FontInfo *data;
int nFont;
int nWidth;
int nSize;
cStringList *fontList;
protected:
virtual eOSState ProcessKey(eKeys Key);
void Set(void);
void Store(void);
public:
cMenuSetupTTF(FontInfo *fontinfo, cStringList* fontList);
};
class cMenuSetupFonts : public cMenuSetupSubMenu {
private:
cStringList fontNames;
cStringList fontMonoNames;
protected:
virtual eOSState ProcessKey(eKeys Key);
void Set(void);
public:
cMenuSetupFonts(cEnigmaConfig *Data);
virtual ~cMenuSetupFonts(void);
};
#ifdef USE_PLUGIN_EPGSEARCH
class cMenuSetupEpgSearch : public cMenuSetupSubMenu {
private:
const char *useSubtitleRerunTexts[3];
protected:
virtual eOSState ProcessKey(eKeys Key);
void Set(void);
public:
cMenuSetupEpgSearch(cEnigmaConfig *Data);
};
#endif
// vim:et:sw=2:ts=2: