diff options
author | ritsuka <[email protected]> | 2015-04-09 19:43:33 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-04-09 19:43:33 +0000 |
commit | f360714523e5f1f78ced2ae8691f3087b80eef65 (patch) | |
tree | 026c25eeba6d089a53ee1f73aed7329a318088cd /macosx/HBImageAndTextCell.m | |
parent | f0cc63a21d2e4510f911c4cde75d051aec3e5635 (diff) |
MacGui: run the Xcode "convert to modern objective-c" on the entire project.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7075 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBImageAndTextCell.m')
-rw-r--r-- | macosx/HBImageAndTextCell.m | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/macosx/HBImageAndTextCell.m b/macosx/HBImageAndTextCell.m index 57a4b023b..b0c400edb 100644 --- a/macosx/HBImageAndTextCell.m +++ b/macosx/HBImageAndTextCell.m @@ -70,8 +70,14 @@ scaleProportionally(NSSize imageSize, NSRect canvasRect) #endif @implementation HBImageAndTextCell +{ +@private + NSImage *image; + NSImageAlignment imageAlignment; // defaults to NSImageAlignTop. Supports NSImageAlignCenter & NSImageAlignBottom + NSSize imageSpacing; // horizontal and vertical spacing around the image +} --(id)initTextCell:(NSString *)aString +-(instancetype)initTextCell:(NSString *)aString { if (self = [super initTextCell:aString]) { @@ -81,7 +87,7 @@ scaleProportionally(NSSize imageSize, NSRect canvasRect) return self; } --(id)initWithCoder:(NSCoder *)decoder +-(instancetype)initWithCoder:(NSCoder *)decoder { if (self = [super initWithCoder:decoder]) { |