Numworks Epsilon  1.4.1
Graphing Calculator Operating System
regular_table_view_data_source.h
Go to the documentation of this file.
1 #ifndef SHARED_REGULAR_TABLE_VIEW_DATA_SOURCE_H
2 #define SHARED_REGULAR_TABLE_VIEW_DATA_SOURCE_H
3 
4 #include <escher.h>
5 
6 namespace Shared {
7 
8 /* Regular table view data source is a table view data source with equal sized
9  * columns and equal sized rows */
10 
12 public:
13  KDCoordinate cumulatedHeightFromIndex(int j) override;
14  int indexFromCumulatedHeight(KDCoordinate offsetY) override;
15  KDCoordinate cumulatedWidthFromIndex(int i) override;
16  int indexFromCumulatedWidth(KDCoordinate offsetX) override;
17 };
18 
19 }
20 
21 #endif
22 
int16_t KDCoordinate
Definition: coordinate.h:6
int indexFromCumulatedWidth(KDCoordinate offsetX) override
KDCoordinate cumulatedHeightFromIndex(int j) override
KDCoordinate cumulatedWidthFromIndex(int i) override
int indexFromCumulatedHeight(KDCoordinate offsetY) override