summaryrefslogtreecommitdiff
path: root/scene/gui/control.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-06-25 16:53:00 +0200
committerGitHub <noreply@github.com>2021-06-25 16:53:00 +0200
commitc8444c3ee078e33c33287cf879aa5daecb962a80 (patch)
treed7db0e6916d54be647971d939185bbacad1e231c /scene/gui/control.cpp
parent258cee760020452d786a770d5e171b119bfa8608 (diff)
parent452e10ba7bd9a86bb911c49e810eda4aadf4b90c (diff)
Merge pull request #49908 from KoBeWi/📎🔫
Remove clips_input() method and use clip_content
Diffstat (limited to 'scene/gui/control.cpp')
-rw-r--r--scene/gui/control.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp
index 64a3f1ca77..a8060615d4 100644
--- a/scene/gui/control.cpp
+++ b/scene/gui/control.cpp
@@ -650,13 +650,6 @@ void Control::_notification(int p_notification) {
}
}
-bool Control::clips_input() const {
- if (get_script_instance()) {
- return get_script_instance()->call(SceneStringNames::get_singleton()->_clips_input);
- }
- return false;
-}
-
bool Control::has_point(const Point2 &p_point) const {
if (get_script_instance()) {
Variant v = p_point;
@@ -2784,7 +2777,6 @@ void Control::_bind_methods() {
BIND_VMETHOD(MethodInfo(
PropertyInfo(Variant::OBJECT, "control", PROPERTY_HINT_RESOURCE_TYPE, "Control"),
"_make_custom_tooltip", PropertyInfo(Variant::STRING, "for_text")));
- BIND_VMETHOD(MethodInfo(Variant::BOOL, "_clips_input"));
ADD_GROUP("Anchor", "anchor_");
ADD_PROPERTYI(PropertyInfo(Variant::FLOAT, "anchor_left", PROPERTY_HINT_RANGE, "0,1,0.001,or_lesser,or_greater"), "_set_anchor", "get_anchor", SIDE_LEFT);