New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle Screen resizing [$34] #933
Comments
Neither, it's just that no one has successfully made it happen.
|
What does screen-resizing entail in this case, exactly? Just being able to change terminal dimensions without reload (which is a prerequisite anyway), or actually drag-resizing the window? |
Right now the game doesn't handle drag-resizing very gracefully: The curses-build only makes use of the area of the terminal with which it was started. A recent(?) change seems to have made the viewport scale vertically but the sidebar does not stick to the right side of the screen (none of the UIs like inventory, map etc. resize either) so the gain in screen-real-estate is minor: These screenshots are from the Linux build and I have to assume that the OSX version behaves the same. The "hardcoded" size in the options-menu is clunky at best. The way to change the size right now is:
This might be a rather unusual use-case or something that is infrequently used after the initial setup but would also help to unclutter the options-menu. IMO the goal here should be to allow for dynamic changes to the window-size by "drag-resizing" for the curses as well as for the SDL versions. |
Then we might as well toss font selection in there instead, and make the fontlist generator recognize bitmap ASCII tilepages. So that you can dynamically scale the terminal size to your window size, and choose the fonts you want to use in the options. How does one enable drag-resizing in the Windows build? I'd like to try a hand at this, but I literally don't know how to start with that being first step. >_> |
We are talking about de/increasing the amount of visible "cells" by resizing the window, right? Or do you mean to just increase the font-size when the window-size grows while keeping the amount of "cells" constant? The Windows WM is somewhat strict in enforcing the hints received from clients but there is a range of tools for Windows to override this. One of them is: https://code.google.com/p/altdrag/
|
Is this something that can't be done because of cross-OS compatibility, or is it something that's been rejected by design?
Otherwise I'm willing to spend some time trying to implement it.
There is a $34 open bounty on this issue. Add to the bounty at Bountysource.
The text was updated successfully, but these errors were encountered: