26458
|
1 /*
|
|
2 * This file is part of MPlayer.
|
|
3 *
|
|
4 * MPlayer is free software; you can redistribute it and/or modify
|
|
5 * it under the terms of the GNU General Public License as published by
|
|
6 * the Free Software Foundation; either version 2 of the License, or
|
|
7 * (at your option) any later version.
|
|
8 *
|
|
9 * MPlayer is distributed in the hope that it will be useful,
|
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12 * GNU General Public License for more details.
|
|
13 *
|
|
14 * You should have received a copy of the GNU General Public License along
|
|
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
|
|
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
17 */
|
|
18
|
26029
|
19 #ifndef MPLAYER_GUI_GMPLAYER_H
|
|
20 #define MPLAYER_GUI_GMPLAYER_H
|
23077
|
21
|
|
22 extern int mplSubRender;
|
|
23 extern int mplMainRender;
|
|
24
|
|
25 extern unsigned char * mplDrawBuffer;
|
|
26 extern unsigned char * mplMenuDrawBuffer;
|
|
27 extern int mainVisible;
|
|
28
|
|
29 extern int mplMainAutoPlay;
|
|
30 extern int mplMiddleMenu;
|
|
31
|
28051
|
32 void mplInit( void * disp );
|
23077
|
33
|
28051
|
34 void mplMainDraw( void );
|
|
35 void mplEventHandling( int msg, float param );
|
|
36 void mplMainMouseHandle( int Button, int X, int Y, int RX, int RY );
|
|
37 void mplMainKeyHandle( int KeyCode, int Type, int Key );
|
|
38 void mplDandDHandler(int num, char** files);
|
23077
|
39
|
28051
|
40 void mplSubDraw( void );
|
|
41 void mplSubMouseHandle( int Button, int X, int Y, int RX, int RY );
|
23077
|
42
|
28051
|
43 void mplMenuInit( void );
|
|
44 void mplHideMenu( int mx, int my, int w );
|
|
45 void mplShowMenu( int mx, int my );
|
|
46 void mplMenuMouseHandle( int X, int Y, int RX, int RY );
|
23077
|
47
|
28051
|
48 void mplPBInit( void );
|
|
49 void mplPBShow( int x, int y );
|
23077
|
50
|
26029
|
51 #endif /* MPLAYER_GUI_GMPLAYER_H */
|