CInfoViewer: show time with CComponentsFrmClock object

This replaces old code that displayed time in infobar.
This commit is contained in:
2013-11-26 11:56:23 +01:00
parent c83263d5cd
commit ef374d7f8d
2 changed files with 22 additions and 28 deletions

View File

@@ -44,6 +44,7 @@
#include <gui/infoviewer_bb.h>
#include <string>
#include <zapit/channel.h>
#include <gui/components/cc.h>
class CInfoViewer
{
@@ -51,6 +52,7 @@ class CInfoViewer
CFrameBuffer * frameBuffer;
CInfoViewerBB* infoViewerBB;
CComponentsFrmClock *clock;
bool gotTime;
bool recordModeActive;
@@ -116,7 +118,7 @@ class CInfoViewer
const char *runningStart = NULL, const char *runningRest = NULL,
const char *nextStart = NULL, const char *nextDuration = NULL,
bool update_current = true, bool update_next = true);
void paintTime( bool show_dot, bool firstPaint );
void paintTime( bool show_dot );
void showRecordIcon(const bool show);
void showIcon_Tuner() const;