diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2015-01-27 18:54:11 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2015-01-27 18:54:11 +0000 |
| commit | 58cbcb27965a171e378cde14d02d430bbe48e752 (patch) | |
| tree | 4362bb62dee2dc6c433d673487173ccc82d56cd2 /macosx/Source | |
| parent | 87961164328c33726614b307801fb2a0ba87b8dc (diff) | |
| download | pcsxr-58cbcb27965a171e378cde14d02d430bbe48e752.tar.gz | |
OS X: Have custom views use IB_DESIGNABLE.
Minor comment change.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@93285 e17a0e51-4ae3-4d35-97c3-1a29b211df97
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 |
