[graph] Create a static method StorageCartesianFunctionStore::Symbol()

This commit is contained in:
Émilie Feral
2018-10-18 18:07:34 +02:00
parent 4dbd7583e0
commit 8e2a30ab8e
11 changed files with 17 additions and 14 deletions

View File

@@ -45,9 +45,9 @@ void StorageValuesController::willDisplayCellAtLocation(HighlightCell * cell, in
const size_t bufferNameSize = Shared::StorageFunction::k_maxNameWithArgumentSize + 1;
char bufferName[bufferNameSize];
if (isDerivativeColumn(i)) {
function->derivativeNameWithArgument(bufferName, bufferNameSize, 'x');
function->derivativeNameWithArgument(bufferName, bufferNameSize, StorageCartesianFunctionStore::Symbol());
} else {
function->nameWithArgument(bufferName, bufferNameSize, 'x');
function->nameWithArgument(bufferName, bufferNameSize, StorageCartesianFunctionStore::Symbol());
}
myFunctionCell->setText(bufferName);
myFunctionCell->setColor(function->color());