SFML community forums

Help => Graphics => Topic started by: mr.d on July 04, 2013, 05:37:26 am

Title: How to set client area of RenderWindow to current window size?
Post by: mr.d on July 04, 2013, 05:37:26 am
Hi!

I am need a RenderWindow with same coordinates resolution as size of the window in pixels. I.e., after resize of window, RenderWindow maximum coordinates should be equal to window size (not to initial VideoMode)

How I can to achieve this?
Title: Re: How to set client area of RenderWindow to current window size?
Post by: Laurent on July 04, 2013, 08:10:40 am
Please see the end of the tutorial about views.
Title: Re: How to set client area of RenderWindow to current window size?
Post by: mr.d on July 05, 2013, 03:31:42 am
Thanks, it works!