floor_layout.h 560 Bytes
#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