summaryrefslogtreecommitdiffstats
path: root/scene/gui/control.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2021-06-25 15:46:37 +0200
committerkobewi <kobewi4e@gmail.com>2021-06-25 15:46:37 +0200
commit452e10ba7bd9a86bb911c49e810eda4aadf4b90c (patch)
tree5e494ae8746369c587adc7e7d1e290a7bbb9e63e /scene/gui/control.cpp
parente4430771dbc6d1f2e349ba180ba74834274f397c (diff)
downloadredot-engine-452e10ba7bd9a86bb911c49e810eda4aadf4b90c.tar.gz
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);