summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-06-30 18:20:31 +0200
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-06-30 18:20:31 +0200
commit6ddb70e008d1b82890936f4ee40d37fe789b4e61 (patch)
treeb782ec77380d3a3b38bb7a89b4291c402eebe745
parentdf1bbb5136b0d5a5aa49917e77073e7c4818428b (diff)
downloadskin-flatplus-6ddb70e008d1b82890936f4ee40d37fe789b4e61.tar.gz
skin-flatplus-6ddb70e008d1b82890936f4ee40d37fe789b4e61.tar.bz2
clear topbar scroller
-rw-r--r--baserender.c2
-rw-r--r--textscroller.h1
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;