You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-29 16:16:38 +00:00
renamed _input_event for GUI events to _gui_input, so it's more differentiated than generalized _input
This commit is contained in:
@@ -137,7 +137,7 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
bool forward_input_event(const InputEvent& p_event);
|
||||
bool forward_gui_input(const InputEvent& p_event);
|
||||
void edit(Node *p_collision_polygon);
|
||||
Polygon2DEditor(EditorNode *p_editor);
|
||||
};
|
||||
@@ -151,7 +151,7 @@ class Polygon2DEditorPlugin : public EditorPlugin {
|
||||
|
||||
public:
|
||||
|
||||
virtual bool forward_canvas_input_event(const Matrix32& p_canvas_xform,const InputEvent& p_event) { return collision_polygon_editor->forward_input_event(p_event); }
|
||||
virtual bool forward_canvas_gui_input(const Matrix32& p_canvas_xform,const InputEvent& p_event) { return collision_polygon_editor->forward_gui_input(p_event); }
|
||||
|
||||
virtual String get_name() const { return "Polygon2D"; }
|
||||
bool has_main_screen() const { return false; }
|
||||
|
||||
Reference in New Issue
Block a user