SFML community forums
Help => Graphics => Topic started by: strongdrink on March 07, 2011, 12:29:05 am
-
Hello, I am new to SFML, and so far, I like it (more than SDL :D)
BUT! I am having a problem..
I am trying to make my app so if you resize the window, the images on the screen stay the same size. How would I go about doing this? Using veiws? Re-drawing the whole window? :S
Thanks in advance!
-
If you don't want to adapt every object on the screen, manipulating sf::View is probably the simplest way. You can react to SFML's resize event by resizing your view correspondingly.
-
thanks