Path: 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 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~