mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
GraphApp: Use a FunctionStore
Change-Id: Ib75947c40167489726fafc493ccb0ebf2862142b
This commit is contained in:
@@ -2,10 +2,13 @@
|
||||
|
||||
GraphApp::GraphApp() :
|
||||
App(),
|
||||
m_listController(ListController(nullptr)),
|
||||
m_graphController(GraphController(nullptr)),
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user