[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
GrSetGCForeground
From: "Leah Burstein" ####@####.#### Date: 30 May 2001 01:03:40 -0000 Message-Id: <025501c0e8a4$dc9e5b20$7001010a@homeGopher.com> Hello, What can be the reason that after GrSetGCForeground (gc, RED); in HelloWorld Demo from "Getting Started" the text shows up as Black on White? Thank you, Leah. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] GrSetGCForeground
From: Gary James ####@####.#### Date: 30 May 2001 02:00:47 -0000 Message-Id: <20010529220047.A773@pc.twcny.rr.com> > 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/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] GrSetGCForeground
From: "Leah Burstein" ####@####.#### Date: 31 May 2001 16:17:38 -0000 Message-Id: <001401c0e9ed$cc86c840$7001010a@homeGopher.com> > > 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. No, everything shows up as black on white. > Does the line: > #define MWINCLUDECOLORS > preceed the line: > #include "microwin/nano-X.h" Yes. > You could try to specify the color directly this way: > GrSetGCForeground (gc, MWRGB(128,0,0)); > (but that really should not make any difference) Tried. Indeed - any difference. > What type of display are you using? What do you mean here exactly? Thanks, Leah. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] GrSetGCForeground
From: Alex Holden ####@####.#### Date: 31 May 2001 16:24:59 -0000 Message-Id: <Pine.LNX.4.04.10105311720450.1193-100000@hyperspace.linuxhacker.org> On Thu, 31 May 2001, Leah Burstein wrote: > No, everything shows up as black on white. What colour depth are you running the framebuffer in? Do colours work in text mode applications on the same framebuffer console? -- ------- Alex Holden ------- http://www.linuxhacker.org/ http://www.robogeeks.org/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] GrSetGCForeground
From: "Leah Burstein" ####@####.#### Date: 7 Jun 2001 19:54:15 -0000 Message-Id: <004c01c0ef8c$3e506550$7001010a@homeGopher.com> 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: ####@####.#### > > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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: ####@####.#### > > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |