diff gui/dialog/menu.c @ 36429:28ea255e40ce

Add support for TV/DVB to the GUI. Support is limited to a single (resp. the first) card. At the same time, add the new GUI option 'gui_tv_digital', the new GUI message 'evPlayTV' and the new GUI font symbol 'b'. Additionally, update the documentation.
author ib
date Fri, 29 Nov 2013 12:41:32 +0000
parents 139f2b064ef9
children 4634a3085efc
line wrap: on
line diff
--- a/gui/dialog/menu.c	Fri Nov 29 12:34:21 2013 +0000
+++ b/gui/dialog/menu.c	Fri Nov 29 12:41:32 2013 +0000
@@ -86,6 +86,9 @@
 #include "pixmaps/audiolang.xpm"
 #include "pixmaps/sublang.xpm"
 #endif
+#ifdef CONFIG_TV
+#include "pixmaps/tv.xpm"
+#endif
 #include "pixmaps/empty1px.xpm"
 
 int gtkPopupMenu;
@@ -561,6 +564,9 @@
        }
 #endif
     AddMenuItem( window1, (const char*)url_xpm, SubMenu,MSGTR_MENU_PlayURL, evLoadURL );
+#ifdef CONFIG_TV
+    AddMenuItem( window1, (const char*)tv_xpm, SubMenu,MSGTR_MENU_PlayTV, evPlayTV );
+#endif
     AddMenuItem( window1, (const char*)sub_xpm, SubMenu,MSGTR_MENU_LoadSubtitle"   ", evLoadSubtitle );
     AddMenuItem( window1, (const char*)nosub_xpm, SubMenu,MSGTR_MENU_DropSubtitle,evDropSubtitle );
     AddMenuItem( window1, (const char*)loadeaf_xpm, SubMenu,MSGTR_MENU_LoadExternAudioFile, evLoadAudioFile );