diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-15 10:24:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 10:24:11 +0200 |
commit | 57867d8ae349a63fe44978f2b9e13e29dff4f028 (patch) | |
tree | 2581a7d99914ef27bb0e448a95c3d5abdb0859db /scene/gui/popup_menu.h | |
parent | 2126f4d85f52e966f680536af3eb864fd552ca08 (diff) | |
parent | f85eb4164a211134a145217f9078deb633ade9e1 (diff) |
Merge pull request #62060 from fire-forge/h-offset
Diffstat (limited to 'scene/gui/popup_menu.h')
-rw-r--r-- | scene/gui/popup_menu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/gui/popup_menu.h b/scene/gui/popup_menu.h index 53bc5a8c22..8218c6122e 100644 --- a/scene/gui/popup_menu.h +++ b/scene/gui/popup_menu.h @@ -186,7 +186,7 @@ public: void set_item_as_radio_checkable(int p_idx, bool p_radio_checkable); void set_item_tooltip(int p_idx, const String &p_tooltip); void set_item_shortcut(int p_idx, const Ref<Shortcut> &p_shortcut, bool p_global = false); - void set_item_h_offset(int p_idx, int p_offset); + void set_item_horizontal_offset(int p_idx, int p_offset); void set_item_multistate(int p_idx, int p_state); void toggle_item_multistate(int p_idx); void set_item_shortcut_disabled(int p_idx, bool p_disabled); @@ -212,6 +212,7 @@ public: bool is_item_shortcut_disabled(int p_idx) const; String get_item_tooltip(int p_idx) const; Ref<Shortcut> get_item_shortcut(int p_idx) const; + int get_item_horizontal_offset(int p_idx) const; int get_item_state(int p_idx) const; void set_current_index(int p_idx); |