From 4b51af06327270caa4f38c31f28cdfbc1baabc4e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 27 Nov 2012 02:11:15 +0100 Subject: Initial push nOpacity 0.0.3 --- config.h | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 config.h (limited to 'config.h') diff --git a/config.h b/config.h new file mode 100644 index 0000000..507968d --- /dev/null +++ b/config.h @@ -0,0 +1,109 @@ +#ifndef __NOPACITY_CONFIG_H +#define __NOPACITY_CONFIG_H + +class cNopacityConfig { + private: + public: + cNopacityConfig(); + ~cNopacityConfig(); + bool SetupParse(const char *Name, const char *Value); + void SetLogoPath(cString path); + void SetIconPath(cString path); + void SetEpgImagePath(cString path); + bool logoPathSet; + bool epgImagePathSet; + bool iconPathSet; + cString logoPathDefault; + cString iconPathDefault; + cString epgImagePathDefault; + void setDynamicValues(); + //Common + int fontIndex; + const char *fontDefaultName; + char *fontName; + cString logoPath; + cString logoExtension; + cString iconPath; + cString epgImagePath; + bool mainMenuEntry; + //DisplayChannel + int channelHeight; + int channelBorderVertical; + int channelBorderBottom; + int channelFadeTime; + int channelFrameTime; + int logoWidth; + int logoHeight; + int logoBorder; + int displaySignalStrength; + int fontChannelHeaderSize; + int fontChannelDateSize; + int fontEPGSize; + int fontEPGSmallSize; + int resolutionIconSize; + //DisplayReplay + int replayHeight; + int replayBorderVertical; + int replayBorderBottom; + int replayFadeTime; + int replayFrameTime; + int fontReplayHeader; + int fontReplay; + //Display Message + int messageWidth; + int messageHeight; + int messageBorderBottom; + int fontMessage; + int messageFadeTime; + int messageFrameTime; + //DisplayTracks + int tracksFadeTime; + int tracksFrameTime; + int tracksWidth; + int tracksHeight; + int tracksPosition; + int tracksBorderHorizontal; + int tracksBorderVertical; + int fontTracksHeader; + int fontTracks; + //DisplayVolume + int volumeFadeTime; + int volumeFrameTime; + int volumeWidth; + int volumeHeight; + int fontVolume; + //DisplayMenu + int scalePicture; + int menuFadeTime; + int menuFrameTime; + int menuWidthNarrow; + int menuWidthRightItems; + int headerHeight; + int footerHeight; + int numDefaultMenuItems; + int iconHeight; + int headerIconHeight; + int menuItemLogoWidth; + int menuItemLogoHeight; + int menuHeaderLogoWidth; + int menuHeaderLogoHeight; + int detailViewLogoWidth; + int detailViewLogoHeight; + int epgImageWidth; + int epgImageHeight; + int fontHeader; + int fontDate; + int fontMenuitemLarge; + int fontMenuitemSchedule; + int fontMenuitemDefault; + int fontDiskUsage; + int fontTimersHead; + int fontTimers; + int fontButtons; + int fontMessageMenu; + int fontDetailView; + int fontDetailViewHeader; + int fontDetailViewHeaderLarge; +}; + +#endif //__NOPACITY_CONFIG_H \ No newline at end of file -- cgit v1.2.3