diff options
| author | Juan Linietsky | 2014-02-15 21:16:33 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2014-02-15 21:16:33 -0300 |
| commit | 8c1731b67995add31361ae526b0e6af76346181e (patch) | |
| tree | f96080fdbb6e0f0f3fcc12bf10fc92928f0310cb /scene/gui/control.cpp | |
| parent | 9afdb3e0ad5bfbdafe307212f5d4ebcc7c3ac852 (diff) | |
| download | godot-8c1731b67995add31361ae526b0e6af76346181e.tar.gz godot-8c1731b67995add31361ae526b0e6af76346181e.tar.zst godot-8c1731b67995add31361ae526b0e6af76346181e.zip | |
Diffstat (limited to 'scene/gui/control.cpp')
| -rw-r--r-- | scene/gui/control.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 9b0c05b6a..1bb34c1a6 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -2796,6 +2796,7 @@ void Control::_bind_methods() { ADD_PROPERTYNZ( PropertyInfo(Variant::INT,"size_flags/horizontal", PROPERTY_HINT_FLAGS, "Expand,Fill"), _SCS("set_h_size_flags"),_SCS("get_h_size_flags") ); ADD_PROPERTYNZ( PropertyInfo(Variant::INT,"size_flags/vertical", PROPERTY_HINT_FLAGS, "Expand,Fill"), _SCS("set_v_size_flags"),_SCS("get_v_size_flags") ); ADD_PROPERTY( PropertyInfo(Variant::INT,"size_flags/stretch_ratio", PROPERTY_HINT_RANGE, "1,128,0.01"), _SCS("set_stretch_ratio"),_SCS("get_stretch_ratio") ); + ADD_PROPERTYNZ( PropertyInfo(Variant::OBJECT,"theme/theme", PROPERTY_HINT_RESOURCE_TYPE, "Theme"), _SCS("set_theme"),_SCS("get_theme") ); BIND_CONSTANT( ANCHOR_BEGIN ); BIND_CONSTANT( ANCHOR_END ); |
