mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
97 lines
3.1 KiB
C++
97 lines
3.1 KiB
C++
#ifndef __TVGUIDE_CONFIG_H
|
|
#define __TVGUIDE_CONFIG_H
|
|
|
|
class cTvguideConfig {
|
|
public:
|
|
cTvguideConfig();
|
|
~cTvguideConfig();
|
|
void SetLogoPath(cString path);
|
|
void SetImagesPath(cString path);
|
|
void SetGeometry(int width, int height);
|
|
void SetFonts(void);
|
|
int osdWidth;
|
|
int osdHeight;
|
|
int displayMode;
|
|
int colWidth;
|
|
int rowHeight;
|
|
int channelCols;
|
|
int channelRows;
|
|
int numGrids;
|
|
int displayTime;
|
|
int minutePixel;
|
|
int displayStatusHeader;
|
|
int statusHeaderPercent;
|
|
int statusHeaderHeight;
|
|
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 jumpChannels;
|
|
int hideChannelLogos;
|
|
int logoWidthRatio;
|
|
int logoHeightRatio;
|
|
cString logoPath;
|
|
int logoExtension;
|
|
int hideEpgImages;
|
|
int epgImageWidth;
|
|
int epgImageHeight;
|
|
cString epgImagePath;
|
|
int fontIndex;
|
|
const char *fontNameDefault;
|
|
int FontButtonDelta;
|
|
int FontDetailViewDelta;
|
|
int FontDetailHeaderDelta;
|
|
int FontMessageBoxDelta;
|
|
int FontMessageBoxLargeDelta;
|
|
int FontStatusHeaderDelta;
|
|
int FontStatusHeaderLargeDelta;
|
|
int FontChannelHeaderDelta;
|
|
int FontGridDelta;
|
|
int FontGridSmallDelta;
|
|
int FontTimeLineWeekdayDelta;
|
|
int FontTimeLineDateDelta;
|
|
int FontTimeLineTimeDelta;
|
|
int FontChannelHeaderHorizontalDelta;
|
|
int FontGridHorizontalDelta;
|
|
int FontGridHorizontalSmallDelta;
|
|
int FontTimeLineDateHorizontalDelta;
|
|
int FontTimeLineTimeHorizontalDelta;
|
|
const cFont *FontChannelHeader;
|
|
const cFont *FontChannelHeaderHorizontal;
|
|
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;
|
|
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
|