summaryrefslogtreecommitdiff
path: root/setup.h
blob: ba81d8f3491d05cfc8897f5bb26a529acfe96033 (plain)
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
#ifndef __TVGUIDE_SETUP_H
#define __TVGUIDE_SETUP_H

class cTvguideSetup : public cMenuSetupPage {
	public:
		cTvguideSetup(void);
		virtual ~cTvguideSetup();		
	private:
		cTvguideConfig tmpTvguideConfig;
		void Setup(void);
	protected:
		virtual eOSState ProcessKey(eKeys Key);
		virtual void Store(void);

};

class cMenuSetupSubMenu : public cOsdMenu {
	protected:
		cTvguideConfig *tmpTvguideConfig;
		virtual eOSState ProcessKey(eKeys Key);
		virtual void Set(void) = 0;
		cOsdItem *InfoItem(const char *label, const char *value);
	public:
		cMenuSetupSubMenu(const char *Title, cTvguideConfig *data);
};

class cMenuSetupGeneral : public cMenuSetupSubMenu {
	protected:
		const char * timeFormatItems[2];
		void Set(void);
	public:
		cMenuSetupGeneral(cTvguideConfig *data);
};

class cMenuSetupScreenLayout : public cMenuSetupSubMenu {
	protected:
		virtual eOSState ProcessKey(eKeys Key);
		cThemes themes;
		const char * hideChannelLogosItems[2];
		const char * logoExtensionItems[2];
        const char * blendingMethods[3];
		void Set(void);
	public:
		cMenuSetupScreenLayout(cTvguideConfig *data);
};

class cMenuSetupFont : public cMenuSetupSubMenu {
	protected:
		cStringList fontNames;
		void Set(void);
	public:
		cMenuSetupFont(cTvguideConfig *data);
};

#endif //__TVGUIDE_SETUP_H