SDL Wiki

Draft

THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!

SDL_HitTestResult

An enumeration of possible return values from the SDL_HitTest() callback.

Values

SDL_HITTEST_NORMAL

region is normal and has no special properties

SDL_HITTEST_DRAGGABLE

region can drag entire window

SDL_HITTEST_RESIZE_TOPLEFT

region can resize top left window

SDL_HITTEST_RESIZE_TOP

region can resize top window

SDL_HITTEST_RESIZE_TOPRIGHT

region can resize top right window

SDL_HITTEST_RESIZE_RIGHT

region can resize right window

SDL_HITTEST_RESIZE_BOTTOMRIGHT

region can resize bottom right window

SDL_HITTEST_RESIZE_BOTTOM

region can resize bottom window

SDL_HITTEST_RESIZE_BOTTOMLEFT

region can resize bottom left window

SDL_HITTEST_RESIZE_LEFT

region can resize left window

Version

This enumeration is available since SDL 2.0.4.

SDL_SetWindowHitTest

CategoryEnum, CategoryVideo, CategoryDraft


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.