summaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-08 16:28:12 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-08 16:28:12 -0300
commit920947f297ff3b8d959d15c8e15e7a28dcbdb08f (patch)
tree160ca184a2d8ec1a43238d25e10ef198bdd6b5c8 /scene/gui/line_edit.cpp
parent0a59c3c3a6a8c13a5c82d59d9587fca31f900604 (diff)
renamed _input_event for GUI events to _gui_input, so it's more differentiated than generalized _input
Diffstat (limited to 'scene/gui/line_edit.cpp')
-rw-r--r--scene/gui/line_edit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp
index 6537791faf..d5214a0c1a 100644
--- a/scene/gui/line_edit.cpp
+++ b/scene/gui/line_edit.cpp
@@ -41,7 +41,7 @@ static bool _is_text_char(CharType c) {
return (c>='a' && c<='z') || (c>='A' && c<='Z') || (c>='0' && c<='9') || c=='_';
}
-void LineEdit::_input_event(InputEvent p_event) {
+void LineEdit::_gui_input(InputEvent p_event) {
switch(p_event.type) {
@@ -1267,7 +1267,7 @@ void LineEdit::_bind_methods() {
ClassDB::bind_method(_MD("set_align", "align"), &LineEdit::set_align);
ClassDB::bind_method(_MD("get_align"), &LineEdit::get_align);
- ClassDB::bind_method(_MD("_input_event"),&LineEdit::_input_event);
+ ClassDB::bind_method(_MD("_gui_input"),&LineEdit::_gui_input);
ClassDB::bind_method(_MD("clear"),&LineEdit::clear);
ClassDB::bind_method(_MD("select_all"),&LineEdit::select_all);
ClassDB::bind_method(_MD("set_text","text"),&LineEdit::set_text);