masakih

BSIconSetComposer(プロジェクト終了)

  • R/O
  • HTTP
  • SSH
  • HTTPS

コミット

よく使われているワード(クリックで追加)

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

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


コミットメタ情報

リビジョンd8024a7455f16f0651363aee491ed62e40953364 (tree)
日時2012-05-27 18:57:27
作者masakih <masakih@user...>
コミッターmasakih

ログメッセージ

[New] BathyScapheが持たない画像用プレースホルダが象を追加

変更サマリ

差分

--- a/BSIconSetComposer.xcodeproj/project.pbxproj
+++ b/BSIconSetComposer.xcodeproj/project.pbxproj
@@ -34,6 +34,7 @@
3434 F4E4477008AFABF200375AF1 /* TemporaryFolder.m in Sources */ = {isa = PBXBuildFile; fileRef = F4E4476F08AFABF200375AF1 /* TemporaryFolder.m */; };
3535 F4F4AECF0880D28100E44313 /* IconSetComposer.m in Sources */ = {isa = PBXBuildFile; fileRef = F4F4AECE0880D28100E44313 /* IconSetComposer.m */; };
3636 F4F4B2C608814EFF00E44313 /* ImageList.plist in Resources */ = {isa = PBXBuildFile; fileRef = F4F4B2C508814EFF00E44313 /* ImageList.plist */; };
37+ F4FDBDF81572231100036EBB /* DropToMe.png in Resources */ = {isa = PBXBuildFile; fileRef = F4FDBDF71572231100036EBB /* DropToMe.png */; };
3738 F4FF6E7908C74AEF00C0214D /* ColorSet.m in Sources */ = {isa = PBXBuildFile; fileRef = F4FF6E7808C74AEF00C0214D /* ColorSet.m */; };
3839 /* End PBXBuildFile section */
3940
@@ -100,6 +101,7 @@
100101 F4F4AECE0880D28100E44313 /* IconSetComposer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IconSetComposer.m; sourceTree = "<group>"; };
101102 F4F4B2C508814EFF00E44313 /* ImageList.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = ImageList.plist; sourceTree = "<group>"; };
102103 F4F4B5FC08818D4400E44313 /* Credits.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = Credits.rtf; sourceTree = "<group>"; };
104+ F4FDBDF71572231100036EBB /* DropToMe.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = DropToMe.png; sourceTree = "<group>"; };
103105 F4FF6E7708C74AEF00C0214D /* ColorSet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ColorSet.h; sourceTree = "<group>"; };
104106 F4FF6E7808C74AEF00C0214D /* ColorSet.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ColorSet.m; sourceTree = "<group>"; };
105107 /* End PBXFileReference section */
@@ -199,6 +201,7 @@
199201 2A37F4B8FDCFA73011CA2CEA /* Resources */ = {
200202 isa = PBXGroup;
201203 children = (
204+ F4FDBDF71572231100036EBB /* DropToMe.png */,
202205 F45B21830919919C0055CBC4 /* IconNames.strings */,
203206 F442011E08EFDF8A007AFE9F /* BathyScapheSystemImages.plist */,
204207 F471950008E302AE00710258 /* Localizable.strings */,
@@ -341,6 +344,7 @@
341344 F442011F08EFDF8A007AFE9F /* BathyScapheSystemImages.plist in Resources */,
342345 F45B21840919919C0055CBC4 /* IconNames.strings in Resources */,
343346 F42A855A0F8A580A0014157F /* DeprecatedImageList.plist in Resources */,
347+ F4FDBDF81572231100036EBB /* DropToMe.png in Resources */,
344348 );
345349 runOnlyForDeploymentPostprocessing = 0;
346350 };
Binary files /dev/null and b/DropToMe.png differ
--- a/IconSetComposer.h
+++ b/IconSetComposer.h
@@ -24,6 +24,8 @@ enum {
2424 +(BOOL)isAcceptImageExtension:(NSString *)ext;
2525 +(NSArray *)acceptImageExtensions;
2626
27+- (NSImage *)dropToMeImage;
28+
2729 -(BOOL)launchBS;
2830 -(long)quitBS;
2931 -(BOOL)isRunningBS;
--- a/IconSetComposer.m
+++ b/IconSetComposer.m
@@ -318,6 +318,12 @@ final:
318318 return array;
319319 }
320320
321+
322+- (NSImage *)dropToMeImage
323+{
324+ return [NSImage imageNamed:@"DropToMe"];
325+}
326+
321327 -(BOOL)isRunningBS
322328 {
323329 NSArray *array;
--- a/IconSetDocument.m
+++ b/IconSetDocument.m
@@ -355,6 +355,12 @@ static NSArray *sThreadIdentifiers;
355355 [temp release];
356356 }
357357
358+- (NSImage *)dropToMeImage
359+{
360+ return [[IconSetComposer sharedInstance] dropToMeImage];
361+}
362+- (void)setDropToMeImage:(NSImage *)h {}
363+
358364 #pragma mark-
359365 #pragma mark ## MVC - Controller ##
360366