1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02: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
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;