Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upHandle Screen resizing [$34] #933
Comments
This comment has been minimized.
This comment has been minimized.
|
Neither, it's just that no one has successfully made it happen.
|
kevingranade
added
the
validated
label
Sep 5, 2014
kevingranade
changed the title
Handle Screen resizing
Handle Screen resizing [$20]
Sep 23, 2014
kevingranade
added
the
Organization: Bounty
label
Sep 23, 2014
kevingranade
changed the title
Handle Screen resizing [$20]
Handle Screen resizing [$34]
Sep 25, 2014
kevingranade
added
the
Organization: Bounty
label
Sep 25, 2014
This comment has been minimized.
This comment has been minimized.
|
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? |
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
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. >_> |
This comment has been minimized.
This comment has been minimized.
|
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/
|


InfernoZeus commentedMay 10, 2013
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.