summaryrefslogtreecommitdiff
path: root/config.h
blob: b5d9e35649c83b4c209f2f9a7992da4dc4d7d40e (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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
#ifndef __TVGUIDE_CONFIG_H
#define __TVGUIDE_CONFIG_H

class cTvguideConfig {
    private:
        void SetGeometry(int width, int height);
        void SetFonts(void);
    public:
        cTvguideConfig();
        ~cTvguideConfig();
        void SetLogoPath(cString path);
        void SetImagesPath(cString path);
        void SetIconsPath(cString path);
        void SetBlending(void);
        int showMainMenuEntry;
        int replaceOriginalSchedule;
        int osdWidth; 
        int osdHeight;
        int displayMode;
        int showTimeInGrid;
        int colWidth;
        int rowHeight;
        int channelCols;
        int channelRows;
        int numGrids;
        int displayTime;
        int minutePixel;
        int displayStatusHeader;
        int displayChannelGroups;
        int statusHeaderPercent;
        int statusHeaderHeight;
        int channelGroupsPercent;
        int channelGroupsWidth;
        int channelGroupsHeight;
        int scaleVideo;
        int decorateVideo;
        int timeLineWidthPercent;
        int timeLineHeightPercent;
        int timeLineWidth;
        int timeLineHeight;
        int displayChannelName;
        int channelHeaderWidthPercent;
        int channelHeaderHeightPercent;
        int channelHeaderWidth;
        int channelHeaderHeight;
        int footerHeight;
        int stepMinutes;
        int bigStepHours;
        int hugeStepHours;
        int channelJumpMode;
        int jumpChannels;
        int blueKeyMode;
        int hideLastGroup;
        int hideChannelLogos;
        int logoWidthRatio;
        int logoHeightRatio;
        cString logoPath;
        int logoExtension;
        int hideEpgImages;
        int epgImageWidth;
        int epgImageHeight;
        int numAdditionalEPGPictures;
	int epgImageWidthLarge;
        int epgImageHeightLarge;
        cString epgImagePath;
        cString iconPath;
        int fontIndex;
        const char *fontNameDefault;
        int FontButtonDelta;
        int FontDetailViewDelta;
        int FontDetailHeaderDelta;
        int FontMessageBoxDelta;
        int FontMessageBoxLargeDelta;
        int FontStatusHeaderDelta;
        int FontStatusHeaderLargeDelta;
        int FontChannelHeaderDelta;
        int FontChannelGroupsDelta;
        int FontGridDelta;
        int FontGridSmallDelta;
        int FontTimeLineWeekdayDelta;
        int FontTimeLineDateDelta;
        int FontTimeLineTimeDelta;
        int FontChannelHeaderHorizontalDelta;
        int FontChannelGroupsHorizontalDelta;
        int FontGridHorizontalDelta;
        int FontGridHorizontalSmallDelta;
        int FontTimeLineDateHorizontalDelta;
        int FontTimeLineTimeHorizontalDelta;
        int FontRecMenuItemDelta;
        int FontRecMenuItemSmallDelta;
        const cFont *FontChannelHeader;
        const cFont *FontChannelHeaderHorizontal;
        const cFont *FontChannelGroups;
        const cFont *FontChannelGroupsHorizontal;
        const cFont *FontStatusHeader;
        const cFont *FontStatusHeaderLarge;
        const cFont *FontGrid;
        const cFont *FontGridSmall;
        const cFont *FontGridHorizontal;
        const cFont *FontGridHorizontalSmall;
        const cFont *FontTimeLineWeekday;
        const cFont *FontTimeLineDate;
        const cFont *FontTimeLineDateHorizontal;
        const cFont *FontTimeLineTime;
        const cFont *FontTimeLineTimeHorizontal;
        const cFont *FontButton;
        const cFont *FontDetailView;
        const cFont *FontDetailHeader;
        const cFont *FontMessageBox;
        const cFont *FontMessageBoxLarge;
        const cFont *FontRecMenuItem;
        const cFont *FontRecMenuItemSmall;
        int timeFormat;
        int themeIndex;
        int useBlending;
        int roundedCorners;
        int displayRerunsDetailEPGView;
        int numReruns;
        int useSubtitleRerun;
        void setDynamicValues(int width, int height);
        bool SetupParse(const char *Name, const char *Value);
        void loadTheme();
};

#endif //__TVGUIDE_CONFIG_H