Colors: init global color gradient implementation

Origin commit data
------------------
Branch: ni/coolstream
Commit: 523b273af8
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-19 (Thu, 19 Nov 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2015-11-19 15:59:48 +01:00
parent 3a2e7b85f8
commit 9f101bddbc
18 changed files with 725 additions and 361 deletions

View File

@@ -52,6 +52,8 @@ class CInfoViewer
CFrameBuffer * frameBuffer;
CInfoViewerBB* infoViewerBB;
CComponentsFrmClock *clock;
CComponentsShapeSquare *header , *numbox, *body, *rec;
CComponentsTextTransp *txt_cur_start, *txt_cur_event, *txt_cur_event_rest, *txt_next_start, *txt_next_event, *txt_next_in;
bool gotTime;
bool recordModeActive;
@@ -90,7 +92,7 @@ class CInfoViewer
int time_width;
int time_height;
int info_time_width;
int header_height;
bool newfreq ;
static const short bar_width = 72;
static event_id_t last_curr_id, last_next_id;
@@ -101,15 +103,18 @@ class CInfoViewer
CChannelEventList::iterator eli;
int lastsnr, lastsig, lasttime;
CProgressBar *snrscale, *sigscale, *timescale;
CProgressBar *timescale;
CSignalBox *sigbox;
bool casysChange;
bool channellogoChange;
uint32_t lcdUpdateTimer;
void paintBackground(int col_Numbox);
void paintHead();
void paintBody();
void show_Data( bool calledFromEvent = false );
void display_Info(const char *current, const char *next, bool UTF8 = true,
void display_Info(const char *current, const char *next,
bool starttimes = true, const int pb_pos = -1,
const char *runningStart = NULL, const char *runningRest = NULL,
const char *nextStart = NULL, const char *nextDuration = NULL,
@@ -174,12 +179,14 @@ class CInfoViewer
int handleMsg(const neutrino_msg_t msg, neutrino_msg_data_t data);
void clearVirtualZapMode() {virtual_zap_mode = false;}
void changePB();
void ResetPB();
void showSNR();
void Init(void);
bool SDT_freq_update;
void setUpdateTimer(uint64_t interval);
uint32_t getUpdateTimer(void) { return lcdUpdateTimer; }
inline t_channel_id get_current_channel_id(void) { return current_channel_id; }
void ResetModules();
};
#if 0
class CInfoViewerHandler : public CMenuTarget