TheMaverickProgrammer / OpenNetBattle

An open source card-based battle engine written in modern C++
GNU General Public License v3.0
197 stars 42 forks source link

Save and Read window sizes #228

Closed TheMaverickProgrammer closed 1 year ago

TheMaverickProgrammer commented 2 years ago

On window resize events we can store the window dimensions into the game's settings file and save it. Then, when the game loads, we can read the window size and inflate the screen to fit those written dimensions.