Blame view

epsilon-master/apps/statistics/multiple_histograms_view.h 965 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
30
31
32
33
  #ifndef STATISTICS_MULTIPLE_HISTOGRAMS_VIEW_H
  #define STATISTICS_MULTIPLE_HISTOGRAMS_VIEW_H
  
  #include <escher.h>
  #include "store.h"
  #include "histogram_view.h"
  #include "histogram_banner_view.h"
  #include "histogram_parameter_controller.h"
  #include "multiple_data_view.h"
  #include "../shared/ok_view.h"
  
  namespace Statistics {
  
  class MultipleHistogramsView : public MultipleDataView {
  public:
    MultipleHistogramsView(HistogramController * controller, Store * store);
    // MultipleDataView
    int seriesOfSubviewAtIndex(int index) override;
    const HistogramBannerView * bannerView() const override { return &m_bannerView; }
    HistogramView * dataViewAtIndex(int index) override;
  private:
    void layoutSubviews() override;
    void changeDataViewSelection(int index, bool select) override;
    HistogramView m_histogramView1;
    HistogramView m_histogramView2;
    HistogramView m_histogramView3;
    HistogramBannerView m_bannerView;
    Shared::OkView m_okView;
  };
  
  }
  
  #endif