diff --git a/poincare/Makefile b/poincare/Makefile index 906f8fca6..5a6bc64d8 100644 --- a/poincare/Makefile +++ b/poincare/Makefile @@ -26,6 +26,7 @@ objs += $(addprefix poincare/src/,\ left_square_bracket_layout_node.o\ matrix_layout_node.o\ nth_root_layout_node.o\ + parenthesis_layout_node.o\ product_layout_node.o\ right_parenthesis_layout_node.o\ right_square_bracket_layout_node.o\ diff --git a/poincare/include/poincare/parenthesis_layout_node.h b/poincare/include/poincare/parenthesis_layout_node.h index 8ef390bc1..59945b867 100644 --- a/poincare/include/poincare/parenthesis_layout_node.h +++ b/poincare/include/poincare/parenthesis_layout_node.h @@ -24,7 +24,7 @@ public: #endif protected: - KDColor s_parenthesisWorkingBuffer[k_parenthesisCurveHeight*k_parenthesisCurveWidth]; + static KDColor s_parenthesisWorkingBuffer[k_parenthesisCurveHeight*k_parenthesisCurveWidth]; void computeSize() override { m_frame.setSize(KDSize(parenthesisWidth(), childHeight() + k_verticalMargin)); m_sized = true; diff --git a/poincare/src/parenthesis_layout_node.cpp b/poincare/src/parenthesis_layout_node.cpp new file mode 100644 index 000000000..7d48c5886 --- /dev/null +++ b/poincare/src/parenthesis_layout_node.cpp @@ -0,0 +1,7 @@ +#include + +namespace Poincare { + +KDColor ParenthesisLayoutNode::s_parenthesisWorkingBuffer[]; + +}