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
11
class
RegularTableViewDataSource
:
public
TableViewDataSource
{
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
Shared
Definition:
banner_view.cpp:5
KDCoordinate
int16_t KDCoordinate
Definition:
coordinate.h:6
escher.h
TableViewDataSource
Definition:
table_view_data_source.h:7
Shared::RegularTableViewDataSource::indexFromCumulatedWidth
int indexFromCumulatedWidth(KDCoordinate offsetX) override
Definition:
regular_table_view_data_source.cpp:13
Shared::RegularTableViewDataSource::cumulatedHeightFromIndex
KDCoordinate cumulatedHeightFromIndex(int j) override
Definition:
regular_table_view_data_source.cpp:9
Shared::RegularTableViewDataSource::cumulatedWidthFromIndex
KDCoordinate cumulatedWidthFromIndex(int i) override
Definition:
regular_table_view_data_source.cpp:5
Shared::RegularTableViewDataSource
Definition:
regular_table_view_data_source.h:11
Shared::RegularTableViewDataSource::indexFromCumulatedHeight
int indexFromCumulatedHeight(KDCoordinate offsetY) override
Definition:
regular_table_view_data_source.cpp:17
epsilon
apps
shared
regular_table_view_data_source.h
Generated by
1.8.14