Fixed updating current TimeBase

This commit is contained in:
kamel5 2019-10-13 13:31:40 +02:00
parent 9173d14b10
commit 587fbe1f44
2 changed files with 5 additions and 4 deletions

View File

@ -17,13 +17,13 @@ private:
void decorateTile(int posX, int posY, int tileWidth, int tileHeight); void decorateTile(int posX, int posY, int tileWidth, int tileHeight);
void drawRoundedCorners(int posX, int posY, int width, int height, int radius); void drawRoundedCorners(int posX, int posY, int width, int height, int radius);
cImage *createBackgroundImage(int width, int height, tColor clrBgr, tColor clrBlend); cImage *createBackgroundImage(int width, int height, tColor clrBgr, tColor clrBlend);
void drawCurrentTimeBase(void);
public: public:
cTimeLine(cTimeManager *timeManager); cTimeLine(cTimeManager *timeManager);
virtual ~cTimeLine(void); virtual ~cTimeLine(void);
void setTimeline(); void setTimeline(void);
void drawDateViewer(); void drawDateViewer(void);
void drawTimeline(); void drawTimeline(void);
void drawCurrentTimeBase(void);
bool drawClock(); bool drawClock();
}; };

View File

@ -775,6 +775,7 @@ eOSState cTvGuideOsd::ProcessKey(eKeys Key) {
default: break; default: break;
} }
if (timeLine->drawClock()) { if (timeLine->drawClock()) {
timeLine->drawCurrentTimeBase();
osdManager.flush(); osdManager.flush();
} }
} }