SDL_HitTest.3type - Man Page

Callback used for hit-testing.

Synopsis

#include <SDL3/SDL_video.h>

typedef SDL_HitTestResult (SDLCALL *SDL_HitTest)(SDL_Window *win, const SDL_Point *area, void *data);

Function Parameters

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 Value

Returns an SDL_HitTestResult value.

See Also

SDL_SetWindowHitTest(3)

Info

SDL 3.4.14 Simple Directmedia Layer SDL3 DATATYPES