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.
Another option might be Rezilla <http://sourceforge.net/projects/
rezilla>. I haven't ever used any of it's icon abilities though but
the blurb states:
###
Pickers have been defined for the following types:
'TEXT', 'MENU', 'STR#', 'MBAR', 'RID#', 'Mcmd', 'RidL', 'cicn',
'ICON', 'SICN', 'icns', 'PICT', 'PAT ', 'ppat', 'PAT#',
'ICN#', 'icl4', 'icl8', 'icm#', 'icm4', 'icm8', 'ics#', 'ics4',
'ics8', 'CURS', 'crsr'
###
I've used it recently on 10.5.2 (Intel) to peek at component resources
though.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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