Files
Upsilon/apps/calculation/expression_field.h
2020-05-11 10:34:28 +02:00

21 lines
596 B
C++

#ifndef CALCULATION_EXPRESSION_FIELD_H
#define CALCULATION_EXPRESSION_FIELD_H
#include <escher.h>
namespace Calculation {
class ExpressionField : public ::ExpressionField {
public:
ExpressionField(Responder * parentResponder, InputEventHandlerDelegate * inputEventHandler, TextFieldDelegate * textFieldDelegate, LayoutFieldDelegate * layoutFieldDelegate) :
::ExpressionField(parentResponder, inputEventHandler, textFieldDelegate, layoutFieldDelegate) {
setLayoutInsertionCursorEvent(Ion::Events::Up);
}
protected:
bool handleEvent(Ion::Events::Event event) override;
};
}
#endif