[vlc-commits] minimal_macosx: remove more dead code

Felix Paul Kühne git at videolan.org
Wed Dec 19 19:53:15 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Dec 19 19:34:28 2012 +0100| [ba45dbbf56e96f9425801086a4590d98d9af6804] | committer: Felix Paul Kühne

minimal_macosx: remove more dead code

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ba45dbbf56e96f9425801086a4590d98d9af6804
---

 modules/gui/minimal_macosx/VLCMinimalVoutWindow.h |    4 ----
 modules/gui/minimal_macosx/VLCMinimalVoutWindow.m |   13 -------------
 2 files changed, 17 deletions(-)

diff --git a/modules/gui/minimal_macosx/VLCMinimalVoutWindow.h b/modules/gui/minimal_macosx/VLCMinimalVoutWindow.h
index c73c27b..c8b94f2 100644
--- a/modules/gui/minimal_macosx/VLCMinimalVoutWindow.h
+++ b/modules/gui/minimal_macosx/VLCMinimalVoutWindow.h
@@ -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
diff --git a/modules/gui/minimal_macosx/VLCMinimalVoutWindow.m b/modules/gui/minimal_macosx/VLCMinimalVoutWindow.m
index 13c25a3..2319768 100644
--- a/modules/gui/minimal_macosx/VLCMinimalVoutWindow.m
+++ b/modules/gui/minimal_macosx/VLCMinimalVoutWindow.m
@@ -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
-



More information about the vlc-commits mailing list