summaryrefslogtreecommitdiff
path: root/skins.c
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 /skins.c
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 'skins.c')
-rw-r--r--skins.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/skins.c b/skins.c
index b9c55ef4..4ec23835 100644
--- a/skins.c
+++ b/skins.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skins.c 2.5 2012/03/11 14:36:11 kls Exp $
+ * $Id: skins.c 2.6 2012/04/08 11:38:57 kls Exp $
*/
#include "skins.h"
@@ -67,9 +67,15 @@ cSkinDisplay::~cSkinDisplay()
cSkinDisplayMenu::cSkinDisplayMenu(void)
{
+ menuCategory = mcUnknown;
SetTabs(0);
}
+void cSkinDisplayMenu::SetMenuCategory(eMenuCategory MenuCategory)
+{
+ menuCategory = MenuCategory;
+}
+
void cSkinDisplayMenu::SetTabs(int Tab1, int Tab2, int Tab3, int Tab4, int Tab5)
{
tabs[0] = 0;