]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/embeddedwindow.h
macosx: redesigned info panel to HUD
[vlc] / modules / gui / macosx / embeddedwindow.h
index 1a500a67e71eb7c286cdcb12f30668ce27ee215d..b86b7f080a31ada42e3ea476725c43179f2bcaf9 100644 (file)
 
 #import "misc.h"
 
-@interface VLCEmbeddedWindow : NSWindow
+#ifndef MAC_OS_X_VERSION_10_6
+@protocol NSAnimationDelegate <NSObject> @end
+#endif
+
+@interface VLCEmbeddedWindow : NSWindow <NSWindowDelegate, NSAnimationDelegate>
 {
     IBOutlet id o_btn_backward;
     IBOutlet id o_btn_forward;
@@ -41,6 +45,8 @@
     IBOutlet id o_btn_volume_down;
     IBOutlet id o_volumeslider;
     IBOutlet id o_btn_volume_up;
+    IBOutlet id o_backgroundimg_right;
+    IBOutlet id o_backgroundimg_middle;
     IBOutlet id o_timeslider;
     IBOutlet id o_main_pgbar;
     IBOutlet id o_time;
@@ -48,7 +54,6 @@
     IBOutlet id o_horizontal_split;
     IBOutlet id o_vertical_split;
     IBOutlet id o_videosubview;
-    IBOutlet id o_sidebar_list;
     IBOutlet id o_view;
     IBOutlet id o_background_view;
        IBOutlet id o_searchfield;
@@ -57,6 +62,7 @@
        IBOutlet id o_playlist_view;
        IBOutlet id o_playlist_table;
        IBOutlet id o_vlc_main;
+    IBOutlet id o_video_view;
 
     NSImage * o_img_play;
     NSImage * o_img_play_pressed;
@@ -66,6 +72,7 @@
     VLCWindow       * o_fullscreen_window;
     NSViewAnimation * o_fullscreen_anim1;
     NSViewAnimation * o_fullscreen_anim2;
+    NSViewAnimation * o_makekey_anim;
     NSView          * o_temp_view;
     /* set to yes if we are fullscreen and all animations are over */
     BOOL              b_fullscreen;
@@ -79,6 +86,8 @@
 
 - (void)controlTintChanged;
 
+- (id)videoView;
+
 - (void)setTime: (NSString *)o_arg_ime position: (float)f_position;
 - (id)getPgbar;
 - (void)playStatusUpdated: (int)i_status;
 
 - (void)enterFullscreen;
 - (void)leaveFullscreen;
-/* Allows to leave fullscreen by simply fading out the display */
+/* Allows leaving fullscreen by simply fading out the display */
 - (void)leaveFullscreenAndFadeOut: (BOOL)fadeout;
 
 /* private */
        BOOL mainwindow;
 }
 
-@end
\ No newline at end of file
+@end