mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
[escher] in menu list cell, change name contentView->accessoryView
Change-Id: Ide0ce134f83b6b491b66bc6df9900a1928888a8a
This commit is contained in:
@@ -44,15 +44,15 @@ void ValuesParameterController::willDisplayCellForIndex(TableViewCell * cell, in
|
||||
switch (index) {
|
||||
case 0:
|
||||
Float(m_interval->start()).convertFloatToText(buffer, Constant::FloatBufferSizeInScientificMode, Constant::NumberOfDigitsInMantissaInScientificMode);
|
||||
myCell->setText(buffer);
|
||||
myCell->setAccessoryText(buffer);
|
||||
break;
|
||||
case 1:
|
||||
Float(m_interval->end()).convertFloatToText(buffer, Constant::FloatBufferSizeInScientificMode, Constant::NumberOfDigitsInMantissaInScientificMode);
|
||||
myCell->setText(buffer);
|
||||
myCell->setAccessoryText(buffer);
|
||||
break;
|
||||
case 2:
|
||||
Float(m_interval->step()).convertFloatToText(buffer, Constant::FloatBufferSizeInScientificMode, Constant::NumberOfDigitsInMantissaInScientificMode);
|
||||
myCell->setText(buffer);
|
||||
myCell->setAccessoryText(buffer);
|
||||
break;
|
||||
default:
|
||||
assert(false);
|
||||
@@ -100,7 +100,7 @@ void ValuesParameterController::editInterval(bool overwrite, char initialDigit)
|
||||
initialTextContent[1] = 0;
|
||||
} else {
|
||||
TextMenuListCell * textMenuListCell = (TextMenuListCell *)reusableCell(activeCell());
|
||||
strlcpy(initialTextContent, textMenuListCell->textContent(), sizeof(initialTextContent));
|
||||
strlcpy(initialTextContent, textMenuListCell->accessoryText(), sizeof(initialTextContent));
|
||||
}
|
||||
App * myApp = (App *)app();
|
||||
InputViewController * inputController = myApp->inputViewController();
|
||||
|
||||
Reference in New Issue
Block a user