Mercurial > mplayer.hg
annotate libvo/osx_common.h @ 35501:7bb176fac55c
Use boolean symbolic constants in Win32 GUI.
Use them wherever suitable and useful to make code easier to read.
author | ib |
---|---|
date | Tue, 04 Dec 2012 20:06:43 +0000 |
parents | 967b0f13715c |
children |
rev | line source |
---|---|
30414
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
1 /* |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
2 * This file is part of MPlayer. |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
3 * |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
4 * MPlayer is free software; you can redistribute it and/or modify |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
5 * it under the terms of the GNU General Public License as published by |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
6 * the Free Software Foundation; either version 2 of the License, or |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
7 * (at your option) any later version. |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
8 * |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
9 * MPlayer is distributed in the hope that it will be useful, |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
12 * GNU General Public License for more details. |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
13 * |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
14 * You should have received a copy of the GNU General Public License along |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
17 */ |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
18 |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
19 #ifndef MPLAYER_OSX_COMMON_H |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
20 #define MPLAYER_OSX_COMMON_H |
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
21 |
29531
6bd4c0c77eab
Add osx_common.c and move the keycode conversion (OSX to MPlayer) there.
reimar
parents:
diff
changeset
|
22 int convert_key(unsigned key, unsigned charcode); |
29532
99b8d8d5c2d4
Move aspect change handling from vo_quartz to osx_common.
reimar
parents:
29531
diff
changeset
|
23 void change_movie_aspect(float new_aspect); |
99b8d8d5c2d4
Move aspect change handling from vo_quartz to osx_common.
reimar
parents:
29531
diff
changeset
|
24 void config_movie_aspect(float config_aspect); |
30922
7e3b047c51e7
Refactor OS X foreground process setting into a separate function.
diego
parents:
30414
diff
changeset
|
25 void osx_foreground_hack(void); |
30414
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
26 |
35092 | 27 extern void (*vo_osx_redraw_func)(void); |
35087 | 28 int vo_osx_init(void); |
29 int vo_osx_config(uint32_t, uint32_t, uint32_t); | |
30 void vo_osx_uninit(void); | |
31 void vo_osx_ontop(void); | |
32 void vo_osx_fullscreen(void); | |
33 int vo_osx_check_events(void); | |
34 void vo_osx_update_xinerama_info(void); | |
35094 | 35 void vo_osx_swap_buffers(void); |
35087 | 36 |
30414
e5abaf769020
Add missing license header and multiple inclusion guards.
diego
parents:
29532
diff
changeset
|
37 #endif /* MPLAYER_OSX_COMMON_H */ |