nanogui: Problem with overwriting text.
Subject:
Re: [nanogui] Problem with overwriting text.
From:
amareesh ####@####.####
Date:
5 Oct 2005 14:24:53 +0100
Message-Id: <1128518909.21838.11.camel@Amareesh>
Hi Greg ,
I followed instructions from u, still it dosent help until I write a
sufficiently long empty string with GrSetGCUseBackground(gc, TRUE)
before the actual text(to have a cleaning effect.)
This workaround is an overhead.
I gues it'll run into performance issues once ported to target.
Could you suggest any other quickfix??
Thank You.
With Regards,
Amareesh
On Mon, 2005-10-03 at 06:20, Greg Haerr wrote:
> : when i overwrite text on a window , it is all garbled.
> :
> : Is there any alternative to killing and redrawing the window on which
> : text is to be drawn?
>
> Likely there are many alternatives. It sounds like your text drawing
> doesn't have the background being drawn as well as the foreground.
> Make sure you execute a GrSetGCBackground as well as
> GrSetGCUseBackground(gc, TRUE);
>
> Regards,
>
> Greg
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or ####@####.####