🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #10009

Re: How to deselect a gadget

#10009
From: Leo 'Bols Ewhac' Schwab
Date: Tue, 11 Oct 1988 06:43
37 lines
2227 bytes
In article <12623@oberon.USC.EDU> papa@pollux.usc.edu (Marco Papa) writes:
>Nope, don't do indoiscriminate RefreshGlists: the "CBM-recommended" way 
>to "fiddle" with gadgets is:
>
>1. RemoveGadget
>2. fiddle with gadgets imagery, SELECTED, text, etc...
>3. RefreshGadgets or RefreshGList
>
	However, you are still screwed if you are dealing with gadgets that
have only GadgetText linked to them.  This is probably due to the sequence
in which Intuition renders the Gadget imagery.

	The reason this approach works with Image gadgets is because Images
are rather like bitmaps, and thus blitz over the previous imagery
(highlighted or not).

	However, the use of an Image in a Gadget deprives you of the
ability to put a Border around your gadget, unless you make it part of the
image.

>Also (and this is documented twice in the 1.2 Enhancer docs) these games
>(especially the SLECTED toggle) can be played safely ONLY with gadget
>with imagery, not with simple boolean gadgets.  This is not a bug.
>this is just the way things are and have been (the 1.2 Enhancer docs
>is almost two years old).
>
	This is *too* a bug (my opinion, my opinion).  The fact that it has
existed forever doesn't make it any less irritating.

	Too bad the Gadget's MutualExclude field is still unused; this
problem wouldn't exist otherwise.  Sigh.

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Leo L. Schwab -- The Guy in The Cape	INET: well!ewhac@ucbvax.Berkeley.EDU
 \_ -_		Recumbent Bikes:	UUCP: pacbell > !{well,unicom}!ewhac
O----^o	      The Only Way To Fly.	      hplabs / (pronounced "AE-wack")
"Work FOR?  I don't work FOR anybody!  I'm just having fun."  -- The Doctor
Technical Details
Message-ID: <7345@well.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!super!udel!gatech!uflorida!haven!ames!lll-tis!lll-ncis!lll-lcc!well!ewhac
References: <3229@pt.cs.cmu.edu> <12623@oberon.USC.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!super!udel!gatech!uflorida!haven!ames!lll-tis!lll-ncis!lll-lcc!well!ewhac
From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab)
Newsgroups: comp.sys.amiga.tech
Subject: Re: How to deselect a gadget
Message-ID: <7345@well.UUCP>
Date: 11 Oct 88 06:43:55 GMT
References: <3229@pt.cs.cmu.edu> <12623@oberon.USC.EDU>
Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab)
Organization: Slow-Witted Weapons Experts, Ltd.
Lines: 37
Quote: "Hope is very dangerous."  -- Servalan