Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ consumesDirectionalInput()

bool Flint::UISlider::consumesDirectionalInput ( ) const
inlineoverridevirtual

Dictates whether this widget captures directional inputs instead of passing them to focus navigation.

Note
Override this to return true for widgets that use keyboard or gamepad navigation for internal values, like adjusting a slider or moving a text box caret.
Returns true to block focus shifts while adjusting slider values.

Reimplemented from Flint::UINode.

Definition at line 96 of file slider.h.