Blame view

emulateur/epsilon-nofrendo/poincare/src/layout/ceiling_layout.h 568 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_CEILING_LAYOUT_H
  #define POINCARE_CEILING_LAYOUT_H
  
  #include "bracket_pair_layout.h"
  #include <poincare/layout_engine.h>
  
  namespace Poincare {
  
  class CeilingLayout : public BracketPairLayout {
  public:
    using BracketPairLayout::BracketPairLayout;
    ExpressionLayout * clone() const override;
    int writeTextInBuffer(char * buffer, int bufferSize) const override {
      return LayoutEngine::writePrefixExpressionLayoutTextInBuffer(this, buffer, bufferSize, "ceil");
    }
  protected:
    bool renderBottomBar() const override { return false; }
  };
  
  }
  
  #endif