1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +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,6 +136,10 @@ public:
}
static std::vector<irr::video::E_DRIVER_TYPE> getSupportedVideoDrivers();
static void autosaveScreensizeAndCo(
const irr::core::dimension2d<u32> initial_screen_size,
const bool initial_window_maximized);
private:
v2u32 _getWindowSize() const;