summaryrefslogtreecommitdiff
path: root/enigma.h
diff options
context:
space:
mode:
Diffstat (limited to 'enigma.h')
-rw-r--r--enigma.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/enigma.h b/enigma.h
index 7bf4356..559152f 100644
--- a/enigma.h
+++ b/enigma.h
@@ -27,16 +27,26 @@ public:
};
-// common interface
-class cSkinEnigmaOsd {
+// interface for use texteffects (=threads)
+class cSkinEnigmaThreadedOsd {
friend class cEnigmaTextEffects;
public:
- virtual ~cSkinEnigmaOsd(void)
+ virtual ~cSkinEnigmaThreadedOsd(void)
{};
virtual void DrawTitle(const char *Title) = 0;
};
+// interface for common functions
+class cSkinEnigmaBaseOsd {
+
+protected:
+ cOsd *osd;
+ bool HasChannelTimerRecording(const cChannel *Channel);
+ int DrawStatusSymbols(int x0, int xs, int top, int bottom, const cChannel *Channel = NULL);
+ int FixWidth(int w, int bpp, bool enlarge = true);
+};
+
#endif //__ENIGMA_H
// vim:et:sw=2:ts=2: