summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2007-06-11 12:57:02 +0200
committerAndreas Mair <amair.sob@googlemail.com>2007-06-11 12:57:02 +0200
commit24439e72e8b0d13bccce21e19a28d70d1bd98760 (patch)
tree40114ac9918d904e640900e3845f65243a2319ac /setup.h
parentc562d549bc6274265991eec634f99b1e311323df (diff)
downloadvdr-plugin-skinenigmang-24439e72e8b0d13bccce21e19a28d70d1bd98760.tar.gz
vdr-plugin-skinenigmang-24439e72e8b0d13bccce21e19a28d70d1bd98760.tar.bz2
2007-06-11: Version 0.0.5rcv0.0.5rc
- Fixed possible crash in recording's details. - Added MoBuntu theme (Submitted by Morone @vdr-portal.de). - Added Blue, Blue2, Blue3 and Coolblue theme (Submitted by Uwe @vdr-portal.de). - Added support for TrueTypeFonts (based on graphtft and text2skin plugins). - Added support for new epgsearch tags. - Updated French translation. (Submitted by pat @vdr-portal.de) - Changed size calculation for scrollbars. - Add setup options to individually set the fonts to use. See README for details. - Set used colors for every area in menu OSD when using multiple areas. - Reworked multiple areas mode in menu OSD. - Do not disable logos/symbols/flags if 4bpp single area is configured in setup. - Replaced setup options "One area (if possible)" and "Bpp in single area" by option "Try 8bpp single areas". - Unified appearance of error/info/status messages in all OSDs. - Added setup option to selectively enable scrolling text. - Added setup option to selectively enable logos in the different OSDs. - Added text effects (e.g. scrolling and blinking) for selected text. - Removed clrMenuHighlight, clrMessageBorder, clrMenuItemCurrentFg, clrMenuEventTitle, clrMenuEventShortText, clrMenuScrollbarTotal and clrMenuScrollbarShown in themes. - Fixed height of title/subtitle box in EPG & recording details. - Recognize mediamanager plugin in mainmenu logos. - Don't cut info line in EPG & recording details at logo area's left edge. - Updated Russian translation (Submitted by neptunvasja @vdr-portal.de). - Added Dutch translation (Submitted by dorpsgek @vdr-portal.de). - Various bugfixes and graphical changes.
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h111
1 files changed, 111 insertions, 0 deletions
diff --git a/setup.h b/setup.h
new file mode 100644
index 0000000..de4f019
--- /dev/null
+++ b/setup.h
@@ -0,0 +1,111 @@
+/*
+ * setup.h: 'EnigmaNG' skin for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ */
+
+#include "common.h"
+#include "config.h"
+#include <vdr/plugin.h>
+
+class cPluginSkinEnigmaSetup : public cMenuSetupPage {
+private:
+ cEnigmaConfig data;
+
+ virtual void Setup(void);
+ void AddCategory(const char *Title);
+protected:
+ virtual eOSState ProcessKey(eKeys Key);
+ virtual void Store(void);
+public:
+ cPluginSkinEnigmaSetup(void);
+};
+
+class cMenuSetupSubMenu : public cOsdMenu {
+protected:
+ cEnigmaConfig *data;
+ virtual eOSState ProcessKey(eKeys Key);
+ virtual void Set(void) = 0;
+public:
+ cMenuSetupSubMenu(const char *Title, cEnigmaConfig *Data);
+};
+
+class cMenuSetupGeneral : public cMenuSetupSubMenu {
+private:
+ const char *showRemainingTexts[3];
+ const char *showRecSizeTexts[3];
+protected:
+ virtual eOSState ProcessKey(eKeys Key);
+ void Set(void);
+public:
+ cMenuSetupGeneral(cEnigmaConfig *Data);
+};
+
+class cMenuSetupLogos : public cMenuSetupSubMenu {
+private:
+ const char *showSymbolsTexts[4];
+ const char *resizeImagesTexts[3];
+#ifdef USE_PLUGIN_MAILBOX
+ const char *showMailIconTexts[3];
+#endif
+protected:
+ virtual eOSState ProcessKey(eKeys Key);
+ void Set(void);
+public:
+ cMenuSetupLogos(cEnigmaConfig *Data);
+};
+
+#ifndef DISABLE_ANIMATED_TEXT
+class cMenuSetupAnimText : public cMenuSetupSubMenu {
+private:
+ const char *scrollModeTexts[2];
+protected:
+ virtual eOSState ProcessKey(eKeys Key);
+ void Set(void);
+public:
+ cMenuSetupAnimText(cEnigmaConfig *Data);
+};
+#endif
+
+#ifdef HAVE_FREETYPE
+class cMenuSetupTTF : public cOsdMenu {
+private:
+ FontInfo *data;
+ int nFont;
+ int nWidth;
+ int nSize;
+ const char **availTTFs;
+ int nMaxTTFs;
+protected:
+ virtual eOSState ProcessKey(eKeys Key);
+ void Set(void);
+ void Store(void);
+public:
+ cMenuSetupTTF(FontInfo *fontinfo);
+};
+
+#endif
+
+class cMenuSetupFonts : public cMenuSetupSubMenu {
+protected:
+ virtual eOSState ProcessKey(eKeys Key);
+ void Set(void);
+public:
+ cMenuSetupFonts(cEnigmaConfig *Data);
+ virtual ~cMenuSetupFonts(void);
+};
+
+#ifdef SKINENIGMA_HAVE_EPGSEARCH
+class cMenuSetupEpgSearch : public cMenuSetupSubMenu {
+private:
+ const char *useSubtitleRerunTexts[3];
+protected:
+ virtual eOSState ProcessKey(eKeys Key);
+ void Set(void);
+public:
+ cMenuSetupEpgSearch(cEnigmaConfig *Data);
+};
+#endif
+
+// vim:et:sw=2:ts=2: