[escher] Clean Field and Input class hierarchy:

Class hierarchy:
- InputEventHandler
- TextInput
- EditableField derives from InputEventHandler
- LayoutField, TextField and ExpressioField derives from EditableField
- TextArea and TextField derives from TextInput
This commit is contained in:
Émilie Feral
2018-10-19 14:31:50 +02:00
parent c2adbe28c5
commit 01e433a9f2
36 changed files with 123 additions and 85 deletions

View File

@@ -291,7 +291,7 @@ bool ConsoleController::textFieldDidAbortEditing(TextField * textField) {
return true;
}
Toolbox * ConsoleController::toolboxForTextInput(TextInput * textInput) {
Toolbox * ConsoleController::toolboxForTextInput(InputEventHandler * textInput) {
Code::App * codeApp = static_cast<Code::App *>(app());
return codeApp->pythonToolbox();
}