[Mplayer-cvslog] CVS: main/Gui/mplayer mw.h,1.67,1.68 widgets.c,1.29,1.30

Zoltan Ponekker pontscho at mplayerhq.hu
Wed Jul 3 20:57:54 CEST 2002


Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mail:/var/tmp.root/cvs-serv19612/Gui/mplayer

Modified Files:
	mw.h widgets.c 
Log Message:
add equalizer support and fix some small bug...

Index: mw.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.h,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- mw.h	2 Jul 2002 22:31:49 -0000	1.67
+++ mw.h	3 Jul 2002 18:57:51 -0000	1.68
@@ -371,7 +371,7 @@
    case evSkinBrowser: gtkShow( evSkinBrowser,skinName ); break;
    case evAbout:       gtkShow( evAbout,NULL ); break;
    case evPreferences: gtkShow( evPreferences,NULL ); break;
-   case evEqualizer:   gtkMessageBox( GTK_MB_WARNING,"Sorry, this feature is not implemented yet ..." ); break;
+   case evEqualizer:   gtkShow( evEqualizer,NULL ); break;
 
    case evForward1min:      mplRelSeek( 60 );  break;
    case evBackward1min:     mplRelSeek( -60 ); break;

Index: widgets.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/widgets.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- widgets.c	2 Jul 2002 22:31:49 -0000	1.29
+++ widgets.c	3 Jul 2002 18:57:51 -0000	1.30
@@ -46,6 +46,7 @@
 #include "gtk/opts.h"
 #include "gtk/menu.h"
 #include "gtk/url.h"
+#include "gtk/eq.h"
 
 // --- init & close gtk
 
@@ -134,6 +135,10 @@
 {
  switch( type )
   {
+   case evEqualizer:
+	ShowEqualizer();
+	gtkSetLayer( Equalizer );
+	break;
    case evSkinBrowser:
 	ShowSkinBrowser();
 //        gtkClearList( SkinList );




More information about the MPlayer-cvslog mailing list