nanogui: GrSetGCForeground
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/