CInfoViewer: rework init and paint of clock

This removes some dimension assignments in start() because of
already existant and usable dimension values that comes directly
from clock object.


Origin commit data
------------------
Branch: ni/coolstream
Commit: a58bd6c235
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-19 (Fri, 19 Dec 2014)



------------------
This commit was generated by Migit
This commit is contained in:
2014-12-19 09:11:05 +01:00
committed by vanhofen
parent 39d52d626c
commit b9977c2382
2 changed files with 22 additions and 27 deletions

View File

@@ -115,8 +115,8 @@ 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 initClock();
void paintTime( bool show_dot );
void showRecordIcon(const bool show);
void showIcon_Tuner() const;