I'm trying to find out where/how to use sf::Window::ShowMouseCursor(false) in my program to hide the mouse cursor but I keep getting an error:
error: cannot call member function 'void sf::Window::ShowMouseCursor(bool)' without object|
I've tried putting it everwhere in this section (this seems like the logical place but it gives the above error):
sf::RenderWindow App(sf::VideoMode::GetMode(0), "SFML", sf::Style::Fullscreen, sf::WindowSettings::WindowSettings ( 24, 8, 16));
sf::Window::ShowMouseCursor(false);