diff options
| -rw-r--r-- | muggle-plugin/vdr_menu.c | 2 | ||||
| -rw-r--r-- | muggle-plugin/vdr_menu.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/muggle-plugin/vdr_menu.c b/muggle-plugin/vdr_menu.c index e64688f..fc719a7 100644 --- a/muggle-plugin/vdr_menu.c +++ b/muggle-plugin/vdr_menu.c @@ -675,7 +675,9 @@ mgMainMenu::DisplayGoto (unsigned int select) RefreshCurrent (); } Display (); +#if VDRVERSNUM >= 10307 DisplayMenu()->SetTabs(25); +#endif } diff --git a/muggle-plugin/vdr_menu.h b/muggle-plugin/vdr_menu.h index 1a92370..834a36c 100644 --- a/muggle-plugin/vdr_menu.h +++ b/muggle-plugin/vdr_menu.h @@ -174,11 +174,13 @@ class mgMainMenu:public cOsdMenu //! \brief clears the screen, sets a title and buttons with text on them void InitOsd (const char *title,const bool hashotkeys); +#if VDRVERSNUM >= 10307 //! \brief expose the protected DisplayMenu() from cOsdMenu cSkinDisplayMenu *DisplayMenu(void) { return cOsdMenu::DisplayMenu(); } +#endif //! \brief expose the protected cOsdMenu::hk() const char *hk (const char *s) |
