diff options
Diffstat (limited to 'scene/gui/menu_button.h')
-rw-r--r-- | scene/gui/menu_button.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/menu_button.h b/scene/gui/menu_button.h index fd9ae6021e..cc2ca117c4 100644 --- a/scene/gui/menu_button.h +++ b/scene/gui/menu_button.h @@ -42,11 +42,15 @@ class MenuButton : public Button { bool disable_shortcuts = false; PopupMenu *popup; + Vector2i mouse_pos_adjusted; + Array _get_items() const; void _set_items(const Array &p_items); void _gui_input(Ref<InputEvent> p_event) override; + void _popup_visibility_changed(bool p_visible); + protected: void _notification(int p_what); static void _bind_methods(); |