Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: sf::RenderWindow::getMouseCursorVisible() ?  (Read 2276 times)

0 Members and 1 Guest are viewing this topic.

Elro444

  • Newbie
  • *
  • Posts: 5
    • View Profile
sf::RenderWindow::getMouseCursorVisible() ?
« 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.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: sf::RenderWindow::getMouseCursorVisible() ?
« Reply #1 on: March 21, 2018, 08:01:08 pm »
No, you'll have to track them yourself.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything