mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 17:50:04 +01:00
[apps/graph/values] Add a parameter controller as instance variable in the values controller
Change-Id: Id9196e2a4488cf0c39ca6d84f2378f5b445053d0
This commit is contained in:
@@ -7,7 +7,8 @@ ValuesController::ValuesController(Responder * parentResponder, Graph::FunctionS
|
||||
m_activeCellX(0),
|
||||
m_activeCellY(-1),
|
||||
m_functionStore(functionStore),
|
||||
m_interval(Graph::Interval(-1.0f, 1.0f, 0.25f))
|
||||
m_interval(Graph::Interval(-1.0f, 1.0f, 0.25f)),
|
||||
m_parameterController(ValuesParameterController(this))
|
||||
{
|
||||
setButtonTitles("Regler l'intervalle", nullptr, nullptr);
|
||||
}
|
||||
@@ -20,6 +21,10 @@ Responder * ValuesController::tabController() const{
|
||||
return (parentResponder()->parentResponder());
|
||||
}
|
||||
|
||||
ViewController * ValuesController::parameterController() {
|
||||
return &m_parameterController;
|
||||
}
|
||||
|
||||
int ValuesController::numberOfRows() {
|
||||
return 1 + m_interval.numberOfElements();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user