diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-06-30 18:20:31 +0200 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-06-30 18:20:31 +0200 |
commit | 6ddb70e008d1b82890936f4ee40d37fe789b4e61 (patch) | |
tree | b782ec77380d3a3b38bb7a89b4291c402eebe745 | |
parent | df1bbb5136b0d5a5aa49917e77073e7c4818428b (diff) | |
download | skin-flatplus-6ddb70e008d1b82890936f4ee40d37fe789b4e61.tar.gz skin-flatplus-6ddb70e008d1b82890936f4ee40d37fe789b4e61.tar.bz2 |
clear topbar scroller
-rw-r--r-- | baserender.c | 2 | ||||
-rw-r--r-- | textscroller.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/baserender.c b/baserender.c index 233d397e..fa79a01d 100644 --- a/baserender.c +++ b/baserender.c @@ -126,6 +126,7 @@ void cFlatBaseRender::TopBarCreate(void) { topBarScroller.SetScrollStep( Config.ScrollerStep ); topBarScroller.SetScrollDelay( Config.ScrollerDelay ); topBarScroller.SetScrollType( Config.ScrollerType ); + topBarScroller.Clear(); if( Config.DiskUsageShow == 3) TopBarEnableDiskUsage(); @@ -377,6 +378,7 @@ void cFlatBaseRender::TopBarUpdate(void) { } TitleWidth = TitleWidthLeft; } else { + topBarScroller.Clear(); /* int dotsWidth = topBarFont->Width("... "); cTextWrapper TitleWrapper(topBarTitle, topBarFont, TitleWidthLeft - dotsWidth); topBarTitle = TitleWrapper.GetLine(0); diff --git a/textscroller.h b/textscroller.h index 4e428987..b782ad81 100644 --- a/textscroller.h +++ b/textscroller.h @@ -34,7 +34,6 @@ public: isReserveStep = false; WAITSTEPS = waitsteps; ResetX = false; - dsyslog("waitSteps: %d", waitSteps); } cTextScroll(cOsd *osd, int type, int pixels, int waitsteps) { Font = NULL; |