From 5dedaad057490639e91fdc15e7a2d3e4043b4b05 Mon Sep 17 00:00:00 2001 From: Martin Schirrmacher Date: Wed, 9 Jul 2014 21:22:49 +0200 Subject: small fixes in textscroller --- textscroller.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'textscroller.h') 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(); } }; -- cgit v1.2.3