TSdlHitTestResult
Possible return values from the TSdlWindow.SetHitTestCallback.
Definition
Unit: Neslib.Sdl3.Video
type TSdlHitTestResult = (Normal, Draggable, ResizeTopLeft, ResizeTop, ResizeTopRight, ResizeRight, ResizeBottomRight, ResizeBottom, ResizeBottomLeft, ResizeLeft)
See Also
Remarks
This enum is available since SDL 3.2.0.
This function should only be called on the main thread.
Enumeration Values
Normal = SDL_HITTEST_NORMAL
Region is normal. No special properties.
Draggable = SDL_HITTEST_DRAGGABLE
Region can drag entire window.
ResizeTopLeft = SDL_HITTEST_RESIZE_TOPLEFT
Region is the resizable top-left corner border.
ResizeTop = SDL_HITTEST_RESIZE_TOP
Region is the resizable top border.
ResizeTopRight = SDL_HITTEST_RESIZE_TOPRIGHT
Region is the resizable top-right corner border.
ResizeRight = SDL_HITTEST_RESIZE_RIGHT
Region is the resizable right border.
ResizeBottomRight = SDL_HITTEST_RESIZE_BOTTOMRIGHT
Region is the resizable bottom-right corner border.
ResizeBottom = SDL_HITTEST_RESIZE_BOTTOM
Region is the resizable bottom border.
ResizeBottomLeft = SDL_HITTEST_RESIZE_BOTTOMLEFT
Region is the resizable bottom-left corner border.
ResizeLeft = SDL_HITTEST_RESIZE_LEFT
Region is the resizable left border.