mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Expose finding valid focus neighbors of a Control by side
Exposes the functionality used for ui navigation
This commit is contained in:
parent
6758a7f8c0
commit
e70b83c7a0
3 changed files with 15 additions and 0 deletions
|
|
@ -526,6 +526,7 @@ public:
|
|||
|
||||
Control *find_next_valid_focus() const;
|
||||
Control *find_prev_valid_focus() const;
|
||||
Control *find_valid_focus_neighbor(Side p_size) const;
|
||||
|
||||
void set_focus_neighbor(Side p_side, const NodePath &p_neighbor);
|
||||
NodePath get_focus_neighbor(Side p_side) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue