]> git.sesse.net Git - vlc/blob - modules/gui/minimal_macosx/VLCMinimalVoutWindow.h
skins2: kill a warning at compil
[vlc] / modules / gui / minimal_macosx / VLCMinimalVoutWindow.h
1 /*****************************************************************************
2  * VLCMinimalVoutWindow.h: MacOS X Minimal window for a vout
3  *****************************************************************************
4  * Copyright (C) 2007 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Pierre d'Herbemont <pdherbemont # videolan.org>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23
24 #import <Cocoa/Cocoa.h>
25
26 #include <vlc_common.h>
27
28 @interface VLCMinimalVoutWindow : NSWindow
29 {
30     NSRect initialFrame;
31     NSPoint initialLocation, initialLocationOnScreen;
32     BOOL fullscreen;
33     BOOL mouseDraggedShouldResize;
34 }
35
36 - (id)initWithContentRect:(NSRect)contentRect;
37
38 /* @protocol VLCOpenGLVoutEmbedding */
39 - (void)addVoutSubview:(NSView *)view;
40 - (void)removeVoutSubview:(NSView *)view;
41 - (void)enterFullscreen;
42 - (void)leaveFullscreen;
43 - (BOOL)stretchesVideo;
44 - (void)setOnTop: (BOOL)ontop;
45 @end