Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!cbmvax!carolyn From: carolyn@cbmvax.UUCP Newsgroups: comp.sys.amiga Subject: Re: Question on PROP. gadgets using AUTOKNOB Message-ID: <1469@cbmvax.cbmvax.cbm.UUCP> Date: Thu, 26-Feb-87 10:30:16 EST Article-I.D.: cbmvax.1469 Posted: Thu Feb 26 10:30:16 1987 Date-Received: Sat, 28-Feb-87 04:24:22 EST References: <8702251843.AA10187@cory.Berkeley.EDU> Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Organization: Commodore Technology, West Chester, PA Lines: 28 In article <8702251843.AA10187@cory.Berkeley.EDU> dillon@CORY.BERKELEY.EDU (Matt Dillon) writes: >Everything works properly. The question is: What should I do with the entry in >the Gadget structure for the Image? INTUITION crashes if I set it to NULL, >but when I set it to some arbitrary image, it doesn't seem to affect the >proportional gadget at all. > >In otherwords, no matter what I set the Image to, I get a normal rectangular >border around my prop gadget. Now, I *want* a normal border, but do not >understand why I need a dummy image to make it all work. I don't have time to search through the source for the REASON, but it is true that Intuition requires an Image structure for prop gadgets. In the case of AUTOKNOB props, this Image structure need not be initialized but your GadgetRender must point to it. This is stated in the Intuition manual (p.5-15 CBM, p.98 A/W). My guess is that Intuition stores current info about your AutoKnob in the Image structure. Just like it stores info about your gadgets and menus in your structures. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Carolyn Scheppner -- CBM >>Amiga Technical Support<< UUCP ...{allegra,caip,ihnp4,seismo}!cbmvax!carolyn PHONE 215-431-9180 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=