[apps/graph] Display function name in hide/show derivative controllers

This commit is contained in:
Léa Saviot
2018-10-12 12:10:59 +02:00
committed by Émilie Feral
parent aa46899af1
commit f388099cbc
7 changed files with 2 additions and 14 deletions

View File

@@ -4,14 +4,7 @@
namespace Shared {
const char * StorageValuesFunctionParameterController::title() {
strlcpy(m_pageTitle, I18n::translate(I18n::Message::FunctionColumn), k_maxNumberOfCharsInTitle);
for (int currentChar = 0; currentChar < k_maxNumberOfCharsInTitle-1; currentChar++) {
if (m_pageTitle[currentChar] == '(') {
m_pageTitle[currentChar-1] = *m_function->fullName();
m_pageTitle[currentChar+1] = m_symbol;
break;
}
}
m_function->nameWithArgument(m_pageTitle, k_maxNumberOfCharsInTitle, m_symbol);
return m_pageTitle;
}