Hugo Saint-Vignes
e27c668c40
[apps,escher,kandinsky,poincare,python] Replace every "grey" with "gray"
...
Change-Id: I60a232849dce90f70e6977b6024d6e9b1ce1b731
2020-11-04 15:07:20 +01:00
Ruben Dashyan
032723eae1
[poincare/layout_node] Remove unused variable
2020-06-04 14:50:01 +02:00
Ruben Dashyan
aa4a33d849
[poincare/layout_node] Remove unused method
2020-03-10 10:33:30 +01:00
Léa Saviot
140c9c9660
[poincare/layout_node] Forward forSelection param in moveCursorVertically
...
1
Fixes the scenario: ------
133
12|+--- then Right then Shift Up -> the whole
820 fraction should be selected
2020-02-12 15:13:18 +01:00
Léa Saviot
67f10d0abd
[poincare/layout_node] Fix changeGreySquaresOfAllMatrixRelatives
...
There was a problem with node adresses that changed during an iterator
use.
Scenario : Matrix, Root, get right of the matrix, 50 zeroes, Divide,
Zero, Zero then shift up
2020-02-12 15:13:18 +01:00
Léa Saviot
2c1cc02a19
[escher/layout_field] Fix selection + matrices
...
When selecting inside a matrix and then selecting outside, the grey
squares should disappear.
2020-02-12 15:13:18 +01: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
Léa Saviot
785cd2f88c
[poincare/layout_cursor] Rename layoutReference -> layout
...
It was an historic name
2020-02-12 15:13:17 +01:00
Léa Saviot
65addcab21
[poincare/layout_node] Use background color in LayoutNode::draw
2020-02-12 15:13:17 +01:00
Léa Saviot
377cca7e3d
[escher/layout_field] Start handling selection
2020-02-12 15:13:17 +01:00
Léa Saviot
852c43c092
[escher/poincare] Cleaner way to find the cursored layout in LayoutField
...
Everything is now in the virtual method
LayoutNode::layoutToPointWhenInserting
This removes a dirty inclusion of apps/i18n.h in escher
2019-06-06 10:00:32 +02:00
Léa Saviot
5daed629f7
[poincare/layouts] Make default basic checks in isIdenticalTo
2019-05-03 15:54:22 +02:00
Émilie Feral
5590c23edf
[poincare] Layout: implement isIdenticalTo
2019-05-03 15:54:21 +02:00
Émilie Feral
9665f11d06
[poincare] Layout: discard methods isVerticalOffset(), isHorizontal(),
...
isRightParenthesisLayout(), isLeftBracket(), isRightBracket(),
isCodePoint(),
isLeftParenthesisLayout() and use type() instead
2019-05-03 15:54:21 +02:00
Léa Saviot
39af89d661
[poincare] Fix LayoutNode::canBeOmittedMultiplicationRightFactor
2018-11-23 12:04:09 +01:00
Léa Saviot
116ef9ee39
[poincare] Fix typo
2018-09-20 11:19:52 +02:00
Émilie Feral
365b145cf3
[poincare] Change names: LayoutReference-->Layout
2018-09-18 16:29:44 +02:00
Émilie Feral
8cffbdd7de
[poincare] Change name of files: *_layout_node --> *_layout
2018-09-14 16:57:12 +02:00
Émilie Feral
616e4c0bcc
[poincare] Change name: LayoutRef --> LayoutReference
2018-09-14 16:57:12 +02:00
Léa Saviot
54f8c5d0d0
[poincare] Clean inlining of Expression ad LayoutNode
2018-09-06 14:14:44 +02:00
Léa Saviot
970554f9b8
[poincare] Allow construction of a TreeRef from nullptr node
2018-09-06 10:10:54 +02:00
Léa Saviot
c65ab9ef67
[poincare] Fix use of isUninitialized
2018-09-06 09:59:59 +02:00
Léa Saviot
ea948117a4
[poincare] Remove ExceptionNodes and UninitializedNodes
2018-09-05 17:54:08 +02:00
Léa Saviot
e3a09286ac
[poincare] Remove AllocationFailures
2018-09-05 16:19:11 +02:00
Léa Saviot
34583ecf4e
[poincare] Remove nullptr layout tests, check instead if isUninitialized
2018-08-28 16:22:04 +02:00
Léa Saviot
942e1a8f25
[poincare] TreeNode::parent() should never return nullptr
2018-08-14 17:53:32 +02:00
Léa Saviot
71c807b565
[poincare] Node->isDefined becomes !Node->isUninitialized
2018-08-14 16:40:12 +02:00
Léa Saviot
5d9e69dedc
[poincare] Remove Tree constructors that use nullptr as parameter
2018-08-14 14:58:47 +02:00
Léa Saviot
a6f61f91a9
’poincare] Clean some layouts
2018-08-10 17:21:53 +02:00
Léa Saviot
ddcad1d05e
[poincare] Virtualize LayoutNode::hasText
2018-08-10 13:43:49 +02:00
Léa Saviot
315a5d8e3b
[poincare] Fix LayoutReference
2018-08-10 13:27:26 +02:00
Léa Saviot
6c5e6349e4
[poincare] Fix LayoutNode and LayoutCursor
2018-08-10 13:23:15 +02:00
Émilie Feral
5fd415eb9e
[poincare] Register Static Allocation Failure if required
2018-08-09 17:16:22 +02:00
Émilie Feral
e769af8979
[poincare] One only ghost node for all tree types
2018-08-07 11:53:57 +02:00
Léa Saviot
caa12ec49e
[poincare] Ghost nodes
2018-08-03 11:20:30 +02:00
Léa Saviot
b07d20f8ee
[poincare] Clean computeSize and computeBaseline
2018-08-02 15:35:14 +02:00
Léa Saviot
075c2c766b
[poincare] Code cleaning
2018-08-02 15:08:49 +02:00
Léa Saviot
7d0496dba0
[poincare] Fix MatrixLayoutnavigation bug
2018-08-02 11:43:26 +02:00
Léa Saviot
8e50f45298
[poincare] Remove unneeded code
2018-08-02 10:36:40 +02:00
Léa Saviot
9a8ea25dab
[poincare] LayoutNode::changeGreySquaresOfAllMatrixAncestors uses Refs
2018-07-31 18:02:54 +02:00
Léa Saviot
5410755cee
[poincare] Enable LayoutNode::changeGreySquaresOfAllMatrixAncestors
2018-07-31 17:53:02 +02:00
Léa Saviot
64901f6ef6
[poincare] Fix use of node after pool meddling
2018-07-31 17:52:27 +02:00
Léa Saviot
1137a16750
[poincare] ConjugateLayoutNode
2018-07-19 10:36:59 +02:00
Émilie Feral
e273c6e863
[poincare] Move FailedAllocationStaticNode implementation from Reference
...
to Node and factorize part of code
2018-07-18 14:07:58 +02:00
Léa Saviot
74e8091594
[poincare] Fix layout insertion in empty horizontal layouts
2018-07-18 11:18:46 +02:00
Léa Saviot
a08b00aa5f
[poincare] Sequence and Sum layouts
2018-07-13 14:30:20 +02:00
Léa Saviot
5ad469c654
[poincare] Better handling of cursor when adding square power
2018-07-13 10:26:39 +02:00
Léa Saviot
285537075d
[poincare] By default, Layout::removeChild replaces it with EmptyLayout
2018-07-12 18:02:06 +02:00
Léa Saviot
8318a5cd3a
[poincare] Fix LayoutNode::origin typo
2018-07-12 17:10:33 +02:00