Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Fri Dec 14, 2018 11:10 pm

All times are UTC




Post new topic  Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Sat May 11, 2013 5:57 pm 
Offline
Engineer
Engineer

Joined: Wed Jan 16, 2013 8:50 pm
Posts: 4
Hi.

Is there any way to change the default window size for all the different windows?

For example, whenever I buy a new vehicle, I always enlarge the "new vehicle" window so that I can see more vehicles at a time. It would have been much better if I could set it so that it always opened up enlarged.


Top
   
PostPosted: Sat May 11, 2013 6:58 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9065
Location: Sol d
Currently that's not feasible.

_________________
Image
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML


Top
   
PostPosted: Sun May 12, 2013 7:59 am 
Offline
Engineer
Engineer

Joined: Thu May 09, 2013 1:45 pm
Posts: 11
Location: Down Under
Is it possible to load a save game with the windows showing that you had open previously?


Top
   
PostPosted: Sun May 12, 2013 8:19 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Sun Sep 09, 2007 5:03 am
Posts: 4677
Location: home
Nope, it's on the "todo" list: http://wiki.openttd.org/Todo_list (search for "Save GUI settings savegame specific")


Top
   
PostPosted: Sun May 12, 2013 9:03 am 
Offline
Engineer
Engineer

Joined: Thu May 09, 2013 1:45 pm
Posts: 11
Location: Down Under
Wow! Thanks for the quick reply!

I don't know how many people open different versions (newer/older savegames) wouldn't most people play the same version which would mean opening the latest with the last set of windows .... maybe?


Top
   
PostPosted: Sun May 12, 2013 9:36 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Sun Sep 09, 2007 5:03 am
Posts: 4677
Location: home
Kevlar31 wrote:
I don't know how many people open different versions (newer/older savegames) wouldn't most people play the same version which would mean opening the latest with the last set of windows .... maybe?
I don't know what you mean exactly, but I play a different version every time, since I build my versions from trunk.
There are also a lot of people playing nightly versions.

The main problem is to find a good place for such settings. The savegame won't work, as it gets copied to other users (eg in MP, or through the forum, or some other website) that have different size screens etc.
The openttd.cfg file won't work, as the set of windows is not related to a particular game any more (ie play one game, save and exit, start anew with a different game, and you get the set of windows of the previous game).

You're welcome to work on this problem, and make a patch to fix it.


Top
   
PostPosted: Sun May 12, 2013 9:52 am 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 9065
Location: Sol d
I wonder whether there's not place for a solution which is good enough in many cases, nor would it probably block another solution which works for more or all savegames and / or network games:

store window settings in config file along with the savegame name (if locally) or server name+address (if on multiplayer server). Ignore these settings when they don't match the loaded savegame and overwrite upon leaving the current game.

Alternatively it could be stored in the savegame. And window positions only restored, if the viewport matches in size or is bigger. Otherwise windows are moved so long to the left and to the top till they fit. If that doesn't fit, try drawing them in their default size. If that doesn't fit: close them. Stored in savegame is probably more difficult and likely has more (hidden) issues than the cfg solution.

But neither thought is based on long thinking, thus may have more drawbacks.

_________________
Image
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML


Top
   
PostPosted: Wed May 15, 2013 5:08 am 
Offline
Engineer
Engineer

Joined: Thu May 09, 2013 1:45 pm
Posts: 11
Location: Down Under
Ahhh! I see that the answer is a lot more complex than my narrow view, I play single player and use the same windows each time. I was thinking that a separate file containing the window preferences (sizes, position etc.) could be loaded with each game that is played. In my mind you could start a new game set up your preferred windows, click a button that saves them to a file (.cfg?) and they would be loaded automatically for your machine, monitors, desktop. *shrugs* It's easy for me to suggest stuff as I don't code at all. :?


Top
   
PostPosted: Wed May 15, 2013 8:09 am 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon Jan 14, 2008 3:51 pm
Posts: 644
Location: PL
I think the problem is wider. The problem is interface scaling, in general. I suggest to improve it.
OpenTTD Suggestions :: Interface scaling

_________________
:] don't worry, be happy and checkout my patches


Last edited by adf88 on Wed May 15, 2013 8:35 am, edited 1 time in total.

Top
   
PostPosted: Wed May 15, 2013 10:02 am 
Offline
Tycoon
Tycoon

Joined: Wed Jan 17, 2007 12:14 am
Posts: 7230
i don't think this has anything to do with "interface scaling" at all.

in fact, they are contradicting goals. "scaling" would change window sizes the same way as window content, so there's always the same content in the window (or less, if the window would get bigger than the screen). but here you want to resize the window so it displays more content.

_________________
You might not exactly be interested in Ferion, but if you are, have fun :)


Top
   
PostPosted: Wed May 22, 2013 11:26 pm 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon Nov 15, 2004 7:46 pm
Posts: 644
Location: Berlin, Germany
I think the savegame would work; just discard the settings, if loaded with a different OpenTTD size then ...

_________________
I like to look at great maps and see how things flow. A little like a finished model railway, but it is evolving and actually never finished. http://www.simutrans.com


Top
   
PostPosted: Mon Oct 08, 2018 1:20 pm 
Offline
Engineer
Engineer

Joined: Sat Oct 06, 2018 11:07 pm
Posts: 5
I apologize for the necroposting, but is this still on the to-do list? The wiki seems to indicate so.

The overall font faces and sizes tend to be too small on large resolutions (i.e. 1920x1080), and while those can be tweaked, some windows, like the vehicle purchase one, end up too small by default and need to be constantly resized.

Doubling the interface size seems like too much, and doubling the size of the UI sprites is a tad ugly.


Top
   
PostPosted: Mon Oct 08, 2018 4:06 pm 
Offline
Tycoon
Tycoon

Joined: Wed Jan 17, 2007 12:14 am
Posts: 7230
with most windows, you can now save a new default size

_________________
You might not exactly be interested in Ferion, but if you are, have fun :)


Top
   
PostPosted: Thu Oct 11, 2018 3:19 pm 
Offline
Route Supervisor
Route Supervisor
User avatar

Joined: Wed Jan 08, 2003 11:09 pm
Posts: 386
Location: Denmark
Eddi wrote:
with most windows, you can now save a new default size

To elaborate, all resizable windows should now have a "default size" button:
Image
When you've set your preferred size of the window, hold Ctrl and click the "small square" button next to the pin button.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 14 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2018 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2018.
Hosted by Zernebok Hosting.