Files
Upsilon/apps/shared/store_selectable_table_view.h

21 lines
649 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 "float_pair_store.h"
namespace Shared {
class StoreSelectableTableView : public SelectableTableView {
public:
StoreSelectableTableView(FloatPairStore * store, Responder * parentResponder, TableViewDataSource * dataSource, SelectableTableViewDataSource * selectionDataSource = nullptr, SelectableTableViewDelegate * delegate = nullptr);
bool handleEvent(Ion::Events::Event event) override;
private:
bool selecNonHiddenCellAtLocation(int i, int j);
FloatPairStore * m_store;
};
}
#endif