diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-05-14 23:48:23 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-05-14 23:48:45 -0300 |
commit | bed3efb17ede58a2bfc177b47cb3a49091aea30a (patch) | |
tree | 81708b952559e76d38902afac2663a77f8974688 /scene/gui/item_list.h | |
parent | 7913e792acd656469b29fb90be1dbb7c06a855ba (diff) |
New reworked AnimatedSprite!
-New SpriteFrames editor, with support for drag&drop, multiple animation
sets, animation speed and loop.
-New AnimatedSprite, with support for all the new features!
AnimatedSprite3D has not been updated yet.
-Added support for drag&drop to other editors, such as resourcepreload,
sample library, etc.
Diffstat (limited to 'scene/gui/item_list.h')
-rw-r--r-- | scene/gui/item_list.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scene/gui/item_list.h b/scene/gui/item_list.h index fcb4dfae5a..ba70ed3530 100644 --- a/scene/gui/item_list.h +++ b/scene/gui/item_list.h @@ -60,6 +60,7 @@ private: int max_text_lines; int max_columns; Size2 min_icon_size; + Size2 max_icon_size; int defer_select_single; @@ -134,13 +135,16 @@ public: void set_min_icon_size(const Size2& p_size); Size2 get_min_icon_size() const; + void set_max_icon_size(const Size2& p_size); + Size2 get_max_icon_size() const; + void ensure_current_is_visible(); void sort_items_by_text(); int find_metadata(const Variant& p_metadata) const; virtual String get_tooltip(const Point2& p_pos) const; - int get_item_at_pos(const Point2& p_pos) const; + int get_item_at_pos(const Point2& p_pos,bool p_exact=false) const; ItemList(); ~ItemList(); |