diff options
Diffstat (limited to 'textwindow.h')
-rw-r--r-- | textwindow.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/textwindow.h b/textwindow.h index 321a0fe..e499553 100644 --- a/textwindow.h +++ b/textwindow.h @@ -7,20 +7,31 @@ private: cPixmap *pixmapBackground; cPixmap *pixmap; cRect *geometry; + int drawportHeight; cRect *vidWin; cRect oldVidWin; bool scaledWindow; cString text; - cTextWrapper twText; - bool CreatePixmap(int border); - void DrawText(int border); + cTextWrapper twTextTall; + cTextWrapper twTextFull; + bool drawTextTall; + bool drawTextFull; + bool hasPoster; + TVScrapperGetPoster poster; + int posterWidth, posterHeight; + bool SetTextScroller(int border, int left); + void CreatePixmap(void); + void DrawText(int border, int left); + void DrawPoster(int border); void DoSleep(int duration); virtual void Action(void); + void ScaleVideoWindow(void); public: cNopacityTextWindow(cOsd *osd, cFont *font, cRect *vidWin); virtual ~cNopacityTextWindow(void); void SetGeometry(cRect *geo) {geometry = geo;}; void SetText(cString Text) {text = Text;}; + void SetPoster(const cEvent *event, bool isRecording); }; #endif //__NOPACITY_TEXTWINDOW_H
\ No newline at end of file |