mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
17 lines
453 B
C++
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
|