Callback used for hit-testing.
Defined in SDL_video.h
typedef SDL_HitTestResult (SDLCALL *SDL_HitTest)(SDL_Window *win, const SDL_Point *area, void *data);
win | the SDL_Window where hit-testing was set on. |
area | an SDL_Point which should be hit-tested. |
data | what was passed as callback_data to SDL_SetWindowHitTest(). |
Return an SDL_HitTestResult value.