BathyScapheのアイコンセット生成&適用ツール
| Revision | 647c9c2f3bf95f2da45c194936e5921c6c9365d8 (tree) |
|---|---|
| Time | 2012-05-31 00:09:19 |
| Author | masakih <masakih@user...> |
| Commiter | masakih |
[Fix] defualtImageプロパティを作り忘れてたので作った
| @@ -10,6 +10,7 @@ | ||
| 10 | 10 | |
| 11 | 11 | #import "IconSetComposer.h" |
| 12 | 12 | |
| 13 | + | |
| 13 | 14 | @implementation BSCSIcons |
| 14 | 15 | @synthesize image, imageFileWrapper, placeholder; |
| 15 | 16 | @synthesize title, identifier; |
| @@ -26,6 +27,14 @@ | ||
| 26 | 27 | return result; |
| 27 | 28 | } |
| 28 | 29 | |
| 30 | +- (NSImage *)defaultImage | |
| 31 | +{ | |
| 32 | + return self.placeholder; | |
| 33 | +} | |
| 34 | +- (void)setDefaultImage:(NSImage *)anImage | |
| 35 | +{ | |
| 36 | + self.placeholder = anImage; | |
| 37 | +} | |
| 29 | 38 | |
| 30 | 39 | //- (BOOL)validateValue:(id *)ioValue forKey:(NSString *)inKey error:(NSError **)outError |
| 31 | 40 | //{ |