Skip to main content
Home Forums 68kMLA Kaleidoscope Scheme to Appearance Theme Conversion — #3
Post #3 by Dennis Nedry
Source Forum68kMLA
CategoryTroubleshooting
Post DateThu, 12 Apr 2012 - 06:12
Original URLhttps://68kmla.org/bb/threads/kaleidoscope-scheme-to-appearance-theme-conversion.25108/
Post
Well apparently I can convert 'cicn's now. Look at the window frame! Does this look familiar? :) (Onyx)

This is still very preliminary, it only supports 8-bit 'cicn's right now. It extracts the color table from the 'cicn', stores it as a 'clut' resource, and then builds a 'pxm#' resource. the 'pxm#' contains all little trimmed pieces of images from the original 'cicn' and references the new color table. Each displayed pixel is a lossless conversion.

As you'll see, I didn't get to the racing stripes or the title text, and in fact, I also did not do the zoom box or grow box even though those wouldn't normally be on this window. Also, proper collapsing of the window and the small 1-pixel shadow isn't finished. I noticed that Kaleidoscope uses embossed text for the title bar - that's another feature not supported in themes.

Anyway, it's progress. I still haven't touched any resource types created by the Kaleidoscope people, such as 'wnd#'. These are all Apple's own data structures that I'm working with.

Picture 4.png

mp.ls