mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 22:00:28 +01:00
[escher] Reorganize all cells'name and factorize their layouts
Change-Id: I69900ee98ff6a6868f96d70a0e335a589ef16c3f
This commit is contained in:
@@ -84,7 +84,7 @@ int VariableBoxController::ContentViewController::numberOfRows() {
|
||||
}
|
||||
}
|
||||
|
||||
TableViewCell * VariableBoxController::ContentViewController::reusableCell(int index, int type) {
|
||||
HighlightCell * VariableBoxController::ContentViewController::reusableCell(int index, int type) {
|
||||
assert(type < 2);
|
||||
assert(index >= 0);
|
||||
if (type == 0) {
|
||||
@@ -103,10 +103,10 @@ int VariableBoxController::ContentViewController::reusableCellCount(int type) {
|
||||
return k_numberOfMenuRows;
|
||||
}
|
||||
|
||||
void VariableBoxController::ContentViewController::willDisplayCellForIndex(TableViewCell * cell, int index) {
|
||||
void VariableBoxController::ContentViewController::willDisplayCellForIndex(HighlightCell * cell, int index) {
|
||||
if (m_currentPage == Page::RootMenu) {
|
||||
const char * label = nodeLabelAtIndex(index);
|
||||
MenuListCell * myCell = (MenuListCell *)cell;
|
||||
PointerTableCell * myCell = (PointerTableCell *)cell;
|
||||
myCell->setText(label);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user