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.h | |
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.h')
-rw-r--r-- | macosx/HBImageAndTextCell.h | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/macosx/HBImageAndTextCell.h b/macosx/HBImageAndTextCell.h index 855067c51..1cebae4be 100644 --- a/macosx/HBImageAndTextCell.h +++ b/macosx/HBImageAndTextCell.h @@ -8,23 +8,12 @@ #import <Cocoa/Cocoa.h> @interface HBImageAndTextCell : NSTextFieldCell -{ -@private - NSImage *image; - NSImageAlignment imageAlignment; // defaults to NSImageAlignTop. Supports NSImageAlignCenter & NSImageAlignBottom - NSSize imageSpacing; // horizontal and vertical spacing around the image -} -- (void) setImage:(NSImage *)anImage; -- (NSImage *) image; - -- (void) setImageAlignment:(NSImageAlignment)alignment; -- (NSImageAlignment) imageAlignment; - -- (void)setImageSpacing:(NSSize)aSize; -- (NSSize)imageSpacing; +@property (strong) NSImage *image; +@property (nonatomic) NSImageAlignment imageAlignment; +@property (nonatomic) NSSize imageSpacing; - (void) drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView; -- (NSSize) cellSize; +@property (readonly) NSSize cellSize; @end |