Files
Upsilon/apps/expression_text_field_delegate.h
Émilie Feral fc10dd1410 [apps] Handle clicking on XNT in a sum or a product
Change-Id: Ia951d8aedf89068fb184661f7292358271e68248
2016-11-18 10:15:44 +01:00

17 lines
456 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 * evaluateContext() = 0;
virtual const char * XNT();
bool textFieldDidReceiveEvent(TextField * textField, Ion::Events::Event event) override;
private:
bool cursorInToken(TextField * textField, const char * token);
};
#endif