Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!uwm.edu!lll-winken!cert!netnews.upenn.edu!msuinfo!rang From: rang@cs.wisc.edu (Anton Rang) Newsgroups: comp.sys.mac.programmer Subject: Re: WDEF editor ? Message-ID: Date: 28 Apr 91 20:51:50 GMT References: <1991Apr28.060530.22536@newshost.anu.edu.au> Sender: news@msuinfo.cl.msu.edu Organization: UW-Madison CS department Lines: 19 In-Reply-To: jww502@anu.oz.au's message of 28 Apr 91 06:05:30 GMT In article <1991Apr28.060530.22536@newshost.anu.edu.au> jww502@anu.oz.au ("John W White") writes: > Since there are so many (well OK, a few) alternative WDEF >inits around, I was wondering if there was an editor or something so >that I (and possibly others :-)) can create my own. If there isn't >then how do you work out the resource ? Hmmmmmmmmm ? :-) A WDEF resource is just a chunk of 68000 code. See Inside Mac for details. There are probably disassemblers around for it; the source for the standard WDEF is available on apple.com. To create one, you can just use your favorite compiler--MPW, THINK Pascal, and THINK C all make this easy. (OK, "easy" is relative. Fairly easy?) > Also what about the same sort of thing for buttons (a la >Olivers Buttons) and which resource is used for that ? This is a CDEF resource, and the same answers as above apply. Anton +---------------------------+------------------+-------------+----------------+ | Anton Rang (grad student) | rang@cs.wisc.edu | UW--Madison | "VMS Forever!" | +---------------------------+------------------+-------------+----------------+