From f360714523e5f1f78ced2ae8691f3087b80eef65 Mon Sep 17 00:00:00 2001 From: ritsuka Date: Thu, 9 Apr 2015 19:43:33 +0000 Subject: 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 --- macosx/HBImageAndTextCell.m | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'macosx/HBImageAndTextCell.m') 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]) { -- cgit v1.2.3