Blame view

epsilon-master/apps/shared/store_selectable_table_view.h 652 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  #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 {
  public:
    StoreSelectableTableView(DoublePairStore * 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);
    DoublePairStore * m_store;
  };
  
  }
  
  #endif