blob: c4b1fba8583f6b1880e8db9852bc659e9daa61fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#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; }
}
|