URL:
  <http://gna.org/patch/?5078>

                 Summary: Set window size according to settings
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sun 24 Aug 2014 03:05:02 AM EEST
                Category: client-sdl2
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0

    _______________________________________________________

Details:

Postpone window initialization and opening from ui_init() to beginning of
ui_main() where the settings are already loaded. Use the settings values for
window dimensions.

This means that client needs to be restarted for changes in these settings to
take effect, but it's much better than changes never taking effect.

The only setting available from gui is still "640x480" - but one may manually
edit client rc-file to test other values.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 24 Aug 2014 03:05:02 AM EEST  Name: Sdl2ScreenSize.patch  Size: 4kB 
 By: cazfi

<http://gna.org/patch/download.php?file_id=21815>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?5078>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to