Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
How to set client area of RenderWindow to current window size?
Print
Pages: [
1
]
Author
Topic: How to set client area of RenderWindow to current window size? (Read 3609 times)
0 Members and 1 Guest are viewing this topic.
mr.d
Newbie
Posts: 5
How to set client area of RenderWindow to current window size?
«
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?
«
Last Edit: July 04, 2013, 05:51:48 am by mr.d
»
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Re: How to set client area of RenderWindow to current window size?
«
Reply #1 on:
July 04, 2013, 08:10:40 am »
Please see the end of the tutorial about views.
Logged
Laurent Gomila - SFML developer
mr.d
Newbie
Posts: 5
Re: How to set client area of RenderWindow to current window size?
«
Reply #2 on:
July 05, 2013, 03:31:42 am »
Thanks, it works!
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
How to set client area of RenderWindow to current window size?