Blame view

build4/epsilon-master/poincare/src/layout/floor_layout.h 560 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_FLOOR_LAYOUT_H
  #define POINCARE_FLOOR_LAYOUT_H
  
  #include "bracket_pair_layout.h"
  #include <poincare/layout_engine.h>
  
  namespace Poincare {
  
  class FloorLayout : public BracketPairLayout {
  public:
    using BracketPairLayout::BracketPairLayout;
    ExpressionLayout * clone() const override;
    int writeTextInBuffer(char * buffer, int bufferSize) const override {
      return LayoutEngine::writePrefixExpressionLayoutTextInBuffer(this, buffer, bufferSize, "floor");
    }
  protected:
    bool renderTopBar() const override { return false; }
  };
  
  }
  
  #endif