From 587fbe1f449b86f887431ed1ca7d2c2674f8987a Mon Sep 17 00:00:00 2001 From: kamel5 Date: Sun, 13 Oct 2019 13:31:40 +0200 Subject: [PATCH] Fixed updating current TimeBase --- timeline.h | 8 ++++---- tvguideosd.c | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/timeline.h b/timeline.h index 7c424e8..d687574 100644 --- a/timeline.h +++ b/timeline.h @@ -17,13 +17,13 @@ private: void decorateTile(int posX, int posY, int tileWidth, int tileHeight); void drawRoundedCorners(int posX, int posY, int width, int height, int radius); cImage *createBackgroundImage(int width, int height, tColor clrBgr, tColor clrBlend); - void drawCurrentTimeBase(void); public: cTimeLine(cTimeManager *timeManager); virtual ~cTimeLine(void); - void setTimeline(); - void drawDateViewer(); - void drawTimeline(); + void setTimeline(void); + void drawDateViewer(void); + void drawTimeline(void); + void drawCurrentTimeBase(void); bool drawClock(); }; diff --git a/tvguideosd.c b/tvguideosd.c index f35bdbc..cd86544 100644 --- a/tvguideosd.c +++ b/tvguideosd.c @@ -775,6 +775,7 @@ eOSState cTvGuideOsd::ProcessKey(eKeys Key) { default: break; } if (timeLine->drawClock()) { + timeLine->drawCurrentTimeBase(); osdManager.flush(); } }