Skip to content

Instantly share code, notes, and snippets.

@eXpl0it3r
eXpl0it3r / test.cpp
Created June 3, 2017 18:32
SFML System Cursor Test Code
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow window{{1024, 756}, "Hello World"};
window.setVerticalSyncEnabled(true);
sf::Cursor cursor;
cursor.loadFromSystem(sf::Cursor::Arrow);
window.setMouseCursor(cursor);