logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_HitTest - Callback used for hit-testing.

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 ().

Header File

       Defined in SDL3/SDL_video.h

Name

       SDL_HitTest - Callback used for hit-testing.

Return Value

       Returns an SDL_HitTestResult
        value.

See Also

(3), SDL_SetWindowHitTest(3)

Simple Directmedia Layer                           SDL 3.2.10                                 SDL_HitTest(3type)

Synopsis

#include"SDL3/SDL.h"typedefSDL_HitTestResult(SDLCALL*SDL_HitTest)(SDL_Window*win,constSDL_Point*area,void*data);

See Also