summaryrefslogtreecommitdiff
path: root/core/os/input_event.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-02-24 10:55:03 +0100
committerGitHub <noreply@github.com>2018-02-24 10:55:03 +0100
commit36285cd82fb323a18e1534740312a5cf2cde1d06 (patch)
treedf2119d89e9dfbdd9a7f86bc57b1c2c591b31b97 /core/os/input_event.h
parentbd3b958a2545c3f4dd4afa2e69b690a3c6aa78fc (diff)
parent67e20dc2b6167e6dd9cb05056fd82de71891395f (diff)
Merge pull request #16970 from Noshyaar/inp
(Magnify|Pan)Gesture: implement as_text
Diffstat (limited to 'core/os/input_event.h')
-rw-r--r--core/os/input_event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/input_event.h b/core/os/input_event.h
index ad754d0d1f..0a33ab18a7 100644
--- a/core/os/input_event.h
+++ b/core/os/input_event.h
@@ -494,6 +494,7 @@ public:
real_t get_factor() const;
virtual Ref<InputEvent> xformed_by(const Transform2D &p_xform, const Vector2 &p_local_ofs = Vector2()) const;
+ virtual String as_text() const;
InputEventMagnifyGesture();
};
@@ -511,6 +512,7 @@ public:
Vector2 get_delta() const;
virtual Ref<InputEvent> xformed_by(const Transform2D &p_xform, const Vector2 &p_local_ofs = Vector2()) const;
+ virtual String as_text() const;
InputEventPanGesture();
};