mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 15:20:39 +01:00
[escher] Make table view accept only table view cell
Change-Id: I393375d0887e692a85747198d5b42d26d207dc83
This commit is contained in:
@@ -341,7 +341,7 @@ int ValuesController::typeAtLocation(int i, int j) {
|
||||
return 2;
|
||||
}
|
||||
|
||||
View * ValuesController::reusableCell(int index, int type) {
|
||||
TableViewCell * ValuesController::reusableCell(int index, int type) {
|
||||
assert(index >= 0);
|
||||
switch (type) {
|
||||
case 0:
|
||||
@@ -373,7 +373,7 @@ int ValuesController::reusableCellCount(int type) {
|
||||
}
|
||||
}
|
||||
|
||||
void ValuesController::willDisplayCellAtLocation(View * cell, int i, int j) {
|
||||
void ValuesController::willDisplayCellAtLocation(TableViewCell * cell, int i, int j) {
|
||||
EvenOddCell * myCell = (EvenOddCell *)cell;
|
||||
myCell->setEven(j%2 == 0);
|
||||
// The cell is a title cell:
|
||||
|
||||
Reference in New Issue
Block a user