Numworks Epsilon  1.4.1
Graphing Calculator Operating System
absolute_value_layout.h
Go to the documentation of this file.
1 #ifndef POINCARE_ABSOLUTE_VALUE_LAYOUT_H
2 #define POINCARE_ABSOLUTE_VALUE_LAYOUT_H
3 
4 #include "bracket_layout.h"
5 
6 namespace Poincare {
7 
9 public:
10  AbsoluteValueLayout(ExpressionLayout * operandLayout) : BracketLayout(operandLayout) {}
12  AbsoluteValueLayout(const AbsoluteValueLayout& other) = delete;
13  AbsoluteValueLayout(AbsoluteValueLayout&& other) = delete;
14  AbsoluteValueLayout& operator=(const AbsoluteValueLayout& other) = delete;
16 protected:
17  KDCoordinate widthMargin() const { return 2; }
18  bool renderTopBar() const { return false; }
19  bool renderBottomBar() const { return false; }
20 };
21 
22 }
23 
24 #endif
int16_t KDCoordinate
Definition: coordinate.h:6
AbsoluteValueLayout & operator=(const AbsoluteValueLayout &other)=delete
AbsoluteValueLayout(ExpressionLayout *operandLayout)