Port 'scale' feature to Gtk3 client?
The current S2_6 situation is that Gtk3 clients have unfinished "zoom" (resize at render time) code that's disabled at compile time by default, and Gtk2 and Qt clients have "scale" (resize at tileset load time) that's included in the build.
While presumably we hope 'zoom' will obsolete 'scale' once it's working, that's unlikely to happen in 2.6; and from users' point of view, this breaks the usual rule that Gtk3 has a superset of the features of Gtk2, and rescaling the graphics is quite a popular feature.
Perhaps we should port the 'scale' feature to Gtk3 as an interim measure?
(I haven't looked into how hard it would be to port Gtk2 scale to Gtk3, particularly in such a way as to tiptoe round the compiled-out 'zoom' support. I suspect --with-zoom will have to disable 'scale'.)
#1 Updated by Jacob Nevins 6 months ago
- Subject changed from Port 'scale' feature to Gtk3 client to Port 'scale' feature to Gtk3 client?
FWIW, I've played a few turns of Gtk2 with 'scale' and it seems quite playable, even if the graphics aren't flawless.
I've played a few turns of Gtk3 with 'zoom', and while it also seems stable, the graphical glitches are more obvious.
#2 Updated by Marko Lindqvist 6 months ago
Jacob Nevins wrote:
I suspect --with-zoom will have to disable 'scale'.
Note that currently all that --with/out-zoom does is turning on/off user control of the zoom level ('+' and '-' keys, --zoom commandline parameter). The actual zooming code is always there, just zoom level is always 1.0 in --without-zoom builds.