2 #include "../apps_container.h" 3 #include "graph_icon.h" 12 return I18n::Message::FunctionApp;
16 return I18n::Message::FunctionAppCapital;
20 return ImageStore::GraphIcon;
23 App::Snapshot::Snapshot() :
26 m_graphRange(&m_cursor)
35 FunctionApp::Snapshot::reset();
36 m_functionStore.removeAll();
37 m_graphRange.setDefault();
46 return &m_functionStore;
53 void App::Snapshot::tidy() {
54 m_functionStore.tidy();
55 m_graphRange.setDelegate(
nullptr);
60 m_listController(&m_listFooter,
snapshot->functionStore(), &m_listHeader, &m_listFooter),
62 m_listHeader(&m_listStackViewController, &m_listFooter, &m_listController),
63 m_listStackViewController(&m_tabViewController, &m_listHeader),
65 m_graphAlternateEmptyViewController(&m_graphHeader, &m_graphController, &m_graphController),
66 m_graphHeader(&m_graphStackViewController, &m_graphAlternateEmptyViewController, &m_graphController),
67 m_graphStackViewController(&m_tabViewController, &m_graphHeader),
68 m_valuesController(&m_valuesAlternateEmptyViewController,
snapshot->functionStore(),
snapshot->interval(), &m_valuesHeader),
69 m_valuesAlternateEmptyViewController(&m_valuesHeader, &m_valuesController, &m_valuesController),
70 m_valuesHeader(&m_valuesStackViewController, &m_valuesAlternateEmptyViewController, &m_valuesController),
71 m_valuesStackViewController(&m_tabViewController, &m_valuesHeader),
72 m_tabViewController(&m_inputViewController,
snapshot, &m_listStackViewController, &m_graphStackViewController, &m_valuesStackViewController),
78 return &m_inputViewController;
const char * XNT() override
App * unpack(Container *container) override
InputViewController * inputViewController() override
ModalViewController m_modalViewController
Descriptor * descriptor() override
Shared::InteractiveCurveViewRange * graphRange()
CartesianFunctionStore * functionStore()
virtual const Image * icon()
virtual I18n::Message upperName()
AppsContainer * container()
virtual I18n::Message name()