From ebc8e55d33f011d9c44a5c76f463c99950f0e973 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Wed, 2 Apr 2014 18:01:28 +0000 Subject: OS X: Stop the memory card images from animating when the preferences window closes. Other changes and improvements. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89782 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFInput/macsrc/MappingCell.h | 2 +- .../plugins/PeopsXgl/NetSfPeopsOpenGLGPUInterface.xib | 13 ++++++------- macosx/plugins/PeopsXgl/macsrc/PluginWindow.h | 10 ---------- macosx/plugins/PeopsXgl/macsrc/PluginWindow.m | 17 ----------------- 4 files changed, 7 insertions(+), 35 deletions(-) (limited to 'macosx/plugins') diff --git a/macosx/plugins/DFInput/macsrc/MappingCell.h b/macosx/plugins/DFInput/macsrc/MappingCell.h index 58ebc7e1..d85100d3 100755 --- a/macosx/plugins/DFInput/macsrc/MappingCell.h +++ b/macosx/plugins/DFInput/macsrc/MappingCell.h @@ -21,7 +21,7 @@ #define MappingCell NetPcsxrHIDInputPluginMappingCell -#import +#import @interface MappingCell : NSTextFieldCell diff --git a/macosx/plugins/PeopsXgl/NetSfPeopsOpenGLGPUInterface.xib b/macosx/plugins/PeopsXgl/NetSfPeopsOpenGLGPUInterface.xib index 5c73971b..f1b2cf3c 100644 --- a/macosx/plugins/PeopsXgl/NetSfPeopsOpenGLGPUInterface.xib +++ b/macosx/plugins/PeopsXgl/NetSfPeopsOpenGLGPUInterface.xib @@ -1,8 +1,8 @@ - + - - + + @@ -13,9 +13,8 @@ - - - + + @@ -34,4 +33,4 @@ - \ No newline at end of file + diff --git a/macosx/plugins/PeopsXgl/macsrc/PluginWindow.h b/macosx/plugins/PeopsXgl/macsrc/PluginWindow.h index ddeae10b..c2e232cb 100755 --- a/macosx/plugins/PeopsXgl/macsrc/PluginWindow.h +++ b/macosx/plugins/PeopsXgl/macsrc/PluginWindow.h @@ -18,7 +18,6 @@ /* this is a borderless window that can be dragged about. Also, holds a GLView */ #import -#import @interface NetSfPeopsOpenGLGPUPluginWindow : NSWindow { @@ -26,12 +25,6 @@ NSPoint initialLocation; } -- (id) initWithContentRect: (NSRect) contentRect - styleMask: (NSUInteger) aStyle - backing: (NSBackingStoreType) bufferingType - defer: (BOOL) flag ; - - - (BOOL) canBecomeKeyWindow; // to stop the beeping - (void) sendEvent:(NSEvent *)theEvent; @@ -46,8 +39,5 @@ - (void)keyDown:(NSEvent *)theEvent; - (void)keyUp:(NSEvent *)theEvent; -@end - -@interface NetSfPeopsOpenGLGPUPluginWindow (NSMenuValidation) - (BOOL)validateMenuItem:(NSMenuItem*) item; @end diff --git a/macosx/plugins/PeopsXgl/macsrc/PluginWindow.m b/macosx/plugins/PeopsXgl/macsrc/PluginWindow.m index 8e202933..990495ec 100755 --- a/macosx/plugins/PeopsXgl/macsrc/PluginWindow.m +++ b/macosx/plugins/PeopsXgl/macsrc/PluginWindow.m @@ -42,22 +42,6 @@ [super sendEvent:theEvent]; } -- (id) initWithContentRect: (NSRect) contentRect - styleMask: (NSUInteger) aStyle - backing: (NSBackingStoreType) bufferingType - defer: (BOOL) flag -{ - if (self = [super initWithContentRect: contentRect - styleMask: NSBorderlessWindowMask - backing: bufferingType - defer: flag]) - { - return self; - } - - return nil; -} - - (void) windowDidResize:(NSNotification*)notice { } @@ -116,7 +100,6 @@ } - /* -- cgit v1.2.3