SFML community forums

Help => Window => Topic started by: jerryd on August 07, 2020, 07:09:18 pm

Title: RenderWindow Screen
Post by: jerryd on August 07, 2020, 07:09:18 pm
sfml forum,
 I know there is a RenderWindow Screen command but I can't find any
 documentation about it.

 Anyone know if it's still valid and where I can read about it.

Jerry D
Title: Re: RenderWindow Screen
Post by: G. on August 07, 2020, 08:01:39 pm
Never heard of it.
I know the RenderWindow (https://www.sfml-dev.org/documentation/2.5.1/classsf_1_1RenderWindow.php) class, not sure what the "screen command" is supposed to be.
Title: Re: RenderWindow Screen
Post by: Stauricus on August 09, 2020, 01:17:55 pm
there is not. what are you trying to do?
Title: Re: RenderWindow Screen
Post by: Hapax on August 13, 2020, 04:33:45 pm
I'm going to have a guess at what you meant :P

If you want to use a render window to take control of the screen/display, you need to use a fullscreen "style".

Quote
sf::Style::Fullscreen       The window is shown in fullscreen mode; this style cannot be combined with others, and requires a valid video mode
from https://www.sfml-dev.org/tutorials/2.5/window-window.php#opening-a-window