Remember window sizes

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
Shodan77
Engineer
Engineer
Posts: 3
Joined: 14 Aug 2008 07:56

Remember window sizes

Post by Shodan77 »

I greatly appreciate the hard work you invested in this all time favourite game of mine. Keep up the good work!! :bow:

So for my suggestion: Its great windows can be resized, but the "new train" window - for example - doesn't remember the size next time its opened. Please consider giving the GUI more memory regarding the users adjustments, that would be great!

Thank you again, I have to play now :D
Shodan
dihedral
Tycoon
Tycoon
Posts: 1053
Joined: 14 Feb 2007 17:48

Re: Remember window sizes

Post by dihedral »

i actually consider not remembering my changes a feature...
i can change as much as i like knowing i dont have to resize again to what it was before i resized...
quite handy if you ask me!
User avatar
belugas
OpenTTD Developer
OpenTTD Developer
Posts: 1507
Joined: 05 Apr 2005 01:48
Location: Deep down the deepest blue
Contact:

Re: Remember window sizes

Post by belugas »

there are a few ways to approach this:

1) remember the size and position of the last vehicle window. All new window would re-use same setting for the duration of the current session.
That is probably the easiest one, but the less appealing, since you'll always have to move the window away after opening it, since it hides the othe vehicle window underneath it

2) remember the size and position of the window for this precise vehicle. Which is to say that the vehicle will hold the window's coordinates. Code wise, it makes no real sens, since it links the gui to the vehicle

3) make it so that every window of the system will remember its coordinates. Not just vehicles. Maybe an approach worth considering, but it will require more memory, since coordinates will have to be stored in a new structure. This should be volatile, otherwise, it will have to be pushed in savegame or in config file. In savegame, it means it will be made available for other users using the same playerid (coop guys). In config file, it means it will not be valid for a different game, only the current one. Not fun, i'd say.

So... the suggestion is a valid one, doing it RIGHT is well... dunno... maybe too much effort for little gain?

My opinon
If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
Shodan77
Engineer
Engineer
Posts: 3
Joined: 14 Aug 2008 07:56

Re: Remember window sizes

Post by Shodan77 »

Thanks for the thoughtful reply! I see that a comprehensive system might be a bit much.

I had in mind something much "smaller":
- ONLY remember window size (and perhaps position) at runtime
- Don't remember anything per vehicle/per town/etc., instead remember the size of window *kinds*, like the window listing the trains you can build

Reason: The list of available trains got longer and I always dragged the window bigger to see the whole list without scrolling. It would be nice to have that window-kind stay big, after resizing it.

Cheers
Shodan
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 3 guests