mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
17 lines
470 B
C++
17 lines
470 B
C++
#include "graph_app.h"
|
|
|
|
GraphApp::GraphApp() :
|
|
App(),
|
|
m_functionStore(Graph::FunctionStore()),
|
|
m_listController(ListController(nullptr, &m_functionStore)),
|
|
m_graphController(GraphController(nullptr, &m_functionStore)),
|
|
m_tabViewController(this, &m_listController, &m_graphController)
|
|
{
|
|
m_functionStore.pushFunction("(x-1)*(x+1)*x");
|
|
m_functionStore.pushFunction("x*x");
|
|
}
|
|
|
|
ViewController * GraphApp::rootViewController() {
|
|
return &m_tabViewController;
|
|
}
|