diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-06-06 20:27:40 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-06-06 20:27:40 -0300 |
commit | 736b65e56605c5b50ddb48cc29d3fa457a3580a5 (patch) | |
tree | 02d4a32668ce36b47aa1fb8d73c3fcaa3f07c3a4 /scene/gui/control.h | |
parent | be830d10c25e0699d516cbb0a4e8124754e5ff51 (diff) | |
parent | b160a26abd50eb34e8ba982f2c1fd95fdd6d102e (diff) |
Merge pull request #4977 from SaracenOne/scripting_expose
Expose extra methods and constants to scripts
Diffstat (limited to 'scene/gui/control.h')
-rw-r--r-- | scene/gui/control.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scene/gui/control.h b/scene/gui/control.h index d77ba27f60..59704ae29b 100644 --- a/scene/gui/control.h +++ b/scene/gui/control.h @@ -341,6 +341,13 @@ public: Color get_color(const StringName& p_name,const StringName& p_type=StringName()) const; int get_constant(const StringName& p_name,const StringName& p_type=StringName()) const; + bool has_icon_override(const StringName& p_name) const; + bool has_shader_override(const StringName& p_name) const; + bool has_stylebox_override(const StringName& p_name) const; + bool has_font_override(const StringName& p_name) const; + bool has_color_override(const StringName& p_name) const; + bool has_constant_override(const StringName& p_name) const; + bool has_icon(const StringName& p_name,const StringName& p_type=StringName()) const; bool has_shader(const StringName& p_name,const StringName& p_type=StringName()) const; bool has_stylebox(const StringName& p_name,const StringName& p_type=StringName()) const; |