#import <string.h>
#import "intf.h"
-#import "fspanel.h"
#import "vout.h"
#import "CoreInteraction.h"
#import "MainMenu.h"
[o_view setFrameSize: [self frame].size];
}
-- (void)drawRect:(NSRect)rect
-{
- /* When there is no subview we draw a black background */
- [self lockFocus];
- [[NSColor blackColor] set];
- NSRectFill(rect);
- [self unlockFocus];
-}
-
- (void)closeVout
{
/* Make sure we don't see a white flash */
- [[o_view window] disableScreenUpdatesUntilFlush];
[o_view removeFromSuperview];
[o_view release];
o_view = nil;
{
var_SetCoords( p_vout, "mouse-moved", ((int)ml.x), ((int)ml.y) );
}
-// if( var_GetBool( p_vout, "fullscreen") )
- [[[VLCMainWindow sharedInstance] fspanel] fadeIn];
vlc_object_release( p_vout );
+ [[VLCMain sharedInstance] showFullscreenController];
}
[super mouseMoved: o_event];