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 @@ ...@@ -28,8 +28,6 @@
@interface VLCMinimalVoutWindow : NSWindow @interface VLCMinimalVoutWindow : NSWindow
{ {
NSRect initialFrame; NSRect initialFrame;
NSPoint initialLocation, initialLocationOnScreen;
BOOL fullscreen;
BOOL mouseDraggedShouldResize; BOOL mouseDraggedShouldResize;
} }
...@@ -37,6 +35,4 @@ ...@@ -37,6 +35,4 @@
- (void)enterFullscreen; - (void)enterFullscreen;
- (void)leaveFullscreen; - (void)leaveFullscreen;
- (BOOL)stretchesVideo;
- (void)setOnTop: (BOOL)ontop;
@end @end
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
if( self = [super initWithContentRect:contentRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO]) if( self = [super initWithContentRect:contentRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO])
{ {
initialFrame = contentRect; initialFrame = contentRect;
fullscreen = NO;
[self setBackgroundColor:[NSColor blackColor]]; [self setBackgroundColor:[NSColor blackColor]];
[self setHasShadow:YES]; [self setHasShadow:YES];
[self setMovableByWindowBackground: YES]; [self setMovableByWindowBackground: YES];
...@@ -50,7 +49,6 @@ ...@@ -50,7 +49,6 @@
- (void)enterFullscreen - (void)enterFullscreen
{ {
fullscreen = YES;
initialFrame = [self frame]; initialFrame = [self frame];
SetSystemUIMode( kUIModeAllHidden, kUIOptionAutoShowMenuBar); SetSystemUIMode( kUIModeAllHidden, kUIOptionAutoShowMenuBar);
[self setFrame:[[self screen] frame] display:YES animate:YES]; [self setFrame:[[self screen] frame] display:YES animate:YES];
...@@ -58,19 +56,8 @@ ...@@ -58,19 +56,8 @@
- (void)leaveFullscreen - (void)leaveFullscreen
{ {
fullscreen = NO;
SetSystemUIMode( kUIModeNormal, kUIOptionAutoShowMenuBar); SetSystemUIMode( kUIModeNormal, kUIOptionAutoShowMenuBar);
[self setFrame:initialFrame display:YES animate:YES]; [self setFrame:initialFrame display:YES animate:YES];
} }
- (BOOL)stretchesVideo
{
return NO;
}
- (void)setOnTop: (BOOL)ontop
{
}
@end @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