Blame view

epsilon-master/poincare/src/layout/product_layout.h 556 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
  #ifndef POINCARE_PRODUCT_LAYOUT_H
  #define POINCARE_PRODUCT_LAYOUT_H
  
  #include "sequence_layout.h"
  #include <poincare/layout_engine.h>
  
  namespace Poincare {
  
  class ProductLayout : public SequenceLayout {
  public:
    using SequenceLayout::SequenceLayout;
    ExpressionLayout * clone() const override;
    int writeTextInBuffer(char * buffer, int bufferSize) const override;
  protected:
    void render(KDContext * ctx, KDPoint p, KDColor expressionColor, KDColor backgroundColor) override;
  private:
    constexpr static KDCoordinate k_lineThickness = 1;
  };
  
  }
  
  #endif