timerlist: rework gui stuff

* add shadow
* change some calculations to be more equal to other windows
* get footerheight from paintButtons methode
* change ok button to blue button in footer
* blue button has same function as ok button
* init members in contructor
* remove unused code
* change rotating colors because COL_MENUCONTENTDARK_PLUS_0
 is used for shadow
* replace info button with dummy if timer is not type REC or ZAP
* sort member variables in header


Origin commit data
------------------
Branch: ni/coolstream
Commit: c557c03695
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-05-27 (Mon, 27 May 2013)

Origin message was:
------------------
- timerlist: rework gui stuff

* add shadow
* change some calculations to be more equal to other windows
* get footerheight from paintButtons methode
* change ok button to blue button in footer
* blue button has same function as ok button
* init members in contructor
* remove unused code
* change rotating colors because COL_MENUCONTENTDARK_PLUS_0
 is used for shadow
* replace info button with dummy if timer is not type REC or ZAP
* sort member variables in header


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2013-05-27 12:03:08 +02:00
parent e7da096348
commit c4167f4a4d
2 changed files with 70 additions and 61 deletions

View File

@@ -45,14 +45,18 @@
class CTimerList : public CMenuTarget
{
private:
CFrameBuffer *frameBuffer;
unsigned int selected;
unsigned int liststart;
unsigned int listmaxshow;
int fheight; // Fonthoehe Timerlist-Inhalt
int theight; // Fonthoehe Timerlist-Titel
int buttonHeight;
bool visible;
CFrameBuffer *frameBuffer;
int x;
int y;
int width;
int height;
int fheight; // fontheight content
int theight; // fontheight titel
int footerHeight;
unsigned int selected;
unsigned int liststart;
unsigned int listmaxshow;
bool visible;
CTimerdClient *Timer;
CTimerd::TimerList timerlist; // List of timers
@@ -66,11 +70,6 @@ class CTimerList : public CMenuTarget
int timer_apids_ac3;
int timer_apids_alt;
int width;
int height;
int x;
int y;
int skipEventID;
void paintItem(int pos);