Article View: comp.sys.amiga.tech
Article #10932Re: Ghosting of Boolean Gadgets
From: Chuck McManis
Date: Thu, 12 Jan 1989 20:17
Date: Thu, 12 Jan 1989 20:17
21 lines
1655 bytes
1655 bytes
In article <1568@ucqais.uc.edu> blubaugh@ucqais.uc.edu (Dwight Blubaugh) writes:
>I'm having problems with Boolean gadgets that I hope someone could explain.
> ... The gadget in question is a very simple bordered boolean gadget.
That is the problem. One would think that the simplest boolean gadget in
the world would be a gadget consisting of nothing more than a border and
and IntuiText structure. However that just ain't so. The interactions
between the draw modes of the border and the text and interesting as are
the kinds of assumptions intuition makes about the state of the world
before it draws stuff. The easiest way to make those gadgets work is
to Alloc a little bitmap, render your text and border into it, and then
build a gadget out of it that is an Image gadget (which it turns out is
really the simplest gadget). Then things will work as you expect except
that you will probably get a lot of "flashing" when you refresh your
gadgets. I think the trick here is to never use the SELECTED flag but
I may be wrong.
--Chuck McManis
uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com
These opinions are my own and no one elses, but you knew that didn't you.
Technical Details
Message-ID:
<85098@sun.uucp>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!seismo!sundc!pitstop!sun!pepper!cmcmanisReferences:
<1568@ucqais.uc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!seismo!sundc!pitstop!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga.tech Subject: Re: Ghosting of Boolean Gadgets Keywords: Gadgets,intuition Message-ID: <85098@sun.uucp> Date: 12 Jan 89 20:17:03 GMT References: <1568@ucqais.uc.edu> Sender: news@sun.uucp Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 21