Commit Graph

1158 Commits

Author SHA1 Message Date
Émilie Feral
c0dc33cfbd [escher] Make one constructor only for views
Change-Id: I304a49995beb59071dd88fcfad8715bdb58e6685
2016-12-13 15:10:02 +01:00
Émilie Feral
32d9f9516a [apps] Change name: scale->gridUnit
Change-Id: I1616bdf2c317fa2c8d35ff243ca5ae125ef9a799
2016-12-13 15:10:02 +01:00
Émilie Feral
e42f23f56a [apps/graph/graph] Reinit the cursor position if the window was changed
Change-Id: I840d73b8b3224c614773e09fed8de1ecc7a7a1c0
2016-12-13 15:09:58 +01:00
Émilie Feral
9b2e39f2cf [apps/graph/graph] Add methods to the graph window model
Change-Id: I3361b76c87a79d0f997e51ad62c7687b2ac313e5
2016-12-12 15:31:25 +01:00
Émilie Feral
7554046ecd [apps/graph/graph] Change name: AxisInterval-> GraphWindow
Change-Id: Ia67c7a3feaeb5a0db34099f65e6335fdbf91e1ef
2016-12-09 11:26:03 +01:00
Émilie Feral
172528f49f [apps/calculation] Change names: PrettyPrintView -->
ScrollableExpressionView and make result View an scrollable expression
view

Change-Id: I9ac85671bcb4fdbeda0e5dbc6788dc7eb93b7343
2016-12-09 11:01:44 +01:00
Émilie Feral
e1f808e7da [apps/calculation] Change names: expression->input, evaluation->output
Change-Id: I9d65a9fc7d1b7132ae3aaa8a86e4511286b7e3da
2016-12-09 11:01:44 +01:00
Émilie Feral
c96fe1c708 [escher] in text field, erase the buffer before setting a new text
Change-Id: I26cc1bad1398595b8bcc44c7324de69de24e6d6b
2016-12-09 11:01:44 +01:00
Émilie Feral
69e381d736 [poincare] Redesign the text method of expression to avoid keeping a
buffer in all expressions

Change-Id: I2ca33be09a525adf429854e651beaa75e5605d7a
2016-12-09 11:01:43 +01:00
Émilie Feral
41ed0bf8da [apps/calculation] delete useless dirty marker in the calculation text
field

Change-Id: I81507ded019eb9791776854b300b7f70a6d7f596
2016-12-09 11:01:43 +01:00
Émilie Feral
397a4ad98f [poincare] Add tests on matrix operations
Change-Id: I4f0070a32abe5eb4b06dfc6dfca0bbd83e666f34
2016-12-09 11:01:43 +01:00
Émilie Feral
d45855ba72 [apps] Make the apps container a static object
Change-Id: Ie052b558607d0d469f926301c2a0008cd77025da
2016-12-09 11:01:43 +01:00
Émilie Feral
548ac8902e [ion] Init FPU before calling static object contructors
Change-Id: I4e29825183f8014b237b213452914764f9df8d62
2016-12-09 11:01:43 +01:00
Émilie Feral
a07a59efe9 [poincare] Factorise the method evaluate
Change-Id: Ief252568e8d232fc4606e8c86b5e3f9b4c076955
2016-12-09 11:01:39 +01:00
Émilie Feral
4df7f4aaa1 [poincare] Correct memory leaking issue
Change-Id: Ide22a702f7a23b140cad7cd61f4543355b2de8f6
2016-12-08 17:10:36 +01:00
Émilie Feral
357f971120 [poincare] Change name: createEvaluation -> evaluate
Change-Id: I8f241541af0435c6ab4f7ba1f561f880c4e95ac0
2016-12-08 17:10:36 +01:00
Émilie Feral
acf0b3b9d6 [poincare] Delete commutative operation class (used only for addition)
Change-Id: If53e2522f533c88306a207775c4502b7fe1cbea2
2016-12-08 17:10:36 +01:00
Émilie Feral
e58163adc6 [liba] Correct error syntax: 0.0F->0.0f
Change-Id: Id81cd3395a27e5411f0d9832fdd09806fbec7cb8
2016-12-08 17:10:36 +01:00
Émilie Feral
609e9798d2 [poincare] Change define constant in contexpr static
Change-Id: I6c0d10ab7503154ea516e3823224d150dc3db5d0
2016-12-08 17:10:36 +01:00
Émilie Feral
12d2b2311e [Kandinsky] Create inline method min and max
Change-Id: Ia3b3ef4373a9ac47d1612d3cf31a8c4d0c850e5a
2016-12-08 17:10:36 +01:00
Émilie Feral
e31f2c5188 [poincare] Create a matrix data and list data classes for a cleaner
parsing

Change-Id: I38dc9cbc49d1b16c032aeb3118d5df911d3e7d6d
2016-12-08 17:10:30 +01:00
Émilie Feral
372e5c0ef1 [apps/probability] Reinit the calculation when arriving on calculation
page

Change-Id: I9b28bcf86945ff286848a823e996630fb49feb89
2016-12-08 15:21:52 +01:00
Émilie Feral
67f9756943 [apps/probability] Enable to modify the calculation elements from the
calculation page

Change-Id: Icbcd5e4ae5e797587b78e3b539620c13ad54df03
2016-12-08 15:21:52 +01:00
Émilie Feral
649fa72615 [escher] Add a text getter in editable text cell
Change-Id: I04e18dcfeb259a9d3358a07e926b4a515869f127
2016-12-08 15:21:52 +01:00
Émilie Feral
2573562b41 [apps/probability] Display the calculation parameters on the calculation
page

Change-Id: Icc4ba1d84666e3e9117259d2d0e3f6572be405c0
2016-12-08 15:21:52 +01:00
Émilie Feral
d637711ba5 [apps/probability] Add the calculation parameter in the law model
Change-Id: Ifa82e9ae8d083149718c48cd43b7db5c38d9d8d0
2016-12-08 15:21:52 +01:00
Émilie Feral
30497c3813 [apps/probability] Update the subviews according to the type of
calculation given in law model

Change-Id: I9820cee5a6106928ebcfb30137ffd18cdad68fae
2016-12-08 15:21:52 +01:00
Émilie Feral
c08f31f799 [apps/probability] Handle selection in calculation controller
Change-Id: Ifc35c33c3fd8251daf112877074bdd8505aa1339
2016-12-08 15:21:52 +01:00
Émilie Feral
b27e3ac522 [escher] Add a drawRect method in editable text cell
Change-Id: Ia6630dd42a4834cf1f73fbb74f6faa4477df9a82
2016-12-08 15:21:52 +01:00
Émilie Feral
e20a976c8e [apps/probability] Add editable text subviews to the calculation
controller

Change-Id: I47833fbecd6eccc2b8dc8be816321846843b385f
2016-12-08 15:21:52 +01:00
Émilie Feral
3dddbe9b37 [escher] create a class editable text cell
Change-Id: Ie982fc241d257e3e5ddadf84dc491ce4a06cc1e5
2016-12-08 15:21:52 +01:00
Émilie Feral
85db237036 [apps/probability] In image table view, display the right image
corresponding to the type of calculation chosen

Change-Id: I7a1b6ef00d51088930de4df75a27530bec43f6e7
2016-12-08 15:21:52 +01:00
Émilie Feral
39bac510f5 [apps/probability] Add the type of calculation to the law model
Change-Id: I2256ea2d810ffc2919e575a01457a5e3286bb65a
2016-12-08 15:21:52 +01:00
Émilie Feral
f2c31963ea [apps/probability] Add an image table view in the calculation controller
Change-Id: I79408a274f29e0e5b5bca6b760f447aeaf406d92
2016-12-08 15:21:52 +01:00
Émilie Feral
e25d5fe794 [apps/probability] Create a class image table view
Change-Id: I96b90988226f29a5aef167c9d5fc2ffb7a9c28b9
2016-12-08 15:21:52 +01:00
Émilie Feral
067ee84242 [apps/probability] add images to select the type of probabilistic
calculation to compute

Change-Id: I0cf1a475c92df1e223e9f54649921090b42d986d
2016-12-08 15:21:52 +01:00
Émilie Feral
37da7b95a2 [escher] add a boolean in table constructor to choose whether to paint
the backgroung

Change-Id: Idee8aff20ab86011775e9a995a2d2f425b60df67
2016-12-08 15:21:52 +01:00
Émilie Feral
9f18606926 [apps/graph/graph] Reinit the cursor position when zooming
Change-Id: I7e6710db8525b7905dfc95723ebd3b06bfe0296e
2016-12-08 15:21:52 +01:00
Émilie Feral
542847ee45 [apps] In curve view, blend the labels not to hide potential grids
Change-Id: Ica741625b3207b66614dea39ad7ce8d156e1433b
2016-12-08 15:21:52 +01:00
Émilie Feral
5212c95454 [Kandinsky] Add methods in context to blend string
Change-Id: I7d889eea4667f35cd62d6e0bcabb8b8e9861a81e
2016-12-08 15:21:52 +01:00
Émilie Feral
4bef23b7e2 [apps] Make the abstract curve view hold methods to draw labels
Change-Id: Ib1451b51c6d16db27487b5c9d34cd345fcf379f0
2016-12-08 15:21:52 +01:00
Émilie Feral
58185a6237 [apps/graph/graph] Draw labels directly in graph view instead of using
subviews

Change-Id: Ic500d480e898b95995d8dbfb88bebb4b7fb9b3c5
2016-12-08 15:21:52 +01:00
Émilie Feral
1b771eddd0 [apps/probability] Display the calculation controller when clicking on
the "suivant" button

Change-Id: Id79f48ab02c8d771aac55f6be30c83d4302ea8a1
2016-12-08 15:21:52 +01:00
Émilie Feral
095f2a2891 [apps/probability] Create a class calculation controller
Change-Id: I87f5a712d213ae3f4dd5553b64e2b641bd0601ba
2016-12-08 15:21:52 +01:00
Émilie Feral
5205e71e5a [apps/probability] Create a class law curve view inheriting from curve
view

Change-Id: I3a6aacd3532c4eb9303b9970765e08f546850439
2016-12-08 15:21:52 +01:00
Émilie Feral
f7eb0b97b3 [apps/probability] Improve the law model using the evaluate context
Change-Id: I33b9c9ce0a8120ff66ea6614fa7c5ac58a59b572
2016-12-08 15:21:52 +01:00
Émilie Feral
620b64a583 [apps/probability] Create a class evaluate context for probability app
Change-Id: I38448ddeec25225edad1d96bf89d32d1eb86915d
2016-12-08 15:21:52 +01:00
Émilie Feral
eeb17625d1 [apps] Create a curve view to draw curves from any expression
Change-Id: I6e1183a560042688c596e3aa2385ab3bf0dcda2c
2016-12-08 15:21:52 +01:00
Émilie Feral
cb4eb743fb [apps] clean
Change-Id: I0f1709c1559109628ffe0f21a0b29751cfca46aa
2016-12-08 15:21:52 +01:00
Émilie Feral
4086a5e74a [apps/probability] Make parameters controller inherit from float
parameter controller

Change-Id: I02649795c656f191c1c71ae7495f9a993114bdfb
2016-12-08 15:21:52 +01:00