Commit Graph

12 Commits

Author SHA1 Message Date
Romain Goyet
950862f8d0 Use std::min and std::max 2020-04-14 09:31:02 -04:00
Léa Saviot
b1aeda47e8 [poincare/layout] Add parameter for selection when moving cursor 2020-02-12 15:13:17 +01:00
Léa Saviot
97c9268d37 [poincare/horizontal_layout] Uniformize selection background height 2020-02-12 15:13:17 +01:00
Émilie Feral
f13dd5f9be [poincare] Only some layouts are serialized with System Parentheses
wrapping their children (absoluteValueLayout, CeilingLayout...)
2019-08-08 17:22:02 +02:00
Léa Saviot
43031928c3 Remove max/min inline from KDCoordinate header 2019-04-12 15:16:51 +02:00
Émilie Feral
24c9617a89 [poincare] Templatize TreeHandle Builders 2019-02-21 11:29:35 +01:00
Émilie Feral
7b5f3c570d [poincare] Change the way Expression are built 2019-02-21 11:29:35 +01:00
Ruben Dashyan
9c5ea70c24 [poincare] Make derived Expression s_functionHelper constexpr 2018-11-23 12:04:05 +01:00
Ruben Dashyan
61b1b8a09d [poincare] Add Expression::FunctionHelper class
That class is meant to contain data about named functions (e.g. sin,
tan...) in one place: their name, their number of children and a pointer to
a builder. The derived class corresponding to each such function
contains a private instance (m_functionHelper) and a getter.
The previous parser is removed, along with unecessary
constructors (used by the previous parsers).
2018-11-23 12:04:05 +01:00
Ruben Dashyan
23c07e02ca [poincare] New static Name() method in Expression subclasses
Replaces the name() method in ExpressionNode subclasses.
When necessary, the createLayout and serialize methods in thoses
subclasses were moved to their .cpp file.
2018-11-23 12:04:05 +01:00
Léa Saviot
a3d4e81c9f [poincare] Fix BinomialCoefficientLayoutNode rendering 2018-09-20 17:28:14 +02:00
Émilie Feral
8cffbdd7de [poincare] Change name of files: *_layout_node --> *_layout 2018-09-14 16:57:12 +02:00