X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fandroid%2Ffg_cursor_android.c;h=28838a9461c1320e8d2d98035930e7349dfe3b91;hb=09eddda3036fb0ee72677b0e206b492aa7f0be6d;hp=3b410ae1720ed67adf39a6a0be9e2bea1cf2ae62;hpb=ea968d8d5368af635d7321d44251c3a76f4c8895;p=freeglut diff --git a/src/android/fg_cursor_android.c b/src/android/fg_cursor_android.c index 3b410ae..28838a9 100644 --- a/src/android/fg_cursor_android.c +++ b/src/android/fg_cursor_android.c @@ -28,11 +28,14 @@ void fgPlatformSetCursor ( SFG_Window *window, int cursorID ) { - fprintf(stderr, "fgPlatformSetCursor: STUB\n"); + // No-op: no visible cursor on touchscreens } void fgPlatformWarpPointer ( int x, int y ) { - fprintf(stderr, "fgPlatformWarpPointer: STUB\n"); + /* Even if there's no pointer on touchscreen, keep track of the + last position, e.g. for menus */ + SFG_Window* window = fgStructure.CurrentWindow; + window->State.MouseX = x; + window->State.MouseY = y; } -