diff options
| author | Zher Huei Lee | 2016-11-19 21:48:39 +0800 |
|---|---|---|
| committer | Zher Huei Lee | 2016-11-19 21:48:39 +0800 |
| commit | 4b7443aeea13bd007329adba418e60e36dead2ec (patch) | |
| tree | 883d1eec48cf6917768f68bb1ded1328666a2916 /scene/gui/button_array.h | |
| parent | 959683c3d8f7aaa7469d5758c7698e0da108b406 (diff) | |
| download | godot-4b7443aeea13bd007329adba418e60e36dead2ec.tar.gz godot-4b7443aeea13bd007329adba418e60e36dead2ec.tar.zst godot-4b7443aeea13bd007329adba418e60e36dead2ec.zip | |
Diffstat (limited to 'scene/gui/button_array.h')
| -rw-r--r-- | scene/gui/button_array.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/button_array.h b/scene/gui/button_array.h index 62997a8e3..81be3e41c 100644 --- a/scene/gui/button_array.h +++ b/scene/gui/button_array.h @@ -59,6 +59,7 @@ private: int selected; int hover; + bool flat; double min_button_size; Vector<Button> buttons; @@ -79,6 +80,9 @@ public: void set_align(Align p_align); Align get_align() const; + void set_flat(bool p_flat); + bool is_flat() const; + void add_button(const String& p_button,const String& p_tooltip=""); void add_icon_button(const Ref<Texture>& p_icon,const String& p_button="",const String& p_tooltip=""); |
