mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Skins can now inquire the menu category for which their cSkinDisplayMenu is currently being used
This commit is contained in:
8
skins.c
8
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;
|
||||
|
||||
Reference in New Issue
Block a user