Numworks Epsilon  1.4.1
Graphing Calculator Operating System
sequence_layout.h
Go to the documentation of this file.
1 #ifndef POINCARE_SEQUENCE_LAYOUT_H
2 #define POINCARE_SEQUENCE_LAYOUT_H
3 
4 #include <poincare/expression.h>
6 
7 namespace Poincare {
8 
10 public:
11  SequenceLayout(ExpressionLayout * lowerBoundLayout, ExpressionLayout * upperBoundLayout, ExpressionLayout * argumentLayout);
13  SequenceLayout(const SequenceLayout& other) = delete;
14  SequenceLayout(SequenceLayout&& other) = delete;
15  SequenceLayout& operator=(const SequenceLayout& other) = delete;
16  SequenceLayout& operator=(SequenceLayout&& other) = delete;
17  constexpr static KDCoordinate k_symbolHeight = 15;
18  constexpr static KDCoordinate k_symbolWidth = 9;
19 protected:
20  constexpr static KDCoordinate k_boundHeightMargin = 2;
24 private:
25  KDSize computeSize() override;
26  ExpressionLayout * child(uint16_t index) override;
27  KDPoint positionOfChild(ExpressionLayout * child) override;
28  constexpr static KDCoordinate k_argumentWidthMargin = 2;
29 };
30 
31 }
32 
33 #endif
static constexpr KDCoordinate k_symbolWidth
int16_t KDCoordinate
Definition: coordinate.h:6
static constexpr KDCoordinate k_boundHeightMargin
unsigned short uint16_t
Definition: stdint.h:5
SequenceLayout(ExpressionLayout *lowerBoundLayout, ExpressionLayout *upperBoundLayout, ExpressionLayout *argumentLayout)
Definition: point.h:6
Definition: size.h:6
ExpressionLayout * m_lowerBoundLayout
SequenceLayout & operator=(const SequenceLayout &other)=delete
ExpressionLayout * m_upperBoundLayout
static constexpr KDCoordinate k_symbolHeight
ExpressionLayout * m_argumentLayout