summaryrefslogtreecommitdiffstats
path: root/scene/gui/progress_bar.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-04 01:16:14 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-04 01:16:14 -0300
commitb085c40edfac45ec1c8b866c789f6e9bab7e5e08 (patch)
treefb53cad5fcb37fcad404805fe7330d36fcd4e905 /scene/gui/progress_bar.cpp
parent3fae505128d5bfdeec42244820d0b85d0408f2b7 (diff)
downloadredot-engine-b085c40edfac45ec1c8b866c789f6e9bab7e5e08.tar.gz
-Conversion of most properties to a simpler syntax, easier to use by script
-Modified help to display properties GDScript can still not make use of them, though.
Diffstat (limited to 'scene/gui/progress_bar.cpp')
-rw-r--r--scene/gui/progress_bar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/gui/progress_bar.cpp b/scene/gui/progress_bar.cpp
index 48a9dd2fe6..ee9369fb3a 100644
--- a/scene/gui/progress_bar.cpp
+++ b/scene/gui/progress_bar.cpp
@@ -84,7 +84,8 @@ void ProgressBar::_bind_methods() {
ClassDB::bind_method(_MD("set_percent_visible","visible"),&ProgressBar::set_percent_visible);
ClassDB::bind_method(_MD("is_percent_visible"),&ProgressBar::is_percent_visible);
- ADD_PROPERTY(PropertyInfo(Variant::BOOL,"percent/visible"),_SCS("set_percent_visible"),_SCS("is_percent_visible"));
+ ADD_GROUP("Percent","percent_");
+ ADD_PROPERTY(PropertyInfo(Variant::BOOL,"percent_visible"),_SCS("set_percent_visible"),_SCS("is_percent_visible"));
}
ProgressBar::ProgressBar() {