🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help needed on icon data structures

#13498
From: David Junod - CATS
Date: Sat, 03 Feb 1990 16:09
18 lines
1151 bytes
In article <92857@linus.UUCP> duncant@mbunix.mitre.org (Thomson) writes:
>I have a question about icons...
[stuff deleted]
>Anyone know what it is that makes some icons have transparent backgrounds, 
>and others not?

According to the workbench/workbench.h include file:  To get transparent back-
ground, set the GADGBACKFILL bit in the do_Gadget.Flags field.  In other words,
set an image in do_Gadget.GadgetRender, do_Gadget.SelectRender to NULL and
do_Gadget.Flags = GADGIMAGE | GADGBACKFILL.

Or, in an icon editor, select Backfill as the highlighting mode. Most icon
editors support this.

>Thanks,
>Duncan Thomson

Hope that helps!  ~DNJ~
Technical Details
Message-ID: <9603@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!rutgers!cbmvax!davidj
References: <92857@linus.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!rutgers!cbmvax!davidj
From: davidj@cbmvax.commodore.com (David Junod - CATS)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Help needed on icon data structures
Message-ID: <9603@cbmvax.commodore.com>
Date: 3 Feb 90 16:09:43 GMT
References: <92857@linus.UUCP>
Reply-To: davidj@cbmvax.cbm.commodore.com (David Junod - CATS)
Organization: Commodore, West Chester, PA
Lines: 18