Blame view

Modif/epsilon-master/apps/statistics/histogram_banner_view.h 753 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
  #ifndef STATISTICS_HISTOGRAM_BANNER_VIEW_H
  #define STATISTICS_HISTOGRAM_BANNER_VIEW_H
  
  #include <escher.h>
  #include "../shared/banner_view.h"
  #include "../i18n.h"
  
  namespace Statistics {
  
  class HistogramBannerView : public Shared::BannerView {
  public:
    HistogramBannerView();
  private:
    static constexpr int k_numberOfSubviews = 6;
    int numberOfSubviews() const override { return k_numberOfSubviews; }
    TextView * textViewAtIndex(int i) const override;
    MessageTextView * messageTextViewAtIndex(int index) const override;
    MessageTextView m_intervalLegendView;
    BufferTextView m_intervalView;
    MessageTextView m_sizeLegendView;
    BufferTextView m_sizeView;
    MessageTextView m_frequencyLegendView;
    BufferTextView m_frequencyView;
  };
  
  }
  
  #endif