Files
Upsilon/escher/include/escher/selectable_table_view_data_source.h
Émilie Feral af4d6b6e81 [escher] Divide class selectable table view delegate in 2: selectable
table view data source & selectable table view delegate

Change-Id: I90fbd61e271db3754c13bd0069b95c2026de6814
2017-05-18 14:16:41 +02:00

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