nanogui: creating listbox


Previous by date: 20 Apr 2006 18:33:17 +0100 Re: creating listbox, Robbie
Next by date: 20 Apr 2006 18:33:17 +0100 Re: Nothing happens, lokutas.myway.com
Previous in thread: 20 Apr 2006 18:33:17 +0100 Re: creating listbox, Robbie
Next in thread:

Subject: Re: [nanogui] Re: creating listbox
From: "Greg Haerr" ####@####.####
Date: 20 Apr 2006 18:33:17 +0100
Message-Id: <03ff01c664a0$76e8a1a0$0300a8c0@RDP>

: > I've tried changing FG and BG of GrText using the GrSetGC(FG/BG)
functions
: > on the fonts gc and it didn't have any effect. I tried that multiple
times
: > to no success and that's when I thought I'll have to have seperate draw
: > IDs' or windows for each item. All this was done on a single window.

GrsetGCUseBackground must be TRUE of the background
color won't be drawn.  Normally, you'll want to use GrFillRect
to fill a rectangle to your background color before drawing text.

: The funny thing about RECT is that I can define a rectangle in a window
but when I want to draw in that rect, what do I do?

GrFillRect is the fast way to draw a filled rectangle.

You don't need regions, these are sets of rectangles, for complex
shapes.

Regards,

Greg



:
: Do I simply draw within the rect area I specify( the real question here is
how to specify that region?).
:
: What about Regions? Can that help me or break me?
:
: Thanks,
: --Robbie
:
:
: _______________________________________________
: Join Excite! - http://www.excite.com
: The most personalized portal on the Web!
:
:
:
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: ####@####.####
: For additional commands, e-mail: ####@####.####
:
:


Previous by date: 20 Apr 2006 18:33:17 +0100 Re: creating listbox, Robbie
Next by date: 20 Apr 2006 18:33:17 +0100 Re: Nothing happens, lokutas.myway.com
Previous in thread: 20 Apr 2006 18:33:17 +0100 Re: creating listbox, Robbie
Next in thread:


Powered by ezmlm-browse 0.20.