🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Menu Intuition SelectFill

#217
From: Bryan Ford
Date: Sun, 18 Jun 1989 23:29
25 lines
1555 bytes
In article <3837@sdsu.UUCP>, lindwall@sdsu.UUCP (John Lindwall) writes:
>	I've created an Intuitext menu item with Flags = HIGHIMAGE | ITEMTEXT.
>I've supplied the ItemFill pointer and a SelectFill pointer.  When the menu
>drops the ItemFill text is displayed as expected.  When the mouse pointer is
>moved over the item it seems that the SelectFill text is overwritten on top
>of the ItemFill text.  Thus the text is unreadable - since both strings are
>visible simultaneously, on top of one another.  I guess Intuition forgot to
>erase the ItemFill text before zapping the SelectFill text in there.

Easy fix.

Set the IntuiText.DrawMode to JAM2 instead of JAM1, and make sure the
BackPen is set to something different from the FrontPen.  JAM2 will cause
the new text to overwrite the old text.  Note, however, that both
IntuiTexts must be in the same relative position, and must be the same
length (pad one with spaces if necessary).

				Bryan

--

     ____________________________________________
   _/ Bryan Ford - bryan@geo-works.geo-works.com \_
 _/    ..!utah-cs!caeco!i-core!geo-works!bryan     \_
/   ..!uunet!iconsys!caeco!i-core!geo-works!bryan    \
Technical Details
Message-ID: <1005.AA1005@geo-works>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!iconsys!caeco!i-core!geo-works!bryan
References: <3837@sdsu.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!iconsys!caeco!i-core!geo-works!bryan
From: bryan@geo-works.UUCP (Bryan Ford)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Menu Intuition SelectFill
Message-ID: <1005.AA1005@geo-works>
Date: 18 Jun 89 23:29:41 GMT
References: <3837@sdsu.UUCP>
Followup-To: comp.sys.amiga.tech
Lines: 25