Re: [hatari-users] Window resizing

[ Thread Index | Date Index | More Archives ]


On 12/10/2015 07:28 PM, Thomas Huth wrote:
Am Tue, 10 Nov 2015 20:20:53 +0000 (UTC)
schrieb Miguel Cardoso <miguel_cardosso@xxxxxxxxx>:

Thanks for your reply. I figured it would be a limitation with the
library, looking forward to see the SDL2 switch.

FYI, I've recently added resizable window support to the SDL2 code in
Hatari, so if you enable the SDL2 support when compiling, you finally
can resize the window to any size now.

It works fine and is really nice!

I just wonder about one thing... Changing emulated Atari display
size, like toggling borders, will reset Hatari window resize/zoom
back to 1:1.

It's kind of nice, because I want _some_ way to reset
the window zoom factor, but other users may expect things
to work differently instead, either:

1. Hatari window *size* to remaining the same and content
   rescaled to that, or
2. Hatari window *zoom factor* remaining same and window size
   being adapted for the new content (smaller if borders get
   disabled, larger if they get enabled)

If either 1) or 2) is done, how one could then reset window
resize/zoom factor to 1:1?

I also wonder whether the max zoom size settings in Hatari still
make sense.  They could still be used as limit on window resize
(currently it isn't with SDL2), but I think with free zoom, their
purpose has mostly disappeared.

Only remaining use for it is probably "--force-max", used for
setting fixed resolution for video recording, which is useful
with Falcon demos that change resolution.

	- Eero

Mail converted by MHonArc 2.6.19+