mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 16:50:50 +01:00
[apps/*/values_controller] Get interval from App according to column index
This commit is contained in:
@@ -8,8 +8,8 @@ using namespace Poincare;
|
||||
|
||||
namespace Graph {
|
||||
|
||||
ValuesController::ValuesController(Responder * parentResponder, InputEventHandlerDelegate * inputEventHandlerDelegate, Interval * interval, ButtonRowController * header) :
|
||||
Shared::ValuesController(parentResponder, header, interval),
|
||||
ValuesController::ValuesController(Responder * parentResponder, InputEventHandlerDelegate * inputEventHandlerDelegate, ButtonRowController * header) :
|
||||
Shared::ValuesController(parentResponder, header),
|
||||
m_functionTitleCells{},
|
||||
m_floatCells{},
|
||||
m_abscissaTitleCells{},
|
||||
@@ -114,6 +114,10 @@ int ValuesController::numberOfColumnsForRecord(Ion::Storage::Record record) cons
|
||||
(plotType == CartesianFunction::PlotType::Parametric);
|
||||
}
|
||||
|
||||
Shared::Interval * ValuesController::intervalAtColumn(int columnIndex) {
|
||||
return App::app()->interval();
|
||||
}
|
||||
|
||||
int ValuesController::maxNumberOfCells() {
|
||||
return k_maxNumberOfCells;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user