diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-04-28 10:40:16 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-04-28 10:40:16 +0200 |
commit | 299f1f312c3a7ffdda9ff798fab6b73fd53842ec (patch) | |
tree | c5ea9d4d6b8fbad3ea951d902aa433638cdd23d6 | |
parent | 2cd697d14655742325275e3317016f64f3126e12 (diff) | |
download | vdr-299f1f312c3a7ffdda9ff798fab6b73fd53842ec.tar.gz vdr-299f1f312c3a7ffdda9ff798fab6b73fd53842ec.tar.bz2 |
Fixed handling menu categories for plugin menus
-rw-r--r-- | skins.c | 4 | ||||
-rw-r--r-- | skins.h | 4 |
2 files changed, 4 insertions, 4 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.6 2012/04/08 11:38:57 kls Exp $ + * $Id: skins.c 2.7 2012/04/28 10:40:16 kls Exp $ */ #include "skins.h" @@ -67,7 +67,7 @@ cSkinDisplay::~cSkinDisplay() cSkinDisplayMenu::cSkinDisplayMenu(void) { - menuCategory = mcUnknown; + menuCategory = mcUndefined; SetTabs(0); } @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: skins.h 2.3 2012/04/08 11:24:59 kls Exp $ + * $Id: skins.h 2.4 2012/04/28 10:39:54 kls Exp $ */ #ifndef __SKINS_H @@ -72,7 +72,7 @@ public: */ }; -enum eMenuCategory { mcUnknown = 0, mcMain, mcSchedule, mcChannel, mcTimer, mcRecording, mcPlugin, mcSetup, mcCommand, mcEvent, mcText, mcFolder, mcCam }; +enum eMenuCategory { mcUndefined = -1, mcUnknown = 0, mcMain, mcSchedule, mcChannel, mcTimer, mcRecording, mcPlugin, mcSetup, mcCommand, mcEvent, mcText, mcFolder, mcCam }; class cSkinDisplayMenu : public cSkinDisplay { ///< This class implements the general purpose menu display, which is |