summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h39
1 files changed, 38 insertions, 1 deletions
diff --git a/setup.h b/setup.h
index 22c66d5..73cbee4 100644
--- a/setup.h
+++ b/setup.h
@@ -2,6 +2,13 @@
#define __SKINDESIGNER_SETUP_H
#include "config.h"
+#include "libskindesignerapi/skindesignerosdbase.h"
+
+enum eItemType {
+ itSkinSetup,
+ itNoSkinSetup,
+ itSkinRepo
+};
// --- cSkinDesignerSetup -----------------------------------------------------------
@@ -23,13 +30,27 @@ private:
virtual eOSState ProcessKey(eKeys Key);
cOsdItem *InfoItem(const char *label);
void PluginSetup(void);
- void SkinSetup(void);
void ImageCacheStatistics(void);
+ void SkinSetup(void);
+ void InstallSkins(void);
public:
cSkinDesignerSetup(void);
virtual ~cSkinDesignerSetup();
};
+// --- cSkinMenuItem -----------------------------------------------------------
+
+class cSkinMenuItem : public cOsdItem {
+private:
+ string skinName;
+ eItemType type;
+public:
+ cSkinMenuItem(string skinName, string displayText, eItemType type);
+ virtual ~cSkinMenuItem() {};
+ string GetSkinName(void) { return skinName; };
+ eItemType Type(void) { return type; };
+};
+
// --- cSkinSetupSubMenu -----------------------------------------------------------
class cSkinSetupSubMenu : public cOsdItem {
@@ -55,4 +76,20 @@ public:
virtual ~cSkindesignerSkinSetup();
};
+// --- cSkindesignerSkinPreview -----------------------------------------------------------
+
+class cSkindesignerSkinPreview : public skindesignerapi::cSkindesignerOsdMenu {
+private:
+ string skinName;
+protected:
+ virtual eOSState ProcessKey(eKeys Key);
+ void Set(void);
+ bool InstallSkin(void);
+ string CheckFontInstalled(string fontName);
+public:
+ cSkindesignerSkinPreview(string skin);
+ virtual ~cSkindesignerSkinPreview();
+ void Display(void);
+};
+
#endif //__SKINDESIGNER_SETUP_H \ No newline at end of file