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/PcsxrMemoryObject.m | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'macosx/PcsxrMemoryObject.m') diff --git a/macosx/PcsxrMemoryObject.m b/macosx/PcsxrMemoryObject.m index a54cc7a5..55753914 100755 --- a/macosx/PcsxrMemoryObject.m +++ b/macosx/PcsxrMemoryObject.m @@ -6,13 +6,8 @@ // Copyright (c) 2011 __MyCompanyName__. All rights reserved. // +#import #import "PcsxrMemoryObject.h" -#import -#import -#import -#import -#import -#import NSString *const memoryAnimateTimerKey = @"PCSXR Memory Card Image Animate"; @@ -225,7 +220,7 @@ static NSString *MemLabelEndLink; return [PcsxrMemoryObject memoryLabelFromFlag:flagNameIndex]; } -NS_INLINE void SetupAttrStr(NSMutableAttributedString *mutStr, NSColor *txtclr) +static inline void SetupAttrStr(NSMutableAttributedString *mutStr, NSColor *txtclr) { NSRange wholeStrRange = NSMakeRange(0, mutStr.string.length); [mutStr addAttribute:NSFontAttributeName value:[NSFont userFontOfSize:[NSFont systemFontSizeForControlSize:NSSmallControlSize]] range:wholeStrRange]; -- cgit v1.2.3