* Multiple bridge-in instances are now possible.
* bridge-in can be used to configure a placeholder stream.
+Mac OS X Interface:
+ * Reveal-in-Finder functionality for locally stored items
+
Changes between 0.9.2 and 0.9.3:
--------------------------------
}
- (void)controlTintChanged;
-- (id)getVoutView;
+- (id)voutView;
- (IBAction)play:(id)sender;
- (IBAction)stop:(id)sender;
var_SetInteger( p_intf->p_libvlc, "key-action", ACTIONID_PLAY_PAUSE );
}
-/* FIXME: I want to be Private */
-
-- (id)getVoutView
+- (id)voutView
{
id window;
id voutView = nil;
/* We have a detached vout */
else if( [[window className] isEqualToString: @"VLCVoutWindow"] )
{
- msg_Dbg( VLCIntf, "detached vout controls.m call getVoutView" );
- voutView = [window getVoutView];
+ msg_Dbg( VLCIntf, "detached vout controls.m call voutView" );
+ voutView = [window voutView];
}
}
return [[voutView retain] autorelease];
var_SetInteger( p_intf->p_libvlc, "key-action", ACTIONID_STOP );
/* Close the window directly, because we do know that there
* won't be anymore video. It's currently waiting a bit. */
- [[[self _voutView] window] orderOut:self];
+ [[[self voutView] window] orderOut:self];
}
- (IBAction)faster:(id)sender
- (void)hasBecomeFullscreen
{
- [o_fullscreen_window makeFirstResponder: [[[VLCMain sharedInstance] getControls] getVoutView]];
+ [o_fullscreen_window makeFirstResponder: [[[VLCMain sharedInstance] getControls] voutView]];
[o_fullscreen_window makeKeyWindow];
[o_fullscreen_window setAcceptsMouseMovedEvents: TRUE];
- (void)setActive:(id)noData
{
- if( [[[[VLCMain sharedInstance] getControls] getVoutView] isFullscreen] )
+ if( [[[[VLCMain sharedInstance] getControls] voutView] isFullscreen] )
{
b_nonActive = NO;
[self fadeIn];
- (void)mouseExited:(NSEvent *)theEvent
{
/* give up our focus, so the vout may show us again without letting the user clicking it */
- if( [[[[VLCMain sharedInstance] getControls] getVoutView] isFullscreen] )
- [[[[[VLCMain sharedInstance] getControls] getVoutView] window] makeKeyWindow];
+ if( [[[[VLCMain sharedInstance] getControls] voutView] isFullscreen] )
+ [[[[[VLCMain sharedInstance] getControls] voutView] window] makeKeyWindow];
}
- (void)hideMouse
[self setScrollField: aString stopAfter:-1];
[[[self getControls] getFSPanel] setStreamTitle: aString];
- [[o_controls getVoutView] updateTitle];
+ [[o_controls voutView] updateTitle];
[o_playlist updateRowSelection];
p_intf->p_sys->b_current_title_update = FALSE;
return o_toolbarItem;
}
-- (NSToolbarItem *) toolbar: (NSToolbar *)o_sprefs_toolbar
+- (NSToolbarItem *) toolbar: (NSToolbar *)o_vlm_toolbar
itemForItemIdentifier: (NSString *)o_itemIdent
willBeInsertedIntoToolbar: (BOOL)b_willBeInserted
{
- (void)snapshot;
- (id)getWindow;
-+ (id)getVoutView: (vout_thread_t *)p_vout subView: (NSView *) view
- frame: (NSRect *) s_frame;
++ (id)voutView: (vout_thread_t *)p_vout subView: (NSView *) view
+ frame: (NSRect *) s_frame;
+ (vout_thread_t *)getRealVout: (vout_thread_t *)p_vout;
- (void)enterFullscreen;
- (id)initMainThread: (id) sender;
- (void)leaveFullscreen;
- (void)enterFullscreen;
-- (id)getVoutView;
+- (id)voutView;
@end
( [o_event modifierFlags] & NSControlKeyMask ) ) )
{
msg_Dbg( p_vout, "received NSRightMouseDown (generic method) or Ctrl clic" );
- [NSMenu popUpContextMenu: [[VLCMain sharedInstance] getVoutMenu] withEvent: o_event forView: [[[VLCMain sharedInstance] getControls] getVoutView]];
+ [NSMenu popUpContextMenu: [[VLCMain sharedInstance] getVoutMenu] withEvent: o_event forView: [[[VLCMain sharedInstance] getControls] voutView]];
}
}
if( p_vout && [o_event type] == NSRightMouseDown )
{
msg_Dbg( p_vout, "received NSRightMouseDown (specific method)" );
- [NSMenu popUpContextMenu: [[VLCMain sharedInstance] getVoutMenu] withEvent: o_event forView: [[[VLCMain sharedInstance] getControls] getVoutView]];
+ [NSMenu popUpContextMenu: [[VLCMain sharedInstance] getVoutMenu] withEvent: o_event forView: [[[VLCMain sharedInstance] getControls] voutView]];
}
[super mouseDown: o_event];
/* FIXME: this isn't the appropriate place, but we can't receive
* NSRightMouseDown some how */
msg_Dbg( p_vout, "received NSRightMouseUp" );
- [NSMenu popUpContextMenu: [[VLCMain sharedInstance] getVoutMenu] withEvent: o_event forView: [[[VLCMain sharedInstance] getControls] getVoutView]];
+ [NSMenu popUpContextMenu: [[VLCMain sharedInstance] getVoutMenu] withEvent: o_event forView: [[[VLCMain sharedInstance] getControls] voutView]];
}
[super mouseUp: o_event];
return (vout_thread_t *) p_vout->p_parent;
}
-+ (id)getVoutView: (vout_thread_t *)p_vout subView: (NSView *)view
- frame: (NSRect *)s_frame
++ (id)voutView: (vout_thread_t *)p_vout subView: (NSView *)view
+ frame: (NSRect *)s_frame
{
vlc_value_t value_drawable;
int i_timeout;
[self setLevel: NSStatusWindowLevel];
}
-- (id)getVoutView // FIXME Naming scheme!
+- (id)voutView
{
return o_view;
}
/* Spawn the window */
id old_vout = p_vout->p_sys->o_vout_view;
- p_vout->p_sys->o_vout_view = [[VLCVoutView getVoutView: p_vout
- subView: p_vout->p_sys->o_glview frame: nil] retain];
+ p_vout->p_sys->o_vout_view = [[VLCVoutView voutView: p_vout
+ subView: p_vout->p_sys->o_glview frame: nil] retain];
[old_vout release];
}
if( p_vout->p_sys->b_saved_frame )
{
id old_vout = p_vout->p_sys->o_vout_view;
- p_vout->p_sys->o_vout_view = [[VLCVoutView getVoutView: p_vout
- subView: o_glview
- frame: &p_vout->p_sys->s_frame] retain];
+ p_vout->p_sys->o_vout_view = [[VLCVoutView voutView: p_vout
+ subView: o_glview
+ frame: &p_vout->p_sys->s_frame] retain];
[old_vout release];
}
else
{
id old_vout = p_vout->p_sys->o_vout_view;
- p_vout->p_sys->o_vout_view = [[VLCVoutView getVoutView: p_vout
- subView: o_glview frame: nil] retain];
+ p_vout->p_sys->o_vout_view = [[VLCVoutView voutView: p_vout
+ subView: o_glview frame: nil] retain];
[old_vout release];
}
#undef o_glview