Files
Upsilon/escher/src/list_view_data_source.cpp
Émilie Feral f809d089d6 [escher] Make table view accept only table view cell
Change-Id: I393375d0887e692a85747198d5b42d26d207dc83
2016-10-25 17:55:28 +02:00

29 lines
625 B
C++

#include <escher/list_view_data_source.h>
KDCoordinate ListViewDataSource::cellWidth() {
return 0;
}
KDCoordinate ListViewDataSource::columnWidth(int i) {
return cellWidth();
}
int ListViewDataSource::numberOfColumns() {
return 1;
}
void ListViewDataSource::willDisplayCellAtLocation(TableViewCell * cell, int x, int y) {
willDisplayCellForIndex(cell, y);
}
void ListViewDataSource::willDisplayCellForIndex(TableViewCell * cell, int index) {
}
KDCoordinate ListViewDataSource::cumulatedWidthFromIndex(int i) {
return 0;
}
int ListViewDataSource::indexFromCumulatedWidth(KDCoordinate offsetX) {
return 0;
}