1 /*****************************************************************************
2 * vout.h: MacOS X interface plugin
3 *****************************************************************************
4 * Copyright (C) 2001, 2002 VideoLAN
5 * $Id: vout.h,v 1.8 2003/02/08 21:43:26 hartman Exp $
7 * Authors: Colin Delacroix <colin@zoy.org>
8 * Florian G. Pflug <fgp@phlo.org>
9 * Jon Lech Johansen <jon-vl@nanocrew.net>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
24 *****************************************************************************/
26 /*****************************************************************************
28 *****************************************************************************/
29 @interface VLCWindow : NSWindow
31 vout_thread_t * p_vout;
34 - (void)setVout:(vout_thread_t *)_p_vout;
35 - (vout_thread_t *)getVout;
37 - (void)scaleWindowWithFactor: (float)factor;
38 - (void)toggleFullscreen;
41 - (BOOL)windowShouldClose:(id)sender;
45 /*****************************************************************************
47 *****************************************************************************/
48 @interface VLCView : NSQuickDrawView
54 /*****************************************************************************
56 *****************************************************************************/
57 @interface VLCVout : NSObject
61 - (void)createWindow:(NSValue *)o_value;
62 - (void)destroyWindow:(NSValue *)o_value;
66 /*****************************************************************************
67 * vout_sys_t: MacOS X video output method descriptor
68 *****************************************************************************/
75 vlc_bool_t b_mouse_moved;
76 vlc_bool_t b_mouse_pointer_visible;
77 mtime_t i_time_mouse_last_moved;
83 MatrixRecordPtr p_matrix;
84 DecompressorComponent img_dc;
85 ImageDescriptionHandle h_img_descr;
86 Ptr p_fullscreen_state;