1 /*****************************************************************************
2 * vout.h: MacOS X interface module
3 *****************************************************************************
4 * Copyright (C) 2001-2003 VideoLAN
7 * Authors: Colin Delacroix <colin@zoy.org>
8 * Florian G. Pflug <fgp@phlo.org>
9 * Jon Lech Johansen <jon-vl@nanocrew.net>
10 * Eric Petit <titer@m0k.org>
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
25 *****************************************************************************/
27 /*****************************************************************************
29 *****************************************************************************/
30 @interface VLCWindow : NSWindow
32 vout_thread_t * p_vout;
33 vout_thread_t * p_real_vout;
35 Ptr p_fullscreen_state;
36 mtime_t i_time_mouse_last_moved;
39 - (id)initWithVout:(vout_thread_t *)_p_vout
40 frame:(NSRect *)s_frame;
42 - (void)setOnTop:(bool)b_on_top;
44 - (void)hideMouse:(bool)b_hide;
47 - (void)scaleWindowWithFactor: (float)factor;
48 - (void)toggleFloatOnTop;
49 - (void)toggleFullscreen;
54 - (BOOL)windowShouldClose:(id)sender;