SFML community forums
Help => General => Topic started by: Kosmos on December 23, 2012, 01:33:28 pm
-
Hello,
I want to lock the user from resizing the window, and do the resizing from the code.
Changing the resolution with a videomode will just make the window have more/less pixels which I don't want.
What I want to do is scale it from my program, instead of automatically when resizing the window with the mouse.
Thanks,
Kosmos.
-
Don't specify sf::Style::Resize and use window.setSize to change the size.
Also check the documentation (http://www.sfml-dev.org/documentation/2.0/classsf_1_1Window.php). ;)