nanogui: Re: Window position


Previous by date: 8 Feb 2012 20:38:27 -0000 TinyGL2, Georg Potthast
Next by date: 8 Feb 2012 20:38:27 -0000 Re: Window position, Greg Haerr
Previous in thread:
Next in thread: 8 Feb 2012 20:38:27 -0000 Re: Window position, Greg Haerr

Subject: Re: [nanogui] Window position
From: "Georg Potthast" ####@####.####
Date: 8 Feb 2012 20:38:27 -0000
Message-Id: <001501cce6a1$6ec41890$7c01a8c0@SCHREIBTISCHGP>

Hi Greg,

I observed that Nano-X does not place a window in the upper left corner if 
instructed to do so. In the arcdemo.c code for example it says:

wid = 
GrNewWindowEx(GR_WM_PROPS_BORDER|GR_WM_PROPS_CAPTION|GR_WM_PROPS_CLOSEBOX, 
"arcdemo",
GR_ROOT_WINDOW_ID, 0, 0, 250, 90, WHITE);

but the window is placed quite a bit below the upper left corner and to the 
right side of the screen or X Window. Just as if 0,0 is translated to 20,20 
by nano-X.

This causes that a window in FLTK can also not be set into the upper left 
corner. I would like to do that to get a proper fullscreen window on the 
screen.

______________________________________________

Another problem is that if you pull the window with the mouse in the lower 
right corner, it gets cleared. It will be redrawn only when the window size 
is decreased a little bit again. Is there a solution for that?

Georg 


Previous by date: 8 Feb 2012 20:38:27 -0000 TinyGL2, Georg Potthast
Next by date: 8 Feb 2012 20:38:27 -0000 Re: Window position, Greg Haerr
Previous in thread:
Next in thread: 8 Feb 2012 20:38:27 -0000 Re: Window position, Greg Haerr


Powered by ezmlm-browse 0.20.