nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: text and Fill Rect
From: Aaron J. Grier
Date: Thu, 30 May 2002 10:07:52 -0700

On Thu, May 30, 2002 at 11:12:14AM +0100, Fergal Kelly wrote:
> I suspected as much, I have to use Fill Rect because I need to have
> the complete background a different colour.  It's not a problem, just
> it would have been really neat if somehow the rect could filled
> beneath the text, so too speak.

if you have palettized colors, you could use a unique palette entry for
the text background, then change the palette entry.

or create an analogue to fill rect which changes one color to another
without disturbing "third party" colors.

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  aaron@frye.com

nanogui@linuxhacker.org