Commit Graph

20 Commits

Author SHA1 Message Date
Léa Saviot
6d7b294bca [apps/escher] Rename ToolboxMessageTree::children -> childAtIndex 2020-06-04 14:50:06 +02:00
Léa Saviot
4caf9f5197 [coding style] Make some methods const 2019-09-09 20:05:14 +02:00
Léa Saviot
b9bf5be5f6 [apps/escher] Remove wrong markRectAsDirty, use reloadCell instead 2018-11-23 12:04:04 +01:00
Émilie Feral
7035ad01ae [escher] Toolbox: title is a message instead of a const char 2018-11-23 12:04:00 +01:00
Émilie Feral
08439b5c54 [escher] Create nested_menu_controller to factorize toolbox and future
variable_box_controller
2018-11-23 12:04:00 +01:00
Émilie Feral
c24e2726fa [escher][apps] Get rid of duplicate overriden methods:
cumulatedHeightFromIndex, indexFromCumulatedHeight
2018-06-12 10:27:23 +02:00
Léa Saviot
3b582a2e46 Merge branch 'SaisieJolie30Apr' into SaisieJolie8May
Change-Id: Ia4196119fc56c5bc3423aea752b49f3f7ba39499
2018-05-08 15:17:51 +02:00
Léa Saviot
13ae1d2545 [apps/escher/toolbox] handleEventWithText for all responders.
This makes the code in the various toolbox more generic. The arguments
of the text to insert are each replaced by a Ion::Charset::Empty.
These Empty chars are used to create layouts in ExpressionLayoutFields,
and to compute the position of the cursor in other fields, before being
removed.

Change-Id: Ie81c1e394b06fef2ab801ccff919d6550f70ec30
2018-04-23 17:18:48 +02:00
Romain Goyet
84561a929f [escher] Clean the ScrollView, TableView and SelectableTableView constructors 2018-04-18 18:08:07 +02:00
Émilie Feral
2f5f94ade0 [escher] Toolbox: back event on toolbox with no page depth is handled by
the modal view controller
2018-02-14 12:04:18 +01:00
Émilie Feral
612a436bf6 [escher] Revert 'Clean useless reload' 2018-02-01 14:13:26 +01:00
Émilie Feral
f97cbd6d20 [escher] Clean useless reloadData 2018-01-30 18:09:59 +01:00
Léa Saviot
a78bd0db88 [apps/escher] Harmonize Toolbox and VariableBoxController row heights.
Change-Id: I8e6c5543d46480a1129f3812ca40c29e4407eac1
2017-12-01 12:06:05 +01:00
Léa Saviot
bc4d2768d0 [escher/code] Cleaned Toolbox rowHeight().
Now it is set in escher/toolbox.h, with value 40 and no differentiation Node/Leaf.

Change-Id: I0809d87a5df5b8bffe201c9faf72ff901430cbe5
2017-12-01 12:06:05 +01:00
Léa Saviot
13bf8c2d62 [code] Python toolbox.
Change-Id: I4028b05c662cae04a5ac3af5021f3438bb22dcd0
2017-11-17 11:59:50 +01:00
Léa Saviot
eadf4a018a [escher] New handling of stack view headers in StackViewController.
A boolean in ViewController states if the ViewController wants MaximumSpace (do
not show any stack view headers), or if it does not want to add its own title to
the stack view headers. If the ViewController's title is null, it is not added
to the stack view headers.
By default, ButtonRowControllers do not want to add their title (because they
are only used for now in TabViews, where the title is already displayed in the
tab).

Change-Id: I9e4c64b845262e4d44eb03cf769950f9c9e67a3a
2017-11-17 11:59:50 +01:00
Léa Saviot
68e237702b [escher/apps] Factorization of Toolbox.
MathToolbox methods moved to its parent, Toolbox (in escher).
Node and ToolboxNode classes renamed MessageTree and ToolboxMessageTree.
They are now in escher/, not in apps/.

Change-Id: Ibb26b0e9016094cef79506a1e9fc6dfb492d7103
2017-11-17 11:59:50 +01:00
Émilie Feral
a1f3c21d9b [escher] Correct toolbox
Change-Id: I89bbb3ff90d5a82f0a9395290232012addc74208
2017-05-03 14:22:51 +02:00
Émilie Feral
8311e8857c [apps] Better compartimentalize viewWillAppear and
didBecomeFirstResponder

Change-Id: I9ad482907304973a4aa74f517d506667171a036f
2017-02-20 10:54:03 +01:00
Émilie Feral
5b73eed76a [apps] Merge toolboxcontroller and node list controller
Change-Id: Ie273b6d7bca3a035e2420ddb6e66a4163d103748
2017-02-20 10:47:05 +01:00