Mercurial > mplayer.hg
annotate gui/mplayer/gmplayer.h @ 31050:340fd8115a78
Support mouse movements in SDL.
Currently for some reason broken with -vo sdl.
author | reimar |
---|---|
date | Sun, 25 Apr 2010 16:15:00 +0000 |
parents | 3d23e24c5c60 |
children | 045110c125c6 |
rev | line source |
---|---|
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 | |
30536
39a4dd7ec420
Move GUI-related extern declarations to a GUI header file.
diego
parents:
28051
diff
changeset
|
32 extern char * dvd_device; |
39a4dd7ec420
Move GUI-related extern declarations to a GUI header file.
diego
parents:
28051
diff
changeset
|
33 extern char * cdrom_device; |
39a4dd7ec420
Move GUI-related extern declarations to a GUI header file.
diego
parents:
28051
diff
changeset
|
34 |
28051 | 35 void mplInit( void * disp ); |
23077 | 36 |
28051 | 37 void mplMainDraw( void ); |
38 void mplEventHandling( int msg, float param ); | |
39 void mplMainMouseHandle( int Button, int X, int Y, int RX, int RY ); | |
40 void mplMainKeyHandle( int KeyCode, int Type, int Key ); | |
41 void mplDandDHandler(int num, char** files); | |
23077 | 42 |
28051 | 43 void mplSubDraw( void ); |
44 void mplSubMouseHandle( int Button, int X, int Y, int RX, int RY ); | |
23077 | 45 |
28051 | 46 void mplMenuInit( void ); |
47 void mplHideMenu( int mx, int my, int w ); | |
48 void mplShowMenu( int mx, int my ); | |
49 void mplMenuMouseHandle( int X, int Y, int RX, int RY ); | |
23077 | 50 |
28051 | 51 void mplPBInit( void ); |
52 void mplPBShow( int x, int y ); | |
23077 | 53 |
26029 | 54 #endif /* MPLAYER_GUI_GMPLAYER_H */ |