display zoom sizes < 50%
Posted: Wed Apr 20, 2016 9:57 am
See viewtopic.php?f=7&t=2216
If you fool around with window size dragging while the Setup -> Graphics menu is displayed, you will see the "Window scaling" setting change from (e.g.) "100% (Default)" to "101% (Current)". If you then pull down that menu, you'll see that "101% (Current)" was added to the menu -- very slick.
However, if you shrink the window to < 50%, both the title bar and "Window scaling" menu entry will only say "50%". (It's possible that the window is supposed to balk at being shrunk smaller than 50%, and my window manager is ignoring a hint -- if so, well, I'm sitting here running playback in a window whose entire play area is the same size as ONE character cel of a 100%-zoom window, and I can still more or less tell what's going on. It looks silly and cool! So please don't block it at 50% :)
... OK, I see the code that handles this in src/events.c. It doesn't look like you're hinting the window manager (and that's good).
I say: sure, stop <Ctrl>- at 50% (and <Ctrl>+ at 300%) -- but if the user drags the window size to some odd value, you should display that odd value. As you do for non-multiples of 10, but not for <50% (nor, presumably, >300%).
If you fool around with window size dragging while the Setup -> Graphics menu is displayed, you will see the "Window scaling" setting change from (e.g.) "100% (Default)" to "101% (Current)". If you then pull down that menu, you'll see that "101% (Current)" was added to the menu -- very slick.
However, if you shrink the window to < 50%, both the title bar and "Window scaling" menu entry will only say "50%". (It's possible that the window is supposed to balk at being shrunk smaller than 50%, and my window manager is ignoring a hint -- if so, well, I'm sitting here running playback in a window whose entire play area is the same size as ONE character cel of a 100%-zoom window, and I can still more or less tell what's going on. It looks silly and cool! So please don't block it at 50% :)
... OK, I see the code that handles this in src/events.c. It doesn't look like you're hinting the window manager (and that's good).
I say: sure, stop <Ctrl>- at 50% (and <Ctrl>+ at 300%) -- but if the user drags the window size to some odd value, you should display that odd value. As you do for non-multiples of 10, but not for <50% (nor, presumably, >300%).