diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-04-08 11:52:56 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-04-08 11:52:56 +0200 |
commit | 170e05e1e651a46740ab231e43f3d33b805926ec (patch) | |
tree | fb7ac1d5c5bfd275f4a1e6a4bd5256ac65eb55d0 /skins.c | |
parent | c24a89156857e91787e8a1ccaaffc085de41ae04 (diff) | |
download | vdr-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.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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; |