Mercurial > mplayer.hg
annotate gui/ui/gmplayer.h @ 34121:fbfde63a7e82
Fix include condition.
Don't explicitly list the sytems that need the windows.h header file.
Only OS/2 doesn't need it.
author | ib |
---|---|
date | Mon, 17 Oct 2011 10:46:38 +0000 |
parents | 520fb0f7544c |
children | 65ea3b7a704b |
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 |
33555 | 22 extern int uiSubRender; |
23 extern int uiMainRender; | |
23077 | 24 |
33555 | 25 extern unsigned char * mainDrawBuffer; |
26 extern unsigned char * menuDrawBuffer; | |
23077 | 27 extern int mainVisible; |
28 | |
33555 | 29 extern int uiMainAutoPlay; |
30 extern int uiMiddleMenu; | |
31 extern int uiPlaybarFade; | |
23077 | 32 |
32065
319ae9dc51a2
Move sx/sy extern variable declaration to gmplayer.h, which is better suited.
diego
parents:
32041
diff
changeset
|
33 extern int sx, sy; |
319ae9dc51a2
Move sx/sy extern variable declaration to gmplayer.h, which is better suited.
diego
parents:
32041
diff
changeset
|
34 |
33555 | 35 void uiInit( void * disp ); |
23077 | 36 |
33555 | 37 void uiMainDraw( void ); |
38 void uiEventHandling( int msg, float param ); | |
39 void uiMainMouseHandle( int Button, int X, int Y, int RX, int RY ); | |
40 void uiMainKeyHandle( int KeyCode, int Type, int Key ); | |
41 void uiDandDHandler(int num, char** files); | |
23077 | 42 |
33555 | 43 void uiSubDraw( void ); |
44 void uiSubMouseHandle( int Button, int X, int Y, int RX, int RY ); | |
23077 | 45 |
33555 | 46 void uiMenuInit( void ); |
47 void uiHideMenu( int mx, int my, int w ); | |
48 void uiShowMenu( int mx, int my ); | |
49 void uiMenuMouseHandle( int X, int Y, int RX, int RY ); | |
23077 | 50 |
33555 | 51 void uiPlaybarInit( void ); |
52 void uiPlaybarShow( int x, int y ); | |
23077 | 53 |
26029 | 54 #endif /* MPLAYER_GUI_GMPLAYER_H */ |