diff options
Diffstat (limited to 'macosx/Source')
| -rw-r--r-- | macosx/Source/MemBadgeView.h | 1 | ||||
| -rw-r--r-- | macosx/Source/PcsxrHexadecimalFormatter.h | 3 | ||||
| -rw-r--r-- | macosx/Source/PcsxrMemoryObject.m | 5 |
3 files changed, 4 insertions, 5 deletions
diff --git a/macosx/Source/MemBadgeView.h b/macosx/Source/MemBadgeView.h index b28353bd..e64c8fbf 100644 --- a/macosx/Source/MemBadgeView.h +++ b/macosx/Source/MemBadgeView.h @@ -9,6 +9,7 @@ #import <Cocoa/Cocoa.h> //TODO: also include the memory count in the view as well. +IB_DESIGNABLE @interface MemBadgeView : NSView @end diff --git a/macosx/Source/PcsxrHexadecimalFormatter.h b/macosx/Source/PcsxrHexadecimalFormatter.h index 63a3da44..8ae8a247 100644 --- a/macosx/Source/PcsxrHexadecimalFormatter.h +++ b/macosx/Source/PcsxrHexadecimalFormatter.h @@ -8,7 +8,8 @@ #import <Foundation/Foundation.h> +IB_DESIGNABLE @interface PcsxrHexadecimalFormatter : NSFormatter -@property (nonatomic) char hexPadding; +@property (nonatomic) IBInspectable char hexPadding; @end diff --git a/macosx/Source/PcsxrMemoryObject.m b/macosx/Source/PcsxrMemoryObject.m index f19a460f..9860e7fa 100644 --- a/macosx/Source/PcsxrMemoryObject.m +++ b/macosx/Source/PcsxrMemoryObject.m @@ -265,10 +265,7 @@ static inline void SetupAttrStr(NSMutableAttributedString *mutStr, NSColor *txtc SetupAttrStr(tmpStr, [NSColor blueColor]); attribMemLabelEndLink = [tmpStr copy]; - //tmpStr = [[NSMutableAttributedString alloc] initWithString:@"Multi-save"]; - //SetupAttrStr(tmpStr, [NSColor blueColor]); - //attribMemLabelLink = [tmpStr copy]; - //RELEASEOBJ(tmpStr); + // Same as attribMemLabelEndLink on release builds attribMemLabelLink = attribMemLabelEndLink; //display nothing |
