diff options
author | louis <louis.braun@gmx.de> | 2012-12-29 13:29:10 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2012-12-29 13:29:10 +0100 |
commit | c7fd4e9eaea25ac7b2a593e5402d52614e1df944 (patch) | |
tree | 5031bbc72986995154e24b552504deffd5704f63 /textwindow.h | |
parent | 7c2a71393299eed572c1b4dfc2f35a7819e8843b (diff) | |
download | skin-nopacity-c7fd4e9eaea25ac7b2a593e5402d52614e1df944.tar.gz skin-nopacity-c7fd4e9eaea25ac7b2a593e5402d52614e1df944.tar.bz2 |
Version 0.0.5
Diffstat (limited to 'textwindow.h')
-rw-r--r-- | textwindow.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/textwindow.h b/textwindow.h new file mode 100644 index 0000000..09fedc4 --- /dev/null +++ b/textwindow.h @@ -0,0 +1,22 @@ +#ifndef __NOPACITY_TEXTWINDOW_H +#define __NOPACITY_TEXTWINDOW_H +class cNopacityTextWindow : public cThread { +private: + cOsd *osd; + cFont *font; + cPixmap *pixmap; + cRect *geometry; + const char *text; + cTextWrapper twText; + bool CreatePixmap(int border); + void DrawText(int border); + void DoSleep(int duration); + virtual void Action(void); +public: + cNopacityTextWindow(cOsd *osd, cFont *font); + virtual ~cNopacityTextWindow(void); + void SetGeometry(cRect *geo) {geometry = geo;}; + void SetText(const char *Text) {text = Text;}; +}; + +#endif //__NOPACITY_TEXTWINDOW_H
\ No newline at end of file |