[comp.sys.mac.programmer] PICT CDEF

hpoppe@ncar.ucar.edu (Herb Poppe) (05/03/91)

In article <9563.2820DE7A@stjhmc.fidonet.org> 
Lawson.English@p88.f15.n300.z1.fidonet.org (Lawson English) writes:
> Is there any reason why the Drawing of a button CDEF couldn't be defined 
using
> PICTs? A WDEF as a PICT seems unreasonable, but a drawing program that 
records
> PICTs could have a shell that simply specifies which PICT is drawn for 
each
> CDEF. IE, get a DrawCntl msgCode and use PICT id 3386 for unhilited, 
3387 for
> hilited, etc.

Actually, such a CDEF already exists. Look for a file called "PICT Control 
Demo". This is an application written to demonstrate how to use the CDEF, 
includes an editor for setting up
the resources and includes the CDEF in its resource fork.

Written in 1988 by:

Chris Johnson
311 Red River #305
Austin, TX 78705

chrisj@emx.utexas.edu

Herb Poppe             hpoppe@ncar.ucar.edu
NCAR                      (303) 497-1296
1850 Table Mesa Dr.
Boulder, CO  80307-3000