nanogui: GrSetGCForeground


Previous by date: 8 Jun 2001 00:28:39 -0000 Re: GrSetGCForeground, Leah Burstein
Next by date: 8 Jun 2001 00:28:39 -0000 Problem in repaint, Sridharan Subramanian
Previous in thread: 8 Jun 2001 00:28:39 -0000 Re: GrSetGCForeground, Leah Burstein
Next in thread:

Subject: Re: [nanogui] GrSetGCForeground
From: "Leah Burstein" ####@####.####
Date: 8 Jun 2001 00:28:39 -0000
Message-Id: <001c01c0efb2$894aed20$7001010a@homeGopher.com>

The problem solved... All works. The colors looked odd only through vnc.

Thanks.

----- Original Message -----
From: Leah Burstein ####@####.####
To: Alex Holden ####@####.#### Gary James ####@####.####
Cc: NanoGui ####@####.####
Sent: Thursday, June 07, 2001 12:58 PM
Subject: Re: [nanogui] GrSetGCForeground


> It took some time to figure out about display...
> The server prints:
> Visual Class: True Color(4)
> depth: 8
> bits_per_rgb:8
> map_entries: 8
> Colormap: 0x21
>
> We could get some (random) colors, but not with RGB, only straightly
sending
> hexa values. And we could not figure the pattern. For example, some kind
of
>  red = 17a6b0, yellow = 3f52f0, green = 794eb0, blue = c1c960. White is
> ffffff, as expected. What do you think?
>
> Thanks, Leah.
>
>
> ----- Original Message -----
> From: Gary James ####@####.####
> To: Leah Burstein ####@####.####
> Cc: NanoGui ####@####.####
> Sent: Tuesday, May 29, 2001 7:00 PM
> Subject: Re: [nanogui] GrSetGCForeground
>
>
> > > What can be the reason that after GrSetGCForeground (gc, RED); in
> > > HelloWorld Demo from "Getting Started" the text shows up as Black on
> > > White?
> >
> > Hmmm, I don't know...
> > Do any other colors work? Try LTRED, LTBLUE, LTGREEN.
> >
> > Does the line:
> >   #define MWINCLUDECOLORS
> > preceed the line:
> >   #include "microwin/nano-X.h"
> >
> > You could try to specify the color directly this way:
> >   GrSetGCForeground (gc, MWRGB(128,0,0));
> > (but that really should not make any difference)
> >
> > What type of display are you using?
> >
> >
> > Gary James
> > ####@####.####
> > http://home.twcny.rr.com/embedded/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: ####@####.####
> > For additional commands, e-mail: ####@####.####
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>


Previous by date: 8 Jun 2001 00:28:39 -0000 Re: GrSetGCForeground, Leah Burstein
Next by date: 8 Jun 2001 00:28:39 -0000 Problem in repaint, Sridharan Subramanian
Previous in thread: 8 Jun 2001 00:28:39 -0000 Re: GrSetGCForeground, Leah Burstein
Next in thread:


Powered by ezmlm-browse 0.20.