Files
Upsilon/apps/probability/app.cpp
Émilie Feral 46c5353116 [escher] Add a booleen in stack controller to decide whether or not display the first stack header
Change-Id: I13bdb3c70da9d1ef16f192439d6daf6a00438ad4
2016-09-16 13:33:48 +02:00

19 lines
453 B
C++

#include "app.h"
Probability::App::App() :
::App(),
m_lawController(LawController(nullptr)),
m_parametersController(ParametersController(nullptr)),
m_stackViewController(this, &m_lawController, true)
{
}
void Probability::App::setLaw(Law l) {
//m_parametersController.setLaw(thePickedLaw);
m_stackViewController.push(&m_parametersController);
}
ViewController * Probability::App::rootViewController() {
return &m_stackViewController;
}