mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-09-29 02:18:09 +03:00
Implement NACT::set_cursor()
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "ags.h"
|
||||
#include "texthook.h"
|
||||
|
||||
extern SDL_Window* g_window;
|
||||
static int mousex, mousey, fingers;
|
||||
|
||||
void NACT::pump_events()
|
||||
@@ -104,6 +105,6 @@ void NACT::get_cursor(int* x, int* y)
|
||||
|
||||
void NACT::set_cursor(int x, int y)
|
||||
{
|
||||
// TODO: implement
|
||||
SDL_WarpMouseInWindow(g_window, x, y);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user