[Mplayer-cvslog] CVS: main/Gui/mplayer mw.h,1.30,1.31 sw.h,1.19,1.20 widgets.h,1.6,1.7

Zoltan Ponekker pontscho at mplayer.dev.hu
Wed Nov 14 17:05:35 CET 2001


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

Modified Files:
	mw.h sw.h widgets.h 
Log Message:
rewrite some header meg jol csinaltam menu -t koepso gombra gonosz mod ( bocs, tom, nem angol).

Index: mw.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- mw.h	12 Nov 2001 15:16:13 -0000	1.30
+++ mw.h	14 Nov 2001 16:05:33 -0000	1.31
@@ -468,6 +468,10 @@
           mplMainRender=1;
           itemtype=0;
           break;
+	  
+   case wsPMMouseButton:
+        gtkSendMessage( evShowPopUpMenu );
+	break;	  
 
 // --- rolled mouse ... de szar :)))
    case wsP5MouseButton: value=-2.5f; goto rollerhandled;

Index: sw.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/sw.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- sw.h	12 Nov 2001 15:16:13 -0000	1.19
+++ sw.h	14 Nov 2001 16:05:33 -0000	1.20
@@ -35,6 +35,9 @@
 
  switch( Button )
   {
+   case wsPMMouseButton:
+        gtkSendMessage( evShowPopUpMenu );
+	break;
    case wsPRMouseButton:
           mplShowMenu( RX,RY );
           msButton=wsPRMouseButton;

Index: widgets.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/widgets.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- widgets.h	20 Sep 2001 10:27:24 -0000	1.6
+++ widgets.h	14 Nov 2001 16:05:33 -0000	1.7
@@ -15,8 +15,8 @@
 
 typedef struct
 {
- char dir[ 1024 ];
- char filename[ 1024 ];
+ char dir[ 2048 ];
+ char filename[ 2048 ];
 } gtkFileSelectorStruct;
 
 typedef struct
@@ -61,6 +61,7 @@
 extern GtkWidget     * FileSelect;
 extern GtkWidget     * AboutBox;
 extern GtkWidget     * Options;
+extern GtkWidget     * PopUpMenu;
 
 extern GtkWidget     * MessageBox;
 
@@ -76,6 +77,7 @@
 extern int             gtkVisibleMessageBox;
 extern int             gtkVisibleAboutBox;
 extern int             gtkVisibleOptions;
+extern int             gtkVisiblePopUpMenu;
 
 extern char          * sbMPlayerDirInHome;
 extern char          * sbMPlayerPrefixDir;




More information about the MPlayer-cvslog mailing list