mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 00:30:46 +01:00
table view data source & selectable table view delegate Change-Id: I90fbd61e271db3754c13bd0069b95c2026de6814
22 lines
494 B
C++
22 lines
494 B
C++
#ifndef ESCHER_SELECTABLE_TABLE_VIEW_DATA_SOURCE_H
|
|
#define ESCHER_SELECTABLE_TABLE_VIEW_DATA_SOURCE_H
|
|
|
|
#include <escher/scroll_view_data_source.h>
|
|
|
|
class SelectableTableView;
|
|
|
|
class SelectableTableViewDataSource : public ScrollViewDataSource {
|
|
public:
|
|
SelectableTableViewDataSource();
|
|
int selectedRow();
|
|
int selectedColumn();
|
|
void selectRow(int j);
|
|
void selectColumn(int i);
|
|
void selectCellAtLocation(int i, int j);
|
|
private:
|
|
int m_selectedCellX;
|
|
int m_selectedCellY;
|
|
};
|
|
|
|
#endif
|