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_HitTestResult - Possible return values from the SDL_HitTest callback.

Availability

       This enum is available since SDL 3.2.0.

Name

       SDL_HitTestResult - Possible return values from the SDL_HitTest callback.

See Also

SDL_HitTest(3type)

Simple Directmedia Layer                           SDL 3.2.20                           SDL_HitTestResult(3type)

Synopsis

#include<SDL3/SDL_video.h>typedefenumSDL_HitTestResult{SDL_HITTEST_NORMAL,/**<Regionisnormal.Nospecialproperties.*/SDL_HITTEST_DRAGGABLE,/**<Regioncandragentirewindow.*/SDL_HITTEST_RESIZE_TOPLEFT,/**<Regionistheresizabletop-leftcornerborder.*/SDL_HITTEST_RESIZE_TOP,/**<Regionistheresizabletopborder.*/SDL_HITTEST_RESIZE_TOPRIGHT,/**<Regionistheresizabletop-rightcornerborder.*/SDL_HITTEST_RESIZE_RIGHT,/**<Regionistheresizablerightborder.*/SDL_HITTEST_RESIZE_BOTTOMRIGHT,/**<Regionistheresizablebottom-rightcornerborder.*/SDL_HITTEST_RESIZE_BOTTOM,/**<Regionistheresizablebottomborder.*/SDL_HITTEST_RESIZE_BOTTOMLEFT,/**<Regionistheresizablebottom-leftcornerborder.*/SDL_HITTEST_RESIZE_LEFT/**<Regionistheresizableleftborder.*/}SDL_HitTestResult;

Thread Safety

       This function should only be called on the main thread.

See Also