Hi
I was wondering if there is a way to get the current window style?
background is, that i would only want to recreate the window when the style changes (fullscreen to windowed and vice versa) and not always uppon applying my settings.
(atm i just recreate it either with one or the other style, but every time).
if(mSettings->GetFullscreen()){
mMainStateWindow->create(sf::VideoMode(sf::VideoMode::getDesktopMode()), "Test", sf::Style::Fullscreen);
}
else{
mMainStateWindow->create(sf::VideoMode(mSettings->GetXRes(), mSettings->GetYRes(), 32), "Testn", sf::Style::Close);
}
sure, i could have a history of my fullscreen setting but i don't really like that solution.