Fixed handling menu categories for plugin menus

This commit is contained in:
Klaus Schmidinger 2012-04-28 10:40:16 +02:00
parent 2cd697d146
commit 299f1f312c
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}

View File

@ -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