mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 14:50:44 +01:00
[apps/graph/graph] CalculationParameterController inherits from ListViewDataSource
instead of SimpleListViewDataSource
This commit is contained in:
committed by
Émilie Feral
parent
938c7a1a45
commit
682fa3f294
@@ -82,19 +82,23 @@ int CalculationParameterController::numberOfRows() {
|
||||
return k_totalNumberOfCells;
|
||||
};
|
||||
|
||||
KDCoordinate CalculationParameterController::rowHeight(int j) {
|
||||
return Metric::ParameterCellHeight;
|
||||
}
|
||||
|
||||
HighlightCell * CalculationParameterController::reusableCell(int index) {
|
||||
HighlightCell * CalculationParameterController::reusableCell(int index, int type) {
|
||||
assert(index >= 0);
|
||||
assert(index < k_totalNumberOfCells);
|
||||
return &m_cells[index];
|
||||
}
|
||||
|
||||
int CalculationParameterController::reusableCellCount() {
|
||||
int CalculationParameterController::reusableCellCount(int type) {
|
||||
return k_totalNumberOfCells;
|
||||
}
|
||||
|
||||
KDCoordinate CalculationParameterController::cellHeight() {
|
||||
return Metric::ParameterCellHeight;
|
||||
int CalculationParameterController::typeAtLocation(int i, int j) {
|
||||
assert(i == 0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void CalculationParameterController::willDisplayCellForIndex(HighlightCell * cell, int index) {
|
||||
|
||||
Reference in New Issue
Block a user