summaryrefslogtreecommitdiff
path: root/textwindow.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-08-21 10:26:50 +0200
committerlouis <louis.braun@gmx.de>2013-08-21 10:26:50 +0200
commit9e1fcfc0bff753031617324b5244805080be9430 (patch)
treef7a574ff7223751f4d2da9b295b90c50530e3dc8 /textwindow.h
parente99e14c6f02164f53fb5ef01cdc8f091aac1fc4a (diff)
downloadskin-nopacity-9e1fcfc0bff753031617324b5244805080be9430.tar.gz
skin-nopacity-9e1fcfc0bff753031617324b5244805080be9430.tar.bz2
Version 0.1.3, Added TVScrapper support
Diffstat (limited to 'textwindow.h')
-rw-r--r--textwindow.h17
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