summaryrefslogtreecommitdiff
path: root/osdbase.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-04-08 11:52:56 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-04-08 11:52:56 +0200
commit170e05e1e651a46740ab231e43f3d33b805926ec (patch)
treefb7ac1d5c5bfd275f4a1e6a4bd5256ac65eb55d0 /osdbase.h
parentc24a89156857e91787e8a1ccaaffc085de41ae04 (diff)
downloadvdr-170e05e1e651a46740ab231e43f3d33b805926ec.tar.gz
vdr-170e05e1e651a46740ab231e43f3d33b805926ec.tar.bz2
Skins can now inquire the menu category for which their cSkinDisplayMenu is currently being used
Diffstat (limited to 'osdbase.h')
-rw-r--r--osdbase.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/osdbase.h b/osdbase.h
index b9d22ae3..4d8901ee 100644
--- a/osdbase.h
+++ b/osdbase.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osdbase.h 2.2 2012/03/02 15:49:57 kls Exp $
+ * $Id: osdbase.h 2.3 2012/04/08 11:18:38 kls Exp $
*/
#ifndef __OSDBASE_H
@@ -90,6 +90,7 @@ private:
char *title;
int cols[cSkinDisplayMenu::MaxTabs];
int first, current, marked;
+ eMenuCategory menuCategory;
cOsdMenu *subMenu;
const char *helpRed, *helpGreen, *helpYellow, *helpBlue;
bool helpDisplayed;
@@ -128,6 +129,7 @@ public:
cOsdMenu(const char *Title, int c0 = 0, int c1 = 0, int c2 = 0, int c3 = 0, int c4 = 0);
virtual ~cOsdMenu();
virtual bool NeedsFastResponse(void) { return subMenu ? subMenu->NeedsFastResponse() : cOsdObject::NeedsFastResponse(); }
+ void SetMenuCategory(eMenuCategory MenuCategory);
int Current(void) const { return current; }
void Add(cOsdItem *Item, bool Current = false, cOsdItem *After = NULL);
void Ins(cOsdItem *Item, bool Current = false, cOsdItem *Before = NULL);