Blame view

epsilon-master/apps/sequence/sequence_title_cell.h 762 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
  #ifndef SEQUENCE_SEQUENCE_TITLE_CELL_H
  #define SEQUENCE_SEQUENCE_TITLE_CELL_H
  
  #include "../shared/function_title_cell.h"
  
  namespace Sequence {
  
  class SequenceTitleCell : public Shared::FunctionTitleCell {
  public:
    SequenceTitleCell(Orientation orientation);
    void setExpressionLayout(Poincare::ExpressionLayout * expressionLayout);
    void setEven(bool even) override;
    void setHighlighted(bool highlight) override;
    void setColor(KDColor color) override;
    Poincare::ExpressionLayout * expressionLayout() const override {
      return m_titleTextView.expressionLayout();
    }
  private:
    int numberOfSubviews() const override;
    View * subviewAtIndex(int index) override;
    void layoutSubviews() override;
    EvenOddExpressionCell m_titleTextView;
  };
  
  }
  
  #endif