[escher] TableViewDataSource: implement default cumulatedWidthFromIndex,

cumulatedWidthFromIndex, indexFromCumulatedWidth,
indexFromCumulatedHeight
This commit is contained in:
Émilie Feral
2018-06-06 17:15:46 +02:00
parent 2d580faf51
commit f6bdf56c15
12 changed files with 38 additions and 91 deletions

View File

@@ -27,9 +27,7 @@ public:
KDCoordinate columnWidth(int i) override;
KDCoordinate rowHeight(int j) override;
KDCoordinate cumulatedWidthFromIndex(int i) override;
KDCoordinate cumulatedHeightFromIndex(int j) override;
int indexFromCumulatedWidth(KDCoordinate offsetX) override;
int indexFromCumulatedHeight(KDCoordinate offsetY) override;
HighlightCell * reusableCell(int index, int type) override;
int reusableCellCount(int type) override;
int typeAtLocation(int i, int j) override;