- 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 is contained in:
svenhoefer
2013-05-27 12:03:08 +02:00
parent 8e46f63900
commit c557c03695
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);