Files
Upsilon/apps/expression_text_field_delegate.h
Émilie Feral 7af3979d3b [poincare] Change Context API
Change-Id: I2818866fb41bf73c39396fbd85600e586a79065c
2016-12-15 13:51:41 +01:00

17 lines
453 B
C++

#ifndef APPS_EXPRESSION_TEXT_FIELD_DELEGATE_H
#define APPS_EXPRESSION_TEXT_FIELD_DELEGATE_H
#include <escher.h>
#include <poincare.h>
class ExpressionTextFieldDelegate : public TextFieldDelegate {
public:
virtual Context * localContext() = 0;
virtual const char * XNT();
bool textFieldDidReceiveEvent(TextField * textField, Ion::Events::Event event) override;
private:
bool cursorInToken(TextField * textField, const char * token);
};
#endif