-
Notifications
You must be signed in to change notification settings - Fork 0
/
geometrymanager.h
123 lines (119 loc) · 3.99 KB
/
geometrymanager.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
113
114
115
116
117
118
119
120
121
122
123
#ifndef __NOPACITY_GEOMETRYMANAGER_H
#define __NOPACITY_GEOMETRYMANAGER_H
enum eLogoPosition {lpNone = 0, lpLeft, lpRight};
enum eLogoVerticalPosition {lvTop = 0, lvMiddle, lvBottom};
enum eBackgroundStyle {bsTrans = 0, bsFull};
class cGeometryManager {
private:
public:
cGeometryManager();
~cGeometryManager();
bool SetOSDSize(void);
void SetGeometry(void);
int osdWidth;
int osdHeight;
int osdLeft;
int osdTop;
//DisplayMenu Sizes
int menuSpace;
int menuWidthScrollbar;
int menuDateWidth;
int menuHeaderHeight;
int menuFooterHeight;
int menuContentHeight;
int menuContentWidthMain;
int menuContentWidthSchedules;
int menuContentWidthChannels;
int menuContentWidthTimers;
int menuContentWidthRecordings;
int menuContentWidthSetup;
int menuContentWidthFull;
int menuContentWidthMinimum;
int menuItemWidthDefault;
int menuItemWidthMain;
int menuItemWidthSchedule;
int menuItemWidthChannel;
int menuItemWidthTimer;
int menuItemWidthRecording;
int menuItemWidthSetup;
int menuItemWidthTracks;
int menuItemHeightMain;
int menuItemHeightSchedule;
int menuItemHeightDefault;
int menuItemHeightRecordings;
int menuItemHeightTracks;
int menuMainMenuIconSize;
int menuLogoWidth;
int menuLogoHeight;
int menuTimersLogoWidth;
int menuTimersLogoHeight;
int menuHeaderVDRLogoWidth;
int menuButtonsBorder;
int menuButtonWidth;
int menuButtonHeight;
int menuDiskUsageWidth;
int menuDiskUsageHeight;
int menuTimersWidth;
int menuVolumeLeft, menuVolumeTop;
int menuVolumeWidth, menuVolumeHeight;
//DisplayChannel Sizes
int channelOsdLeft, channelOsdTop;
int channelOsdWidth, channelOsdHeight;
int channelTop;
int channelHeight;
int channelHeaderHeight;
int channelFooterHeight;
int channelContentHeight;
int channelContentX, channelContentWidth;
int channelLogoWidthTotal;
int channelLogoX, channelLogoY;
int channelLogoWidth, channelLogoHeight;
int channelLogoBgX, channelLogoBgY;
int channelLogoBgWidth, channelLogoBgHeight;
int channelChannelNameWidth;
int channelDateWidth;
int channelFooterY;
int channelProgressBarHeight;
int channelEpgInfoHeight;
int channelEpgInfoLineHeight;
int channelStatusIconBorder;
int channelStatusIconSize;
int channelStatusIconsWidth;
int channelStatusIconX;
int channelSourceInfoX;
int channelVolumeLeft, channelVolumeTop;
int channelVolumeWidth, channelVolumeHeight;
//DisplayReplay Sizes
int replayOsdLeft, replayOsdTop;
int replayOsdWidth, replayOsdHeight;
int replayHeaderHeight;
int replayInfo2Height;
int replayProgressBarHeight;
int replayCurrentHeight;
int replayControlsHeight;
int replayFooterHeight;
int replayInfoWidth;
int replayDateWidth;
int replayIconSize, replayIconBorder;
int replayResolutionSize;
int replayResolutionX, replayResolutionY;
int replayJumpX, replayJumpY;
int replayJumpWidth, replayJumpHeight;
int replayMessageY;
int replayMessageWidth, replayMessageHeight;
int replayVolumeLeft, replayVolumeTop;
int replayVolumeWidth, replayVolumeHeight;
//DisplayMessage Sizes
int messageWidth;
int messageHeight;
//DisplayTracks Sizes
int trackWidth;
//DisplayVolume Sizes
int volumeWidth;
int volumeHeight;
int volumeLabelHeight;
int volumeProgressBarWidth;
int volumeProgressBarHeight;
};
extern cGeometryManager *geoManager;
#endif //__NOPACITY_GEOMETRYMANAGER_H