diff options
author | Carl Olsson <carl.olsson@gmail.com> | 2015-02-22 07:38:06 +1000 |
---|---|---|
committer | Carl Olsson <carl.olsson@gmail.com> | 2015-02-22 07:38:06 +1000 |
commit | 41686d5fdd0d72f167894f976d19b177789f1f63 (patch) | |
tree | b8ebdbd9846f54241d23f99304df29dcc6ac4dcf /scene/gui | |
parent | 402db5bd79bf889fca33b89cb083feb24effc614 (diff) | |
parent | 1d7337ba10ad593f0786d3e356cf0b05aa9be2b4 (diff) |
Merge branch 'master' of https://github.com/okamstudio/godot into snapping2
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/popup_menu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/popup_menu.h b/scene/gui/popup_menu.h index c2e988de95..d825ea2b68 100644 --- a/scene/gui/popup_menu.h +++ b/scene/gui/popup_menu.h @@ -90,7 +90,7 @@ public: void add_icon_check_item(const Ref<Texture>& p_icon,const String& p_label,int p_ID=-1,uint32_t p_accel=0); void add_check_item(const String& p_label,int p_ID=-1,uint32_t p_accel=0); void add_submenu_item(const String& p_label,const String& p_submenu, int p_ID=-1); - + void set_item_text(int p_idx,const String& p_text); void set_item_icon(int p_idx,const Ref<Texture>& p_icon); void set_item_checked(int p_idx,bool p_checked); |