Blame view

build6/epsilon-master/apps/statistics/box_controller.h 778 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
21
22
23
24
25
26
27
28
29
  #ifndef STATISTICS_BOX_CONTROLLER_H
  #define STATISTICS_BOX_CONTROLLER_H
  
  #include <escher.h>
  #include "store.h"
  #include "multiple_boxes_view.h"
  #include "multiple_data_view_controller.h"
  
  namespace Statistics {
  
  class BoxController : public MultipleDataViewController, public ButtonRowDelegate {
  public:
    BoxController(Responder * parentResponder, ButtonRowController * header, Store * store, BoxView::Quantile * selectedQuantile, int * selectedSeriesIndex);
  
    MultipleDataView * multipleDataView() override { return &m_view; }
    bool moveSelectionHorizontally(int deltaIndex) override;
  
    // ViewController
    const char * title() override;
  private:
    Responder * tabController() const override;
    void reloadBannerView() override;
    MultipleBoxesView m_view;
  };
  
  }
  
  
  #endif