summaryrefslogtreecommitdiff
path: root/textwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'textwindow.h')
-rw-r--r--textwindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/textwindow.h b/textwindow.h
index 5475da7..321a0fe 100644
--- a/textwindow.h
+++ b/textwindow.h
@@ -10,7 +10,7 @@ private:
cRect *vidWin;
cRect oldVidWin;
bool scaledWindow;
- const char *text;
+ cString text;
cTextWrapper twText;
bool CreatePixmap(int border);
void DrawText(int border);
@@ -20,7 +20,7 @@ public:
cNopacityTextWindow(cOsd *osd, cFont *font, cRect *vidWin);
virtual ~cNopacityTextWindow(void);
void SetGeometry(cRect *geo) {geometry = geo;};
- void SetText(const char *Text) {text = Text;};
+ void SetText(cString Text) {text = Text;};
};
#endif //__NOPACITY_TEXTWINDOW_H \ No newline at end of file