]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/vout.h
macosx/vout*: also destroy the window and attach/detach the view on the
[vlc] / modules / gui / macosx / vout.h
index 33432d75d0e94b8314e63cb3abeddc24d6ea439c..ea39ac4fc45b3dce8557604a32fac2956a91b364 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * vout.h: MacOS X interface module
  *****************************************************************************
- * Copyright (C) 2001-2003 VideoLAN
+ * Copyright (C) 2001-2005 VideoLAN
  * $Id$
  *
  * Authors: Colin Delacroix <colin@zoy.org>
 @interface VLCWindow : NSWindow
 {
     vout_thread_t * p_vout;
-    vout_thread_t * p_real_vout;
+    NSView        * o_view;
+    NSRect        * s_frame;
 
+    vout_thread_t * p_real_vout;
     Ptr             p_fullscreen_state;
     mtime_t         i_time_mouse_last_moved;
+    vlc_bool_t      b_init_ok;
 }
 
-- (id)initWithVout:(vout_thread_t *)_p_vout
-    frame:(NSRect *)s_frame;
-- (void)close;
-- (void)setOnTop:(bool)b_on_top;
+- (id) initWithVout: (vout_thread_t *) p_vout view: (NSView *) view
+                     frame: (NSRect *) s_frame;
+- (id) initReal: (id) sender;
+- (void) close;
+- (id)   closeReal: (id) sender;
+- (void)setOnTop:(BOOL)b_on_top;
 
-- (void)hideMouse:(bool)b_hide;
+- (void)hideMouse:(BOOL)b_hide;
 - (void)manage;
 
 - (void)scaleWindowWithFactor: (float)factor;
 - (void)toggleFloatOnTop;
 - (void)toggleFullscreen;
 - (BOOL)isFullscreen;
+- (void)snapshot;
 - (void)updateTitle;
 
 - (BOOL)windowShouldClose:(id)sender;