nanogui: Re: [Nano-X] About Region
Subject:
Re: [Nano-X] About Region
From:
"Greg Haerr" ####@####.####
Date:
4 Oct 2000 01:45:57 -0000
Message-Id: <05fe01c02da5$19a56f60$15320cd0@gregh>
: When I use nano-X with nanowm, the behavior of clipping
: is strage, i.e. when a button is pushed, only upper left
: part of the button can be repaint.
:
: When I use nano-X without nanowm, the behavior of clipping
: is normal.
:
: When I try to find out the problem, I call GrGetRegionBox
: some times after GrNewRegion and GrUnionRectWithRegion.
: The values (x, y, width, height) will become corrupt.
: (You can try the test program 'button', and see the outputs.
: Related codes are in fl_rect.cxx and Fl.cxx.)
I've just applied a patch to 0.89pre2 where Nano-X offset
user clip regions against a window's parent, rather than
against the window itself. This may be the problem.
I will forward your patch on to the folks at Century Software,
who are currently working on FLNX. (Currently still v1.0.7)
Regards,
Greg