Skip to main content
Home Browse Development Color Picker Mdef
Color Picker Mdef
Color Picker Mdef icon

Color Picker Mdef

Development · info-mac
Filenamecolor-picker-mdef.hqx
Size25.9 KB (26478 bytes)
Downloads2
About
By Jordan Zimmerman (c)1995 by Jordan Zimmerman This code implements a Macintosh MDEF for selecting a color. The user is presented with a matrix of color chips to select from. Each menu item represents a color to be displayed. It should be a 12 byte string of the form: RRRRGGGGBBBB where RRRR, GGGG, and BBBB are hex numbers (as ASCII text). So, the color black would be: "\pFFFFFFFFFFFF" the color green would be: "\p0000FFFF0000" The current color is, by definition, the menu item that has a mark. So, you should only set a mark (any value) for one item at time.
File Info

This file is from the info-mac archive. It is BinHex encoded — use The Unarchiver to decode it.

MacTrove — a free archive of classic Macintosh software. Files mirrored from ftp.funet.fi/pub/mac (info-mac + funet legacy). All software provided for historical preservation.