From b36c256ad747084ba4367f4c024cd0534dbeb37c Mon Sep 17 00:00:00 2001 From: wr61 Date: Sat, 8 Jan 2005 03:49:06 +0000 Subject: ported to 1.2.6 git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@326 e10066b5-e1e2-0310-b819-94efdf66514b --- vdr_menu.c | 2 ++ vdr_menu.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/vdr_menu.c b/vdr_menu.c index e64688f..fc719a7 100644 --- a/vdr_menu.c +++ b/vdr_menu.c @@ -675,7 +675,9 @@ mgMainMenu::DisplayGoto (unsigned int select) RefreshCurrent (); } Display (); +#if VDRVERSNUM >= 10307 DisplayMenu()->SetTabs(25); +#endif } diff --git a/vdr_menu.h b/vdr_menu.h index 1a92370..834a36c 100644 --- a/vdr_menu.h +++ b/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) -- cgit v1.2.3