Files
Upsilon/apps/shared/store_selectable_table_view.h
Hugo Saint-Vignes 70830e0b74 [escher] Scroll speed increase for long repetition in selectable table
Change-Id: Idfc3edcedff5a933b6f2168b475e22ea56ea0ab0
2020-11-04 14:45:34 +01:00

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