vdr-plugin-tvguide/config.h

126 lines
4.1 KiB
C
Raw Normal View History

2013-01-17 13:16:44 +01:00
#ifndef __TVGUIDE_CONFIG_H
#define __TVGUIDE_CONFIG_H
class cTvguideConfig {
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-07-09 00:17:42 +02:00
void SetIconsPath(cString path);
void SetBlending(void);
int showMainMenuEntry;
int replaceOriginalSchedule;
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;
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;
int displayStatusHeader;
2013-05-31 13:58:22 +02:00
int displayChannelGroups;
int statusHeaderPercent;
int statusHeaderHeight;
2013-05-31 13:58:22 +02:00
int channelGroupsPercent;
int channelGroupsWidth;
int channelGroupsHeight;
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;
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;
int numAdditionalEPGPictures;
int epgImageWidthLarge;
int epgImageHeightLarge;
2013-05-26 11:38:05 +02:00
cString epgImagePath;
2013-07-09 00:17:42 +02:00
cString iconPath;
int recMenuAskFolder;
2013-05-26 11:38:05 +02:00
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-07-09 00:17:42 +02:00
int FontRecMenuItemDelta;
int FontRecMenuItemSmallDelta;
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;
2013-07-09 00:17:42 +02:00
const cFont *FontRecMenuItem;
const cFont *FontRecMenuItemSmall;
2013-05-26 11:38:05 +02:00
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