Blame view

build2/epsilon-master/apps/regression/banner_view.h 1.01 KB
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
34
35
  #ifndef REGRESSION_BANNER_VIEW_H
  #define REGRESSION_BANNER_VIEW_H
  
  #include <escher.h>
  #include "../shared/banner_view.h"
  
  namespace Regression {
  
  class BannerView : public Shared::BannerView {
  public:
    BannerView();
    int numberOfTextviews() const { return k_numberOfTextViews; }
    KDText::FontSize fontSize() const { return k_fontSize; }
  private:
    static constexpr KDText::FontSize k_fontSize = KDText::FontSize::Small;
    static constexpr KDColor k_textColor = KDColorBlack;
    static constexpr KDColor k_backgroundColor = Palette::GreyMiddle;
    static constexpr int k_numberOfTextViews = 9;
    int numberOfSubviews() const override;
    TextView * textViewAtIndex(int i) const override;
    MessageTextView * messageTextViewAtIndex(int i) const override;
    BufferTextView m_dotNameView;
    BufferTextView m_xView;
    BufferTextView m_yView;
    MessageTextView m_regressionTypeView;
    BufferTextView m_subText1;
    BufferTextView m_subText2;
    BufferTextView m_subText3;
    BufferTextView m_subText4;
    BufferTextView m_subText5;
  };
  
  }
  
  #endif