[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

@@ -28,7 +28,7 @@ const char * ListController::title() {
return I18n::translate(I18n::Message::SequenceTab);
}
Toolbox * ListController::toolboxForTextInput(TextInput * textInput) {
Toolbox * ListController::toolboxForTextInput(InputEventHandler * textInput) {
return toolboxForSender(textInput);
}
@@ -88,7 +88,7 @@ void ListController::selectPreviousNewSequenceCell() {
}
}
Toolbox * ListController::toolboxForSender(Responder * sender) {
Toolbox * ListController::toolboxForSender(InputEventHandler * sender) {
// Set extra cells
int recurrenceDepth = -1;
int sequenceDefinition = sequenceDefinitionForRow(selectedRow());