SFML community forums

Help => Graphics => Topic started by: CL90 on February 28, 2012, 07:19:05 am

Title: Renderwindow with static size
Post by: CL90 on February 28, 2012, 07:19:05 am
Hi!

how can i set up a RenderWindow wich isn't resizeable. or wich keeps zue current display size, but shows more area?

when i resize the window with the mouse, the text gets blured... but i want it allways to be cristal clear.
Title: Renderwindow with static size
Post by: Laurent on February 28, 2012, 08:08:17 am
Quote
how can i set up a RenderWindow wich isn't resizeable

You can set its style (3rd argument of creation) accordingly.

Quote
or wich keeps zue current display size, but shows more area?

Resize the view to the new size of the window when you catch a Resized event.