diff options
| author | CrazyGuy108 | 2017-03-13 16:30:40 -0700 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-19 00:42:34 +0100 |
| commit | 10119f7b0411a78eb42b77d13cd0ddeeb4af593b (patch) | |
| tree | 6d4914088f945bec8c3a98bc0bc407174b42c607 | |
| parent | a9d8da91b72fe8493f9087563056bb4ade4ca2c7 (diff) | |
| download | godot-10119f7b0411a78eb42b77d13cd0ddeeb4af593b.tar.gz godot-10119f7b0411a78eb42b77d13cd0ddeeb4af593b.tar.zst godot-10119f7b0411a78eb42b77d13cd0ddeeb4af593b.zip | |
| -rw-r--r-- | doc/base/classes.xml | 8 | ||||
| -rw-r--r-- | scene/gui/control.cpp | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index c5d0889cc..b2724811a 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -9852,6 +9852,14 @@ <description> </description> </method> + <method name="has_point" qualifiers="virtual"> + <return type="bool"> + </return> + <argument index="0" name="point" type="Vector2"> + </argument> + <description> + </description> + </method> <method name="has_stylebox" qualifiers="const"> <return type="bool"> </return> diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp index 0c85cc1db..7c9778db7 100644 --- a/scene/gui/control.cpp +++ b/scene/gui/control.cpp @@ -2392,6 +2392,8 @@ void Control::_bind_methods() { ADD_SIGNAL(MethodInfo("size_flags_changed")); ADD_SIGNAL(MethodInfo("minimum_size_changed")); ADD_SIGNAL(MethodInfo("modal_close")); + + BIND_VMETHOD(MethodInfo("has_point", PropertyInfo(Variant::VECTOR2, "point"))); } Control::Control() { |
