SFML community forums

Help => Window => Topic started by: jaay_ on October 28, 2016, 08:21:49 pm

Title: Change style of sf::RenderWindow.
Post by: jaay_ on October 28, 2016, 08:21:49 pm
I'm sorry but I'm not the best programmer and I'm kinda new to C++ but I was wondering if there is any way for me to change the style of a sf::RenderWindow from windowed to fullscreen. I saw a post on a way to fix it using some bodge but it only worked on Windows and I'm running Linux! Thanks in advance. Bye!
Title: Re: Change style of sf::RenderWindow.
Post by: korczurekk on October 28, 2016, 08:28:11 pm
Why won't you simply close and reopen window?
Title: Re: Change style of sf::RenderWindow.
Post by: jaay_ on October 28, 2016, 08:30:39 pm
I'm sorry, I'm new to this but how would I go about that? Is there a function for closing and reopening a window?
Title: AW: Change style of sf::RenderWindow.
Post by: eXpl0it3r on October 28, 2016, 08:33:22 pm
Just call the create function on the window (again). :)
Title: Re: Change style of sf::RenderWindow.
Post by: jaay_ on October 28, 2016, 08:35:55 pm
Oh, silly me! Thank you very much!