not needed

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8056 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2002-11-02 18:57:14 +00:00
parent e1346b93e1
commit 9d07488b0a
4 changed files with 41 additions and 29 deletions

View File

@ -1,47 +1,28 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "./mplayer.h"
#include "../app.h"
#include "../cfg.h"
#include "../interface.h"
#include "../skin/skin.h"
#include "../skin/font.h"
#include "../wm/ws.h"
#include "../wm/wskeys.h"
#include "../wm/widget.h"
#include "../wm/wsxdnd.h"
#include "../bitmap/bitmap.h"
#include "../../config.h"
#include "../../help_mp.h"
#include "../../libvo/x11_common.h"
#include "../../libmpdemux/stream.h"
#include "../../mp_msg.h"
#include <gdk/gdkprivate.h>
#include <gdk/gdkkeysyms.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
#define mplRedrawTimerConst 5
int mplRedrawTimer = mplRedrawTimerConst;
void mplEventHandling( int msg,float param );
extern void mplMainDraw( wsParamDisplay );
extern void mplEventHandling( int msg,float param );
extern void mplMainMouseHandle( int Button,int X,int Y,int RX,int RY );
extern void mplMainKeyHandle( int KeyCode,int Type,int Key );
extern void mplDandDHandler(int num,char** files);
extern void mplSubDraw( wsParamDisplay );
extern void mplSubMouseHandle( int Button,int X,int Y,int RX,int RY );
#include "widgets.h"
#include "play.h"
#include "menu.h"
#include "mw.h"
#include "sw.h"
#include "widgets.h"
void mplInit( void * disp )
{

View File

@ -1,12 +1,32 @@
// main window
#include <stdlib.h>
#include <stdio.h>
#include <inttypes.h>
#include <sys/stat.h>
#include <unistd.h>
#include "../app.h"
#include "../skin/font.h"
#include "../wm/ws.h"
#include "../../config.h"
#include "../../help_mp.h"
#include "../../libvo/x11_common.h"
#include "../../libmpdemux/stream.h"
#include "../../mixer.h"
#include "../../libvo/sub.h"
#include "../../mplayer.h"
#include "play.h"
#include "widgets.h"
extern unsigned int GetTimerMS( void );
extern void mplHideMenu( int mx,int my,int w );
extern void mplShowMenu( int mx,int my );
extern void mplMenuMouseHandle( int X,int Y,int RX,int RY );
unsigned char * mplDrawBuffer = NULL;
int mplMainRender = 1;
@ -470,7 +490,6 @@ set_volume:
case evRedraw:
mplMainRender=1;
wsPostRedisplay( &appMPlayer.mainWindow );
mplRedrawTimer=mplRedrawTimerConst;
break;
// --- system events
#ifdef MP_DEBUG

View File

@ -16,7 +16,6 @@
#include "../app.h"
#include "../wm/wskeys.h"
#include "../wm/widget.h"
#include "../interface.h"
#include "widgets.h"

View File

@ -1,9 +1,22 @@
// sub window
#include "../app.h"
#include "../interface.h"
#include "../../help_mp.h"
#include "widgets.h"
int mplSubRender = 0;
int SubVisible = 0;
extern int boxMoved;
extern int sx,sy;
extern int i,pot;
extern void mplHideMenu( int mx,int my,int w );
extern void mplShowMenu( int mx,int my );
extern void mplMenuMouseHandle( int X,int Y,int RX,int RY );
void mplSubDraw( wsParamDisplay )
{
if ( appMPlayer.subWindow.State == wsWindowClosed ) exit_player( MSGTR_Exit_quit );