Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TMS Component documentation for input methods



Am 27.05.2008 um 13:42 schrieb Bryan Robinson:
I have another basic question. In the BasicInputMethod example BIM.r, the 16x16 icons are listed are 16-bit hex values (array) in the the file (ics#, ics4, ics8, kcs#, kcs4, kcs8). Is there an XCode/IB tool that allows one to create such icons and converts the icon to the data arrays?

kxx is effectively the same as ixx. There's no tool in Xcode to do the conversion for you, though if you have a Mac that runs Classic, you can use ResEdit from Apple to create these resources, then use DeRez to go to a hex description in a .r file again. Or you can buy Resourcerer from Mathemaesthetics, which runs on OS X.


The format is pretty easy, though. They're essentially the raw bitmap data. The "s" stands for small (16x16px), the #, 4, 8 stand for 1, 4 and 8 bit indexed color. The color palettes were printed in Inside Mac: Imaging with Quickdraw in a color inlay (the PDF contains that, too). I think it was on the first inside page.

Come to think of it, GraphicConverter might also support these resource formats. You could also try the IconFamily Cocoa class, it generates icons of the ixx types, though it might create them as a collection in an 'icns' resource.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."


_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >TMS Component documentation for input methods (From: "Bryan Robinson" <email@hidden>)
 >Re: TMS Component documentation for input methods (From: Philip Aker <email@hidden>)
 >Re: TMS Component documentation for input methods (From: "Bryan Robinson" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.