X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fandroid%2Ffg_cursor_android.c;fp=src%2Fandroid%2Ffg_cursor_android.c;h=28838a9461c1320e8d2d98035930e7349dfe3b91;hb=6fc5a9949d29e21bb8692befcaf00c14f6aea9df;hp=3b410ae1720ed67adf39a6a0be9e2bea1cf2ae62;hpb=12cda72ce5d2c2ee7c6aea68c68eee5baf946fb2;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; } -