diff options
Diffstat (limited to 'scene/gui/scroll_container.h')
-rw-r--r-- | scene/gui/scroll_container.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/scroll_container.h b/scene/gui/scroll_container.h index 1d247f14c6..959bc43870 100644 --- a/scene/gui/scroll_container.h +++ b/scene/gui/scroll_container.h @@ -62,6 +62,7 @@ class ScrollContainer : public Container { bool scroll_v; int deadzone; + bool follow_focus; void _cancel_drag(); @@ -93,6 +94,9 @@ public: int get_deadzone() const; void set_deadzone(int p_deadzone); + bool is_following_focus() const; + void set_follow_focus(bool p_follow); + HScrollBar *get_h_scrollbar(); VScrollBar *get_v_scrollbar(); |