Added cursor support
This commit is contained in:
parent
c66cae17f2
commit
1ec25d036c
6 changed files with 110 additions and 45 deletions
|
@ -27,7 +27,7 @@ int main(int argc, char** argv)
|
|||
window.SetTitle("New Title");
|
||||
|
||||
window.SetIcon(64, 64, icon_data);
|
||||
// window.SetMouseCursor(SDL_SYSTEM_CURSOR_CROSSHAIR);
|
||||
window.SetMouseCursor(sdlu::Cursor::Type::Crosshair);
|
||||
window.SetMaxFramerate(144);
|
||||
|
||||
SDL_Event event;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue