summaryrefslogtreecommitdiff
path: root/config.h
blob: 24af8bcfceb6d5f7271e99ba89220ea4e82604ac (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#ifndef __TVGUIDE_CONFIG_H
#define __TVGUIDE_CONFIG_H

class cTvguideConfig {
	public:
		cTvguideConfig();
		~cTvguideConfig();
		void SetLogoPath(cString path);
		void SetImagesPath(cString path);
		int osdWidth; 
		int osdHeight;
		int colWidth;
		int channelCols;
		int displayTime;
		int minuteHeight;
        int displayStatusHeader;
        int statusHeaderPercent;
        int statusHeaderHeight;
        int scaleVideo;
		int timeColWidth;
		int headerHeight;
		int footerHeight;
		int stepMinutes;
		int bigStepHours;
		int hugeStepHours;
		int jumpChannels;
		int hideChannelLogos;
		int logoWidth;
		int logoHeight;
		cString logoPath;
		int logoExtension;
		int hideEpgImages;
		int epgImageWidth;
		int epgImageHeight;
		cString epgImagePath;
		int fontIndex;
		const char *fontNameDefault;
		int fontHeaderSize;
		int fontStatusHeaderSize;
		int fontStatusHeaderLargeSize;
		int fontGridSize;
		int fontGridSmallSize;
		int fontTimeLineWeekdaySize;
		int fontTimeLineDateSize;
		int fontTimeLineTimeSize;
		int fontTimeLineTimeSizeDef12;
		int fontTimeLineTimeSizeDef24;
		int fontButtonSize;
		int fontDetailViewSize;
		int fontDetailHeaderSize;
		int fontMessageBoxSize;
		int fontMessageBoxLargeSize;
		const cFont *FontHeader;
		const cFont *FontStatusHeader;
		const cFont *FontStatusHeaderLarge;
		const cFont *FontGrid;
		const cFont *FontGridSmall;
		const cFont *FontTimeLineWeekday;
		const cFont *FontTimeLineDate;
		const cFont *FontTimeLineTime;
		const cFont *FontButton;
		const cFont *FontDetailView;
		const cFont *FontDetailHeader;
		const cFont *FontMessageBox;
		const cFont *FontMessageBoxLarge;
		int timeFormat;
		int themeIndex;
		int useBlending;
		int roundedCorners;
		void setDynamicValues(int width, int height);
		bool SetupParse(const char *Name, const char *Value);
		void loadTheme();
};

#endif //__TVGUIDE_CONFIG_H