Mercurial > mplayer.hg
annotate gui/ui/ui.h @ 35811:2ce01f3d3b37
Switch from OpenGL.h to gl.h
The former seems to miss some needed defines
from OSX 10.8 on, and gl.h seems to work
without issues at the very least down to 10.5
author | reimar |
---|---|
date | Sun, 27 Jan 2013 15:33:31 +0000 |
parents | 497a1c45a597 |
children | 84c93a60ead3 |
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 | |
35528 | 19 #ifndef MPLAYER_GUI_UI_H |
20 #define MPLAYER_GUI_UI_H | |
23077 | 21 |
33555 | 22 extern unsigned char * menuDrawBuffer; |
23077 | 23 extern int mainVisible; |
24 | |
35771 | 25 extern int uiMainRender; |
33555 | 26 extern int uiPlaybarFade; |
23077 | 27 |
32065
319ae9dc51a2
Move sx/sy extern variable declaration to gmplayer.h, which is better suited.
diego
parents:
32041
diff
changeset
|
28 extern int sx, sy; |
319ae9dc51a2
Move sx/sy extern variable declaration to gmplayer.h, which is better suited.
diego
parents:
32041
diff
changeset
|
29 |
35780 | 30 void uiMainInit( void ); |
35796
497a1c45a597
Add uiMainDone(), uiVideoDone(), uiPlaybarDone() and uiMenuDone().
ib
parents:
35795
diff
changeset
|
31 void uiMainDone( void ); |
23077 | 32 |
35780 | 33 void uiVideoInit( void ); |
35796
497a1c45a597
Add uiMainDone(), uiVideoDone(), uiPlaybarDone() and uiMenuDone().
ib
parents:
35795
diff
changeset
|
34 void uiVideoDone( void ); |
23077 | 35 |
33555 | 36 void uiMenuInit( void ); |
35796
497a1c45a597
Add uiMainDone(), uiVideoDone(), uiPlaybarDone() and uiMenuDone().
ib
parents:
35795
diff
changeset
|
37 void uiMenuDone( void ); |
35766
16ed8155439b
Rename uiShowMenu() uiMenuShow() and uiHideMenu() uiMenuHide().
ib
parents:
35763
diff
changeset
|
38 void uiMenuHide( int mx, int my, int w ); |
16ed8155439b
Rename uiShowMenu() uiMenuShow() and uiHideMenu() uiMenuHide().
ib
parents:
35763
diff
changeset
|
39 void uiMenuShow( int mx, int my ); |
23077 | 40 |
33555 | 41 void uiPlaybarInit( void ); |
35796
497a1c45a597
Add uiMainDone(), uiVideoDone(), uiPlaybarDone() and uiMenuDone().
ib
parents:
35795
diff
changeset
|
42 void uiPlaybarDone( void ); |
34471 | 43 void uiPlaybarShow( int y ); |
23077 | 44 |
35528 | 45 #endif /* MPLAYER_GUI_UI_H */ |