[MPlayer-cvslog] r35857 - in trunk/gui: interface.c ui/actions.c ui/main.c ui/ui.h

ib subversion at mplayerhq.hu
Thu Jan 24 18:11:42 CET 2013


Author: ib
Date: Thu Jan 24 18:11:41 2013
New Revision: 35857

Log:
Cosmetic: Rename uiDND uiMainDND.

Modified:
   trunk/gui/interface.c
   trunk/gui/ui/actions.c
   trunk/gui/ui/main.c
   trunk/gui/ui/ui.h

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Thu Jan 24 18:08:38 2013	(r35856)
+++ trunk/gui/interface.c	Thu Jan 24 18:11:41 2013	(r35857)
@@ -195,12 +195,12 @@ void guiInit(void)
     guiApp.mainWindow.DrawHandler  = uiMainDraw;
     guiApp.mainWindow.MouseHandler = uiMainMouse;
     guiApp.mainWindow.KeyHandler   = uiMainKey;
-    guiApp.mainWindow.DNDHandler   = uiDND;
+    guiApp.mainWindow.DNDHandler   = uiMainDND;
 
     guiApp.videoWindow.DrawHandler  = uiVideoDraw;
     guiApp.videoWindow.MouseHandler = uiVideoMouse;
     guiApp.videoWindow.KeyHandler   = uiMainKey;
-    guiApp.videoWindow.DNDHandler   = uiDND;
+    guiApp.videoWindow.DNDHandler   = uiMainDND;
 
     if (guiApp.video.Bitmap.Image)
         wsImageRender(&guiApp.videoWindow, guiApp.video.Bitmap.Image);

Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c	Thu Jan 24 18:08:38 2013	(r35856)
+++ trunk/gui/ui/actions.c	Thu Jan 24 18:11:41 2013	(r35857)
@@ -228,7 +228,7 @@ void uiChangeSkin(char *name)
     guiApp.mainWindow.DrawHandler  = uiMainDraw;
     guiApp.mainWindow.MouseHandler = uiMainMouse;
     guiApp.mainWindow.KeyHandler   = uiMainKey;
-    guiApp.mainWindow.DNDHandler   = uiDND;
+    guiApp.mainWindow.DNDHandler   = uiMainDND;
 
     wsXDNDMakeAwareness(&guiApp.mainWindow);
 

Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c	Thu Jan 24 18:08:38 2013	(r35856)
+++ trunk/gui/ui/main.c	Thu Jan 24 18:11:41 2013	(r35857)
@@ -588,7 +588,7 @@ void uiMainKey( int KeyCode,int Type,int
 }
 
 /* this will be used to handle drag & drop files */
-void uiDND(int num,char** files)
+void uiMainDND(int num,char** files)
 {
   struct stat buf;
   int f = 0;

Modified: trunk/gui/ui/ui.h
==============================================================================
--- trunk/gui/ui/ui.h	Thu Jan 24 18:08:38 2013	(r35856)
+++ trunk/gui/ui/ui.h	Thu Jan 24 18:11:41 2013	(r35857)
@@ -34,7 +34,7 @@ void uiMainDraw( void );
 void uiEventHandling( int msg, float param );
 void uiMainMouse( int Button, int X, int Y, int RX, int RY );
 void uiMainKey( int KeyCode, int Type, int Key );
-void uiDND(int num, char** files);
+void uiMainDND(int num, char** files);
 
 void uiVideoDraw( void );
 void uiVideoMouse( int Button, int X, int Y, int RX, int RY );


More information about the MPlayer-cvslog mailing list