• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

BathyScapheのアイコンセット生成&適用ツール


Commit MetaInfo

Revision647c9c2f3bf95f2da45c194936e5921c6c9365d8 (tree)
Time2012-05-31 00:09:19
Authormasakih <masakih@user...>
Commitermasakih

Log Message

[Fix] defualtImageプロパティを作り忘れてたので作った

Change Summary

Incremental Difference

--- a/BSCSIcons.m
+++ b/BSCSIcons.m
@@ -10,6 +10,7 @@
1010
1111 #import "IconSetComposer.h"
1212
13+
1314 @implementation BSCSIcons
1415 @synthesize image, imageFileWrapper, placeholder;
1516 @synthesize title, identifier;
@@ -26,6 +27,14 @@
2627 return result;
2728 }
2829
30+- (NSImage *)defaultImage
31+{
32+ return self.placeholder;
33+}
34+- (void)setDefaultImage:(NSImage *)anImage
35+{
36+ self.placeholder = anImage;
37+}
2938
3039 //- (BOOL)validateValue:(id *)ioValue forKey:(NSString *)inKey error:(NSError **)outError
3140 //{