mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
22 lines
722 B
C++
22 lines
722 B
C++
#ifndef APPS_SHARED_STORE_SELECTABLE_TABLE_VIEW_H
|
|
#define APPS_SHARED_STORE_SELECTABLE_TABLE_VIEW_H
|
|
|
|
#include <escher/selectable_table_view.h>
|
|
#include "double_pair_store.h"
|
|
|
|
namespace Shared {
|
|
|
|
class StoreSelectableTableView : public SelectableTableView {
|
|
// TODO Put this behavior in the SelectableTableView delegate
|
|
public:
|
|
StoreSelectableTableView(DoublePairStore * store, Responder * parentResponder, TableViewDataSource * dataSource, SelectableTableViewDataSource * selectionDataSource = nullptr, SelectableTableViewDelegate * delegate = nullptr);
|
|
bool handleEvent(Ion::Events::Event event) override;
|
|
private:
|
|
bool selectNonHiddenCellAtClippedLocation(int i, int j);
|
|
DoublePairStore * m_store;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|