diff options
Diffstat (limited to 'macosx/HBPicture+UIAdditions.m')
-rw-r--r-- | macosx/HBPicture+UIAdditions.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/macosx/HBPicture+UIAdditions.m b/macosx/HBPicture+UIAdditions.m index a3a996942..be4140b56 100644 --- a/macosx/HBPicture+UIAdditions.m +++ b/macosx/HBPicture+UIAdditions.m @@ -89,6 +89,11 @@ return sizeInfo; } +- (NSString *)shortInfo +{ + return [NSString stringWithFormat:@"%dx%d storage, %dx%d display", self.width, self.height, self.displayWidth, self.height]; +} + - (NSString *)sourceInfo { NSString *sizeInfo = @""; |