annotate libvo/osx_common.h @ 33218:f0c2a62e3e89

Position windows initially at coordinates given in skin file. So far, the initial positions of the main and subwindow were not the ones specified in the skin file, but fixed defaults.
author ib
date Sat, 23 Apr 2011 08:05:27 +0000
parents 7e3b047c51e7
children 078a00af881c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
27 #endif /* MPLAYER_OSX_COMMON_H */