blob: 09fedc4bfa9376a884d9a853dabb1c46ca86f312 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
|