From: Erik V. <eri...@xs...> - 2010-12-25 21:36:19
|
I have committed (still somewhat experimental) code that implements the requested feature #3064823 to have the main windows remember their bounds (location and size) across program restarts. This is handled by a new class WindowSettings. The bounds per window and per game are saved in a file named like "settings_xxxx.rails_ini", where xxxx is the game name. This file is stored in the save directory (as does ConfigWindow with its config files), but I'm open to any other suggestions. The settings are stored only when the program terminates normally, i.e. via File|Quit in the StatusWindow, or when the StatusWindow is closed. Window identification is per class name. This implies, that ReportWindow and ReportWindowDynamic have separate settings. Erik. |