24 #ifdef __native_client__
25 #include <ppapi/c/ppb_mouse_cursor.h>
26 #include <ppapi/cpp/instance.h>
27 #include <ppapi/cpp/mouse_cursor.h>
28 #include <ppapi_simple/ps.h>
32 PRAGMA48(GCC diagnostic ignored
"-Wshadow")
33 #include <SDL_events.h>
40 #ifdef __native_client__
41 PP_MouseCursor_Type cursor;
43 cursor = PP_MOUSECURSOR_TYPE_POINTER;
45 cursor = PP_MOUSECURSOR_TYPE_NONE;
47 pp::MouseCursor::SetCursor(
48 pp::InstanceHandle(PSGetInstanceId()),
53 SDL_ShowCursor(SDL_ENABLE);
55 SDL_ShowCursor(SDL_DISABLE);
void showCursor(const bool show)