diff options
author | Anton Yabchinskiy <arn@bestmx.ru> | 2015-02-20 13:41:37 +0300 |
---|---|---|
committer | Anton Yabchinskiy <arn@bestmx.ru> | 2015-02-20 13:41:37 +0300 |
commit | 19a99afa81354ed69e1c07b6050aeb438e4ee2cb (patch) | |
tree | ff1bd5e8aa7179af55975952d2f5885c7abb09a2 /scene/gui | |
parent | 2735deb0cf1301a9fd1e6d008b7db3d028563aa7 (diff) | |
parent | 31e076d16affca682e956c966c0a8f9218a2b192 (diff) |
Merge branch 'master' of https://github.com/okamstudio/godot
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); |