[Mplayer-cvslog] CVS: main/Gui interface.c,NONE,1.1 interface.h,NONE,1.1 gui.mak,1.6,1.7

Zoltan Ponekker pontscho at mplayer.dev.hu
Thu Feb 21 23:48:49 CET 2002


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

Modified Files:
	gui.mak 
Added Files:
	interface.c interface.h 
Log Message:
new interface ? :)

--- NEW FILE ---


#include "ws.h"
#include "mplayer/play.h"
#include "interface.h"
#include "../mplayer.h"

void guiGetEvent( int type,char * arg )
{
 switch ( type )
  {
   case guiXEvent:
        wsEvents( wsDisplay,(XEvent *)arg,NULL );
	break;
   case guiCEvent:
	break;
  }
}

void guiEventHandling( void )
{
 if ( use_gui && !mplShMem->Playing ) wsHandleEvents();
 mplTimerHandler(0); // handle GUI timer events
 if ( mplShMem->SkinChange ) { ChangeSkin(); mplShMem->SkinChange=0;  }
}

--- NEW FILE ---

#ifndef _INTERFACE_H
#define _INTERFACE_H

#include "mplayer/play.h"
#include "../mplayer.h"

#define guiXEvent 0
#define guiCEvent 1

extern void guiGetEvent( int type,char * arg );
extern void guiEventHandling( void );

#endif
Index: gui.mak
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/gui.mak,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- gui.mak	14 Nov 2001 16:05:33 -0000	1.6
+++ gui.mak	21 Feb 2002 22:48:46 -0000	1.7
@@ -10,6 +10,6 @@
 	     $(MPLAYERDIR)psignal.c $(GTKSRCS)
 MPLAYEROBJS = $(MPLAYERSRCS:.c=.o)
 
-SRCS = $(SKINSRC) $(BITMAPSRCS) wm/ws.c wm/wsconv.c app.c events.c timer.c error.c
+SRCS = $(SKINSRC) $(BITMAPSRCS) wm/ws.c wm/wsconv.c app.c events.c timer.c error.c interface.c
 OBJS = $(SRCS:.c=.o)
 




More information about the MPlayer-cvslog mailing list