[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

@@ -59,13 +59,6 @@ TextInput::TextInput(Responder * parentResponder, View * contentView) :
{
}
Toolbox * TextInput::toolbox() {
if (delegate()) {
return delegate()->toolboxForTextInput(this);
}
return nullptr;
}
bool TextInput::removeChar() {
contentView()->removeChar();
scrollToCursor();