[apps/graph][graph/sequence][graph/shared] Change constant names: add

"displayable" when adequate
This commit is contained in:
Émilie Feral
2019-10-04 16:46:26 +02:00
committed by LeaNumworks
parent a19edb4460
commit b40c89cae8
6 changed files with 38 additions and 38 deletions

View File

@@ -37,7 +37,7 @@ ValuesController::ValuesController(Responder * parentResponder, InputEventHandle
return true;
}, this), k_font)
{
for (int i = 0; i < k_maxNumberOfFunctions; i++) {
for (int i = 0; i < k_maxNumberOfDisplayableFunctions; i++) {
m_functionTitleCells[i].setOrientation(FunctionTitleCell::Orientation::HorizontalIndicator);
m_functionTitleCells[i].setFont(KDFont::SmallFont);
}
@@ -326,12 +326,12 @@ Shared::Hideable * ValuesController::hideableCellFromType(HighlightCell * cell,
}
Shared::BufferFunctionTitleCell * ValuesController::functionTitleCells(int j) {
assert(j >= 0 && j < k_maxNumberOfFunctions);
assert(j >= 0 && j < k_maxNumberOfDisplayableFunctions);
return &m_functionTitleCells[j];
}
EvenOddBufferTextCell * ValuesController::floatCells(int j) {
assert(j >= 0 && j < k_maxNumberOfCells);
assert(j >= 0 && j < k_maxNumberOfDisplayableCells);
return &m_floatCells[j];
}