diff options
author | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2019-04-15 12:30:20 -0300 |
---|---|---|
committer | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2019-04-15 15:22:09 -0300 |
commit | 1bae73d7d060eeb9531fc5ba46de5d31dc7073c7 (patch) | |
tree | a9e7ee957123548847b528e748bf054ddc08ad13 /core/os/input.cpp | |
parent | 09e94aa087485ccf5b4318c4a619db4f6b067cc5 (diff) | |
download | redot-engine-1bae73d7d060eeb9531fc5ba46de5d31dc7073c7.tar.gz |
Add Input::get_current_cursor_shape
[Clean up] Removed unused/unnecessary methods.
Diffstat (limited to 'core/os/input.cpp')
-rw-r--r-- | core/os/input.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/input.cpp b/core/os/input.cpp index caa9fb1493..63bf1db499 100644 --- a/core/os/input.cpp +++ b/core/os/input.cpp @@ -89,6 +89,7 @@ void Input::_bind_methods() { ClassDB::bind_method(D_METHOD("action_press", "action", "strength"), &Input::action_press, DEFVAL(1.f)); ClassDB::bind_method(D_METHOD("action_release", "action"), &Input::action_release); ClassDB::bind_method(D_METHOD("set_default_cursor_shape", "shape"), &Input::set_default_cursor_shape, DEFVAL(CURSOR_ARROW)); + ClassDB::bind_method(D_METHOD("get_current_cursor_shape"), &Input::get_current_cursor_shape); ClassDB::bind_method(D_METHOD("set_custom_mouse_cursor", "image", "shape", "hotspot"), &Input::set_custom_mouse_cursor, DEFVAL(CURSOR_ARROW), DEFVAL(Vector2())); ClassDB::bind_method(D_METHOD("parse_input_event", "event"), &Input::parse_input_event); ClassDB::bind_method(D_METHOD("set_use_accumulated_input", "enable"), &Input::set_use_accumulated_input); |