xine-lib  1.2.9
XineVideoWindow.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2004-2007 the xine project
3  *
4  * This file is part of xine, a free video player.
5  *
6  * xine is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * xine is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19  *
20  */
21 
22 #ifndef __HAVE_XINE_VIDEO_WINDOW_H__
23 #define __HAVE_XINE_VIDEO_WINDOW_H__
24 
25 
26 #import <Cocoa/Cocoa.h>
27 
28 
29 typedef enum
30 {
34 
35 
36 @interface XineVideoWindow : NSWindow
37 {
38  int width, height;
39  id /* XineOpenGLView * */ xineView;
40 }
41 
42 - (id) initWithContentSize:(NSSize)size;
43 - (id /* XineOpenGLView * */) xineView;
44 
45 @end
46 
47 
48 /* NSWindow aspect ratio convenience methods */
49 
51 
52 - (void) setKeepsAspectRatio:(BOOL)flag;
53 - (BOOL) keepsAspectRatio;
54 
55 @end
56 
57 
58 #endif /* __HAVE_XINE_VIDEO_WINDOW_H__ */
int width
Definition: XineVideoWindow.h:38
id xineView
Definition: XineVideoWindow.h:39
Definition: XineVideoWindow.h:32
Definition: XineVideoWindow.h:31
Definition: XineVideoWindow.h:36
int height
Definition: XineVideoWindow.h:38
Definition: XineVideoWindow.h:50
XineVideoWindowFullScreenMode
Definition: XineVideoWindow.h:29