Commit ba45dbbf authored by Felix Paul Kühne's avatar Felix Paul Kühne

minimal_macosx: remove more dead code

parent fe22c45f
......@@ -28,8 +28,6 @@
@interface VLCMinimalVoutWindow : NSWindow
{
NSRect initialFrame;
NSPoint initialLocation, initialLocationOnScreen;
BOOL fullscreen;
BOOL mouseDraggedShouldResize;
}
......@@ -37,6 +35,4 @@
- (void)enterFullscreen;
- (void)leaveFullscreen;
- (BOOL)stretchesVideo;
- (void)setOnTop: (BOOL)ontop;
@end
......@@ -38,7 +38,6 @@
if( self = [super initWithContentRect:contentRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO])
{
initialFrame = contentRect;
fullscreen = NO;
[self setBackgroundColor:[NSColor blackColor]];
[self setHasShadow:YES];
[self setMovableByWindowBackground: YES];
......@@ -50,7 +49,6 @@
- (void)enterFullscreen
{
fullscreen = YES;
initialFrame = [self frame];
SetSystemUIMode( kUIModeAllHidden, kUIOptionAutoShowMenuBar);
[self setFrame:[[self screen] frame] display:YES animate:YES];
......@@ -58,19 +56,8 @@
- (void)leaveFullscreen
{
fullscreen = NO;
SetSystemUIMode( kUIModeNormal, kUIOptionAutoShowMenuBar);
[self setFrame:initialFrame display:YES animate:YES];
}
- (BOOL)stretchesVideo
{
return NO;
}
- (void)setOnTop: (BOOL)ontop
{
}
@end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment