diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-05-24 23:06:00 +0200 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-05-24 23:06:00 +0200 |
commit | 12a6153ab407e36091a0fbd37be0ea92cdac961c (patch) | |
tree | f63b81d6492709bd35b392e5f303c9ac97dfcc0c /scene/gui/item_list.h | |
parent | a629e83b1557a481c01dbe4f7222fc58b5f5c0bc (diff) | |
parent | 11f728fc987785c94edeb60002cb16bf0c95fcdf (diff) |
Merge pull request #4800 from Hinsbart/tilemap_zoom
Add a slider for zooming TileMap preview icons.
Diffstat (limited to 'scene/gui/item_list.h')
-rw-r--r-- | scene/gui/item_list.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/gui/item_list.h b/scene/gui/item_list.h index 59fa1d8270..a79d2575bd 100644 --- a/scene/gui/item_list.h +++ b/scene/gui/item_list.h @@ -45,6 +45,8 @@ private: bool ensure_selected_visible; + bool icon_stretch; + Vector<Item> items; Vector<int> separators; @@ -150,6 +152,9 @@ public: virtual String get_tooltip(const Point2& p_pos) const; int get_item_at_pos(const Point2& p_pos,bool p_exact=false) const; + void set_icon_stretch_to_max_size(bool p_stretch); + bool get_icon_stretch_to_max_size() const; + ItemList(); ~ItemList(); }; |