1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Store whether window is maximized (#12861)

This commit is contained in:
DS 2023-04-14 21:04:03 +02:00 committed by GitHub
parent 0b08e1b1d2
commit d49d80a4a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 64 additions and 36 deletions

View file

@ -136,13 +136,19 @@ virtual_joystick_triggers_aux1 (Virtual joystick triggers Aux1 button) bool fals
[**Screen]
# Width component of the initial window size. Ignored in fullscreen mode.
# Width component of the initial window size.
screen_w (Screen width) int 1024 1 65535
# Height component of the initial window size. Ignored in fullscreen mode.
# Height component of the initial window size.
screen_h (Screen height) int 600 1 65535
# Whether the window is maximized.
window_maximized (Window maximized) bool false
# Save window size automatically when modified.
# If true, screen size is saved in screen_w and screen_h, and whether the window
# is maximized is stored in window_maximized.
# (Autosaving window_maximized only works if compiled with SDL.)
autosave_screensize (Autosave screen size) bool true
# Fullscreen mode.