nanogui: Re: white color in images - SOLVED


Previous by date: 15 Sep 2004 04:25:09 +0100 Re: Porting nano-X to uClinux on M68VZ328, Greg Haerr
Next by date: 15 Sep 2004 04:25:09 +0100 Re: Query about configuring the resolution..., Greg Haerr
Previous in thread: 15 Sep 2004 04:25:09 +0100 Re: white color in images - SOLVED, Hinko Kocevar
Next in thread:

Subject: Re: [nanogui] white color in images - SOLVED
From: "Greg Haerr" ####@####.####
Date: 15 Sep 2004 04:25:09 +0100
Message-Id: <0fd801c49ad3$4b50f3f0$3eba46a6@winXP>

:                  XSetBackground(dpy, gc, 0xffff0000);    /* white*/

: It looks like the values have to be swapped, despite the comment above.

I think the reason this works is that your white value is no longer
-1, as detailed in an earlier email.  While this solution works
for now since you're running 16bpp, it's probably not a good
full-time fix.

Regards,

Greg



Previous by date: 15 Sep 2004 04:25:09 +0100 Re: Porting nano-X to uClinux on M68VZ328, Greg Haerr
Next by date: 15 Sep 2004 04:25:09 +0100 Re: Query about configuring the resolution..., Greg Haerr
Previous in thread: 15 Sep 2004 04:25:09 +0100 Re: white color in images - SOLVED, Hinko Kocevar
Next in thread:


Powered by ezmlm-browse 0.20.