nanogui: runtime sceensize change?
Subject:
Re: [nanogui] runtime sceensize change?
From:
"Massimiliano Turco" ####@####.####
Date:
21 May 2004 09:58:47 +0100
Message-Id: <000301c43f12$121713c0$7e0614ac@tecne126>
Hi Greg, that for the explanation.
An other question.
I am working on a board with a 320 x 240 touch screen.
I did a test cross-compiling a 640 x 480 microwin version and loading it on
my ARM board. I thought that I would have seen only part of the 640 x 480
screen on my 320x 240 ts. Or, other option, nothing at all.
But, it was displayed perfectly on the 320 x 240 ts as the displayed size
was directly controlled (and forced) by the ts driver (which I am pretty
sure supports only 320 x 240).
Is this right? Is ts driver which sets the screen size?
thanks in advance for your reply
Regards,
max
----- Original Message -----
From: "Greg Haerr" ####@####.####
To: "Massimiliano Turco" ####@####.####
####@####.####
Sent: Thursday, May 20, 2004 6:11 AM
Subject: Re: [nanogui] runtime sceensize change?
> > I could need to runtime change screensize dimension of my microwindows.
> > Do you think it would be very difficult do add this feature?
>
> It's not that hard, but could be a bit detailed. Basically, Microwindows
> doesn't really care about the screen size, just the memory allocated
> for non-screen (offscreen) PSDs. So you'd have to reset the size
> of the root psd, and then find all the offscreen psds and realloc
> them. It would get more complicated if you wanted to have all the
> applications stay running as well, there would need to be a notification
> so they can reset stuff as well. In addition, clip and other regions,
> mouse boundaries and other stuff may need resetting...
>
> Regards,
>
> Greg