Numworks Epsilon  1.4.1
Graphing Calculator Operating System
simple_table_view_data_source.h
Go to the documentation of this file.
1 #ifndef ESCHER_SIMPLE_TABLE_VIEW_DATA_SOURCE_H
2 #define ESCHER_SIMPLE_TABLE_VIEW_DATA_SOURCE_H
3 
4 #include <escher/table_view.h>
6 
8 public:
9  virtual KDCoordinate cellHeight() = 0;
10  virtual KDCoordinate cellWidth() = 0;
11  KDCoordinate columnWidth(int i) override;
12  KDCoordinate rowHeight(int j) override;
13  KDCoordinate cumulatedWidthFromIndex(int i) override;
14  KDCoordinate cumulatedHeightFromIndex(int j) override;
15  int indexFromCumulatedWidth(KDCoordinate offsetX) override;
16  int indexFromCumulatedHeight(KDCoordinate offsetY) override;
17  virtual HighlightCell * reusableCell(int index) = 0;
18  virtual int reusableCellCount() = 0;
19  HighlightCell * reusableCell(int index, int type) override;
20  int reusableCellCount(int type) override;
21  int typeAtLocation(int i, int j) override;
22 };
23 
24 #endif
int typeAtLocation(int i, int j) override
KDCoordinate cumulatedWidthFromIndex(int i) override
virtual int reusableCellCount()=0
int16_t KDCoordinate
Definition: coordinate.h:6
virtual KDCoordinate cellHeight()=0
virtual KDCoordinate cellWidth()=0
int indexFromCumulatedWidth(KDCoordinate offsetX) override
KDCoordinate cumulatedHeightFromIndex(int j) override
int indexFromCumulatedHeight(KDCoordinate offsetY) override
KDCoordinate columnWidth(int i) override
KDCoordinate rowHeight(int j) override
virtual HighlightCell * reusableCell(int index)=0