2013-01-17 13:16:44 +01:00
|
|
|
#ifndef __TVGUIDE_CONFIG_H
|
|
|
|
#define __TVGUIDE_CONFIG_H
|
|
|
|
|
|
|
|
class cTvguideConfig {
|
2013-05-28 16:57:21 +02:00
|
|
|
private:
|
|
|
|
void SetGeometry(int width, int height);
|
|
|
|
void SetFonts(void);
|
2013-05-26 11:38:05 +02:00
|
|
|
public:
|
|
|
|
cTvguideConfig();
|
|
|
|
~cTvguideConfig();
|
|
|
|
void SetLogoPath(cString path);
|
|
|
|
void SetImagesPath(cString path);
|
2013-05-28 16:57:21 +02:00
|
|
|
void SetBlending(void);
|
2013-05-31 14:05:30 +02:00
|
|
|
int showMainMenuEntry;
|
2013-05-24 16:23:23 +02:00
|
|
|
int osdWidth;
|
2013-05-26 11:38:05 +02:00
|
|
|
int osdHeight;
|
2013-05-24 16:23:23 +02:00
|
|
|
int displayMode;
|
2013-06-01 11:18:43 +02:00
|
|
|
int showTimeInGrid;
|
2013-05-26 11:38:05 +02:00
|
|
|
int colWidth;
|
2013-05-24 16:23:23 +02:00
|
|
|
int rowHeight;
|
2013-05-26 11:38:05 +02:00
|
|
|
int channelCols;
|
|
|
|
int channelRows;
|
2013-05-24 16:23:23 +02:00
|
|
|
int numGrids;
|
2013-05-26 11:38:05 +02:00
|
|
|
int displayTime;
|
|
|
|
int minutePixel;
|
2013-05-20 11:37:37 +02:00
|
|
|
int displayStatusHeader;
|
2013-05-31 13:58:22 +02:00
|
|
|
int displayChannelGroups;
|
2013-05-20 11:37:37 +02:00
|
|
|
int statusHeaderPercent;
|
|
|
|
int statusHeaderHeight;
|
2013-05-31 13:58:22 +02:00
|
|
|
int channelGroupsPercent;
|
|
|
|
int channelGroupsWidth;
|
|
|
|
int channelGroupsHeight;
|
2013-05-20 11:37:37 +02:00
|
|
|
int scaleVideo;
|
2013-05-24 16:23:23 +02:00
|
|
|
int decorateVideo;
|
2013-05-26 11:38:05 +02:00
|
|
|
int timeLineWidthPercent;
|
|
|
|
int timeLineHeightPercent;
|
|
|
|
int timeLineWidth;
|
|
|
|
int timeLineHeight;
|
2013-05-24 16:23:23 +02:00
|
|
|
int displayChannelName;
|
2013-05-26 11:38:05 +02:00
|
|
|
int channelHeaderWidthPercent;
|
|
|
|
int channelHeaderHeightPercent;
|
|
|
|
int channelHeaderWidth;
|
|
|
|
int channelHeaderHeight;
|
|
|
|
int footerHeight;
|
|
|
|
int stepMinutes;
|
|
|
|
int bigStepHours;
|
|
|
|
int hugeStepHours;
|
2013-05-31 13:58:22 +02:00
|
|
|
int channelJumpMode;
|
2013-05-26 11:38:05 +02:00
|
|
|
int jumpChannels;
|
2013-06-01 11:08:17 +02:00
|
|
|
int blueKeyMode;
|
2013-05-31 13:58:22 +02:00
|
|
|
int hideLastGroup;
|
2013-05-26 11:38:05 +02:00
|
|
|
int hideChannelLogos;
|
|
|
|
int logoWidthRatio;
|
|
|
|
int logoHeightRatio;
|
|
|
|
cString logoPath;
|
|
|
|
int logoExtension;
|
|
|
|
int hideEpgImages;
|
|
|
|
int epgImageWidth;
|
|
|
|
int epgImageHeight;
|
2013-06-03 09:52:54 +02:00
|
|
|
int numAdditionalEPGPictures;
|
|
|
|
int epgImageWidthLarge;
|
|
|
|
int epgImageHeightLarge;
|
2013-05-26 11:38:05 +02:00
|
|
|
cString epgImagePath;
|
|
|
|
int fontIndex;
|
|
|
|
const char *fontNameDefault;
|
2013-05-24 16:23:23 +02:00
|
|
|
int FontButtonDelta;
|
|
|
|
int FontDetailViewDelta;
|
|
|
|
int FontDetailHeaderDelta;
|
|
|
|
int FontMessageBoxDelta;
|
|
|
|
int FontMessageBoxLargeDelta;
|
|
|
|
int FontStatusHeaderDelta;
|
|
|
|
int FontStatusHeaderLargeDelta;
|
|
|
|
int FontChannelHeaderDelta;
|
2013-05-31 13:58:22 +02:00
|
|
|
int FontChannelGroupsDelta;
|
2013-05-24 16:23:23 +02:00
|
|
|
int FontGridDelta;
|
|
|
|
int FontGridSmallDelta;
|
|
|
|
int FontTimeLineWeekdayDelta;
|
|
|
|
int FontTimeLineDateDelta;
|
|
|
|
int FontTimeLineTimeDelta;
|
|
|
|
int FontChannelHeaderHorizontalDelta;
|
2013-05-31 13:58:22 +02:00
|
|
|
int FontChannelGroupsHorizontalDelta;
|
2013-05-24 16:23:23 +02:00
|
|
|
int FontGridHorizontalDelta;
|
|
|
|
int FontGridHorizontalSmallDelta;
|
|
|
|
int FontTimeLineDateHorizontalDelta;
|
|
|
|
int FontTimeLineTimeHorizontalDelta;
|
2013-05-26 11:38:05 +02:00
|
|
|
const cFont *FontChannelHeader;
|
2013-05-24 16:23:23 +02:00
|
|
|
const cFont *FontChannelHeaderHorizontal;
|
2013-05-31 13:58:22 +02:00
|
|
|
const cFont *FontChannelGroups;
|
|
|
|
const cFont *FontChannelGroupsHorizontal;
|
2013-05-26 11:38:05 +02:00
|
|
|
const cFont *FontStatusHeader;
|
|
|
|
const cFont *FontStatusHeaderLarge;
|
|
|
|
const cFont *FontGrid;
|
|
|
|
const cFont *FontGridSmall;
|
2013-05-24 16:23:23 +02:00
|
|
|
const cFont *FontGridHorizontal;
|
2013-05-26 11:38:05 +02:00
|
|
|
const cFont *FontGridHorizontalSmall;
|
|
|
|
const cFont *FontTimeLineWeekday;
|
|
|
|
const cFont *FontTimeLineDate;
|
|
|
|
const cFont *FontTimeLineDateHorizontal;
|
|
|
|
const cFont *FontTimeLineTime;
|
2013-05-24 16:23:23 +02:00
|
|
|
const cFont *FontTimeLineTimeHorizontal;
|
2013-05-26 11:38:05 +02:00
|
|
|
const cFont *FontButton;
|
|
|
|
const cFont *FontDetailView;
|
|
|
|
const cFont *FontDetailHeader;
|
|
|
|
const cFont *FontMessageBox;
|
|
|
|
const cFont *FontMessageBoxLarge;
|
|
|
|
int timeFormat;
|
|
|
|
int themeIndex;
|
|
|
|
int useBlending;
|
|
|
|
int roundedCorners;
|
2013-05-26 17:44:04 +02:00
|
|
|
int displayRerunsDetailEPGView;
|
|
|
|
int numReruns;
|
|
|
|
int useSubtitleRerun;
|
2013-05-26 11:38:05 +02:00
|
|
|
void setDynamicValues(int width, int height);
|
|
|
|
bool SetupParse(const char *Name, const char *Value);
|
|
|
|
void loadTheme();
|
2013-01-17 13:16:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__TVGUIDE_CONFIG_H
|