summaryrefslogtreecommitdiff
path: root/recmenuitem.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-01-12 16:27:59 +0100
committerlouis <louis.braun@gmx.de>2014-01-12 16:27:59 +0100
commitd0651a4a507bbd633b30105f1fa01abe1172b311 (patch)
tree111572aba4910c496ad952e438f7b1fab246825f /recmenuitem.h
parent3121910dc1267c593d24e39e068bfa91f798603f (diff)
downloadvdr-plugin-tvguide-d0651a4a507bbd633b30105f1fa01abe1172b311.tar.gz
vdr-plugin-tvguide-d0651a4a507bbd633b30105f1fa01abe1172b311.tar.bz2
various improvements in search&rec menus
Diffstat (limited to 'recmenuitem.h')
-rw-r--r--recmenuitem.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/recmenuitem.h b/recmenuitem.h
index 8cafed6..1b14d36 100644
--- a/recmenuitem.h
+++ b/recmenuitem.h
@@ -106,8 +106,8 @@ public:
bool isActive(void) { return active; }
virtual void setBackground(void);
virtual void Draw(void) {};
- virtual void Hide(void) { pixmap->SetLayer(-1);};
- virtual void Show(void) { pixmap->SetLayer(4);};
+ virtual void Hide(void) { if (pixmap) pixmap->SetLayer(-1);};
+ virtual void Show(void) { if (pixmap) pixmap->SetLayer(4);};
virtual int GetIntValue(void) { return -1; };
virtual time_t GetTimeValue(void) { return 0; };
virtual bool GetBoolValue(void) { return false; };
@@ -168,8 +168,9 @@ private:
cString text;
cTextWrapper wrapper;
int border;
+ const cFont *fontInfo;
public:
- cRecMenuItemInfo(const char *text);
+ cRecMenuItemInfo(const char *text, bool largeFont = false);
virtual ~cRecMenuItemInfo(void);
void setBackground(void);
void CalculateHeight(int textWidth);
@@ -584,6 +585,7 @@ private:
cTVGuideSearchTimer timer;
eRecMenuState action1;
eRecMenuState action2;
+ eRecMenuState action3;
int iconActive;
cPixmap *pixmapText;
cPixmap *pixmapIcons;
@@ -592,6 +594,7 @@ public:
cRecMenuItemSearchTimer(cTVGuideSearchTimer timer,
eRecMenuState action1,
eRecMenuState action2,
+ eRecMenuState action3,
bool active);
virtual ~cRecMenuItemSearchTimer(void);
void SetPixmaps(void);