mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 15:50:49 +01:00
[apps] Graph: create a RootGraphController
This commit is contained in:
committed by
EmilieNumworks
parent
d1840dfe17
commit
37c3f6189d
@@ -15,7 +15,8 @@ CalculationParameterController::CalculationParameterController(Responder * paren
|
||||
m_tangentGraphController(nullptr, graphView, bannerView, range, cursor),
|
||||
m_integralGraphController(nullptr, graphView, range, cursor),
|
||||
m_minimumGraphController(nullptr, graphView, bannerView, range, cursor),
|
||||
m_maximumGraphController(nullptr, graphView, bannerView, range, cursor)
|
||||
m_maximumGraphController(nullptr, graphView, bannerView, range, cursor),
|
||||
m_rootGraphController(nullptr, graphView, bannerView, range, cursor)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -44,6 +45,10 @@ bool CalculationParameterController::handleEvent(Ion::Events::Event event) {
|
||||
m_minimumGraphController.setFunction(m_function);
|
||||
controller = &m_minimumGraphController;
|
||||
break;
|
||||
case 3:
|
||||
m_rootGraphController.setFunction(m_function);
|
||||
controller = &m_rootGraphController;
|
||||
break;
|
||||
case 4:
|
||||
m_tangentGraphController.setFunction(m_function);
|
||||
controller = &m_tangentGraphController;
|
||||
|
||||
Reference in New Issue
Block a user