SFML community forums

General => General discussions => Topic started by: Elro444 on March 21, 2018, 07:47:46 pm

Title: sf::RenderWindow::getMouseCursorVisible() ?
Post by: Elro444 on March 21, 2018, 07:47:46 pm
Hi,
Is there any way in SFML to determine the current state of sf::RenderWindow's "settings"?
By "settings" I mean all the functions like setMouseCursorVisible(), setMouseCursorGrabbed(), setVerticalSyncEnabled() and so on.

I have a function that gets a sf::RenderWindow, and calls some of these functions, and I would like my function to be able to 'clean up' after itself, so that the window will return to it's original state after the function returns.
Title: Re: sf::RenderWindow::getMouseCursorVisible() ?
Post by: eXpl0it3r on March 21, 2018, 08:01:08 pm
No, you'll have to track them yourself.