Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!uokmax!jtsweet From: jtsweet@uokmax.ecn.uoknor.edu (Jonathan Thoma Sweet) Newsgroups: comp.sys.mac.programmer Subject: Re: WDEF editor ? Message-ID: <1991Apr28.232759.13768@uokmax.ecn.uoknor.edu> Date: 28 Apr 91 23:27:59 GMT References: <1991Apr28.060530.22536@newshost.anu.edu.au> Organization: Engineering Computer Network, University of Oklahoma, Norman, OK Lines: 34 rang@cs.wisc.edu (Anton Rang) writes: >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?) Yes but there must be some sort of a program that would be able to generate the code. I've looked in the Res. of a QuickChange document (a cdev that changes your cursors, windows, buttons, and sounds) and the only thing that defines the windows is the WDEF resource. It's not a huge resource and I'm sure there could be some kind of utility to create a new recourse. >> Also what about the same sort of thing for buttons (a la >>Olivers Buttons) and which resource is used for that ? Maybe the editor could do both. +-------------------------------+--------------------------------------+ | jtsweet@uokmax.ecn.uoknor.edu | "I'll get all the rest I need when | +-------------------------------+-----+ I die." - Road House | | "Oh God, I'm so depressed" - Marvin +--------------------------------+ | "Fully functional..." - DATA | +-------------------------------------+