[graph] Fix Graph controllers to take a StorageCartesianFunction instead

of a CartesianFunction
This commit is contained in:
Émilie Feral
2018-10-12 09:39:49 +02:00
parent 3cedfb84e9
commit 3412463e84
19 changed files with 94 additions and 92 deletions

View File

@@ -7,7 +7,7 @@ using namespace Shared;
namespace Graph {
CalculationParameterController::CalculationParameterController(Responder * parentResponder, GraphView * graphView, BannerView * bannerView, InteractiveCurveViewRange * range, CurveViewCursor * cursor, CartesianFunctionStore * functionStore) :
CalculationParameterController::CalculationParameterController(Responder * parentResponder, GraphView * graphView, BannerView * bannerView, InteractiveCurveViewRange * range, CurveViewCursor * cursor, StorageCartesianFunctionStore * functionStore) :
ViewController(parentResponder),
m_selectableTableView(this),
m_function(nullptr),
@@ -103,7 +103,7 @@ void CalculationParameterController::willDisplayCellForIndex(HighlightCell * cel
myCell->setMessage(titles[index]);
}
void CalculationParameterController::setFunction(CartesianFunction * function) {
void CalculationParameterController::setFunction(StorageCartesianFunction * function) {
m_function = function;
}