diff options
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(); } }; |