diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-07-09 21:22:49 +0200 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-07-09 21:22:49 +0200 |
commit | 5dedaad057490639e91fdc15e7a2d3e4043b4b05 (patch) | |
tree | c85abcdffa38e1ee54be3d5fa591ec2e04fa4cd2 /textscroller.h | |
parent | 21dd6a0a6e85cb3045188e4db813d8ceb8993140 (diff) | |
download | skin-flatplus-5dedaad057490639e91fdc15e7a2d3e4043b4b05.tar.gz skin-flatplus-5dedaad057490639e91fdc15e7a2d3e4043b4b05.tar.bz2 |
small fixes in textscroller
Diffstat (limited to 'textscroller.h')
-rw-r--r-- | textscroller.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/textscroller.h b/textscroller.h index 53ffbff7..f3cab674 100644 --- a/textscroller.h +++ b/textscroller.h @@ -54,7 +54,9 @@ public: } } + void UpdateViewPortWidth(int w); void Reset(void); + void SetText(const char *text, cRect position, tColor colorFg, tColor colorBg, cFont *font, tColor ColorExtraTextFg = 0); void DoStep(void); void Draw(void); @@ -83,5 +85,6 @@ public: void SetScrollDelay(int delay) { scrollDelay = delay; } void SetScrollType(int type) { scrollType = type; } void AddScroller(const char *text, cRect position, tColor colorFg, tColor colorBg, cFont *font, tColor ColorExtraTextFg = 0); + void UpdateViewPortWidth(int w); bool isActive(void) { return Active(); } }; |