 |
 |
Applying icons to applications
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Sep 2000
Location: Antioch, CA
Status:
Offline
|
|
How would I apply the thumbnail icons to a Carbon application in OS X?
|
|
|
| |
|
|
|
 |
|
 |
|
wyzeguy
|
|
You can copy and paste icons into the info (or the Inspector as it's called now)windows in OS X just the same as in OS 9 or earlier.
------------------
Life is what happens to you when you have something else planned. --Mark Roberts
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Sep 2000
Location: Antioch, CA
Status:
Offline
|
|
But will they show up as those nice 128x128 icons?
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Sep 2000
Status:
Offline
|
|
You need a 128 x 128 icns file, and the name of the file needs to be specified in the app bundle's Info.plist. ProjectBuilder will allow you to set the icon name in its "Application Settings" pane; this gets it to the Info.plist file automatically.
If you find yourself having to get this into the Info.plist by hand, see the InfoPlist.html release note.
You can use IconComposer application (in /Developer/Applications) to create icns files which contain 128 x 128 representations.
Ali
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Sep 2000
Location: Antioch, CA
Status:
Offline
|
|
But what about Carbon? How would you do it with a Carbon app?
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Sep 2000
Status:
Offline
|
|
Originally posted by mjuarez:
But what about Carbon? How would you do it with a Carbon app?
As long as you package your Carbon app in a .app folder (bundle), it's the same.
Note that even CFM Carbon apps that are meant to be used on 9 and X can be packaged this way, so there's really nothing stopping you from doing this packaging. For instance, check out IE on Public Beta.
If your question is, how to do this with flat CFM Carbon apps, I don't know the answer.
Ali
|
|
|
| |
|
|
|
 |
|
 |
|
aaron!
|
|
This is what we do in our app since we aren't using a bundle and don't plan to in the near future.
We build the icon using Icon Builder Pro. It exports a .icns file with all the data in the data fork. Using resorcerer, copy all the hex data from the data fork into a new icns resource. Save that resource as -16455. Copy that resource into your app. Set the "Has Custom Icon" bit for your app.
I also made an icns resource of id 128 (since the BNDL specifies that as the app icon) just in case. I don't know if that's required
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |