diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-25 17:17:33 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-25 17:17:33 +0200 |
commit | 3408aab7c6597cdae6887c9a737cbe77d1555d51 (patch) | |
tree | 52afd1d99b24da36764eed64e58de454a4bb60fe /scene/gui/control.h | |
parent | df0a822323a79e1a645f0c6a17d51c7602f23166 (diff) | |
parent | e70b83c7a0920b5390ceaf21c92872836a147bd4 (diff) | |
download | redot-engine-3408aab7c6597cdae6887c9a737cbe77d1555d51.tar.gz |
Merge pull request #76027 from AThousandShips/focus_direction
Expose finding valid focus neighbors of a `Control` by side
Diffstat (limited to 'scene/gui/control.h')
-rw-r--r-- | scene/gui/control.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/control.h b/scene/gui/control.h index e5ed076abf..abbdc42fa4 100644 --- a/scene/gui/control.h +++ b/scene/gui/control.h @@ -527,6 +527,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; |