diff options
author | louis <louis.braun@gmx.de> | 2013-01-17 13:16:44 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-01-17 13:16:44 +0100 |
commit | 47c3fea545a1b4607deda1e7d2fa51cbcf89a656 (patch) | |
tree | 4109469360bfb71ce467c240a33d0738ad44c18e /messagebox.h | |
download | vdr-plugin-tvguide-47c3fea545a1b4607deda1e7d2fa51cbcf89a656.tar.gz vdr-plugin-tvguide-47c3fea545a1b4607deda1e7d2fa51cbcf89a656.tar.bz2 |
Initial push tvguide 0.0.1
Diffstat (limited to 'messagebox.h')
-rw-r--r-- | messagebox.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/messagebox.h b/messagebox.h new file mode 100644 index 0000000..8b9ab23 --- /dev/null +++ b/messagebox.h @@ -0,0 +1,31 @@ +#ifndef __TVGUIDE_MESSAGEBOX_H
+#define __TVGUIDE_MESSAGEBOX_H
+
+class cMessageBoxThreadPool;
+
+// --- cMessageBox -------------------------------------------------------------
+
+class cMessageBoxThread : public cThread {
+private:
+ cPixmap *content;
+ int FadeTime;
+ int FrameTime;
+ int displayTime;
+ virtual void Action(void);
+public:
+ cMessageBoxThread(cPixmap *content, int displayTime);
+ virtual ~cMessageBoxThread(void);
+};
+
+class cMessageBox {
+private:
+ static cMutex mutex;
+ static cMessageBoxThread *msgboxThread;
+ static cPixmap *content;
+public:
+ static bool Start(int displayTime, cString msg);
+ static void Stop(void);
+ static void Destroy(void);
+};
+
+#endif //__TVGUIDE_MESSAGEBOX_H
\ No newline at end of file |