* Allow dynamic screen size change on windows

This commit is contained in:
iProgramInCpp
2023-08-06 22:45:15 +03:00
parent 9ef72164bb
commit 88d68cf21e
7 changed files with 50 additions and 5 deletions

View File

@@ -173,6 +173,11 @@ void Screen::setSize(int width, int height)
{
m_width = width;
m_height = height;
// not original code. Will need to re-init again
m_buttons.clear();
m_textInputs.clear();
init();
}
void Screen::updateEvents()