2 #include "../apps_container.h" 3 #include "calculation_icon.h" 13 return I18n::Message::CalculApp;
17 return I18n::Message::CalculAppCapital;
21 return ImageStore::CalculationIcon;
25 return new App(container,
this);
29 m_calculationStore.deleteAll();
38 return &m_calculationStore;
41 void App::Snapshot::tidy() {
42 m_calculationStore.tidy();
47 m_historyController(&m_editExpressionController, snapshot->calculationStore()),
48 m_editExpressionController(&m_modalViewController, &m_historyController, snapshot->calculationStore())
57 if (textField->
text()[0] == 0) {
78 int length =
exp->writeTextInBuffer(buffer,
sizeof(buffer));
bool textFieldDidReceiveEvent(::TextField *textField, Ion::Events::Event event) override
bool textFieldShouldFinishEditing(Ion::Events::Event event)
App(Container *container, Snapshot *snapshot, ViewController *rootViewController, I18n::Message warningMessage=(I18n::Message) 0)
virtual Poincare::Context * localContext()
void displayWarning(I18n::Message warningMessage)
const char * XNT() override
virtual App * unpack(Container *container)=0
const char * text() const
virtual const Image * icon()
virtual I18n::Message upperName()
virtual Descriptor * descriptor()=0
bool textInputIsCorrect(const char *text)
virtual I18n::Message name()
static constexpr int k_printedExpressionSize