diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-06-22 19:57:59 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-06-22 19:57:59 -0300 |
commit | 3f2cd75c6f4c199389ad4d9766b5895be414a5f6 (patch) | |
tree | fb4f8b5aa05a85985dbe8f0ac54728beab934d1f /core/os/input_event.h | |
parent | 54815b9ddeeb54595ceef62d84239977477fc0d0 (diff) | |
download | redot-engine-3f2cd75c6f4c199389ad4d9766b5895be414a5f6.tar.gz |
Fix shortcuts, make them visible again and work.
Diffstat (limited to 'core/os/input_event.h')
-rw-r--r-- | core/os/input_event.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/os/input_event.h b/core/os/input_event.h index 6a694df345..b120d4b840 100644 --- a/core/os/input_event.h +++ b/core/os/input_event.h @@ -165,6 +165,7 @@ public: virtual Ref<InputEvent> xformed_by(const Transform2D &p_xform, const Vector2 &p_local_ofs = Vector2()) const; virtual bool action_match(const Ref<InputEvent> &p_event) const; + virtual bool shortcut_match(const Ref<InputEvent> &p_event) const; virtual bool is_action_type() const; InputEvent(); @@ -243,9 +244,12 @@ public: uint32_t get_scancode_with_modifiers() const; virtual bool action_match(const Ref<InputEvent> &p_event) const; + virtual bool shortcut_match(const Ref<InputEvent> &p_event) const; virtual bool is_action_type() const { return true; } + virtual String as_text() const; + InputEventKey(); }; |