blob: 321a0fe5c37cd79685911a99e38fb55454726e46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef __NOPACITY_TEXTWINDOW_H
#define __NOPACITY_TEXTWINDOW_H
class cNopacityTextWindow : public cThread {
private:
cOsd *osd;
cFont *font;
cPixmap *pixmapBackground;
cPixmap *pixmap;
cRect *geometry;
cRect *vidWin;
cRect oldVidWin;
bool scaledWindow;
cString 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, cRect *vidWin);
virtual ~cNopacityTextWindow(void);
void SetGeometry(cRect *geo) {geometry = geo;};
void SetText(cString Text) {text = Text;};
};
#endif //__NOPACITY_TEXTWINDOW_H
|