Ruben Dashyan
0e1c1a017d
[apps] Implement TextFieldDelegate methods in GraphControllers
2019-05-03 15:54:22 +02:00
Ruben Dashyan
ba6282be45
[apps/shared] Remove InteractiveCurveViewController::didEnterResponderChain
...
In order to avoid reloading after Ion::Events::Toolbox/Var, but only in
viewWillAppear.
The previous behavior was masking a bug in
Regression::GraphController::viewWillAppear where the cursor could be
moved after reloading the bannerView.
2019-05-03 15:54:21 +02:00
Ruben Dashyan
7b5c891f44
[apps/shared] Clean InteractiveCurveViewController::handleEvent
2019-05-03 15:54:21 +02:00
Ruben Dashyan
94cf542ba3
[apps] Factorize InteractiveCurveViewController::moveCursorVertically
2019-05-03 15:54:21 +02:00
Ruben Dashyan
67f9f79322
[apps] Implement InteractiveCurveViewController::isCursorVisible
...
It was a pure virtual method implemented in derived classes
Shared::FunctionGraphController,
Regression::GraphController.
InteractiveCurveViewRange does not need anymore to hold CurveViewCursor
* m_cursor.
2019-05-03 15:54:21 +02:00
Ruben Dashyan
8629254d9a
[apps] Remove Shared::InteractiveCurveViewController::displayTop/BottomMarginRatio
...
and replace it by the existing cursorTop/BottomMarginRatio.
There was absolutely no reason to use different margin values.
2019-05-03 15:54:21 +02:00
Ruben Dashyan
d8f97d62a4
[apps] Factorize Shared::InteractiveCurveViewController methods
...
cursorBottomMarginRatio(), displayBottomMarginRatio(),
estimatedBannerHeight() and k_viewHeight moved to
Shared::InteractiveCurveViewController from derived classes.
estimatedBannerNumberOfLines() moved from
Shared::FunctionGraphController to
Shared::InteractiveCurveViewController and implemented in
Regresssion::GraphController.
2019-05-03 15:54:21 +02:00
Ruben Dashyan
e13651f6fb
[apps] Remove Shared::InteractiveCurveViewController::initRangeParameters virtual method
2019-05-03 15:54:21 +02:00
Ruben Dashyan
ce712eac53
[apps/shared] Clean SimpleInteractiveCurveViewController constructor
2019-05-03 15:54:21 +02:00
Léa Saviot
de3d200b81
[apps/graph/reg/seq] Do not switch on y auto each time graph appears
2019-01-10 11:42:02 +01:00
Léa Saviot
19e8b2ee1c
[apps] Fix InteractiveCurveViewController::addMargin
2019-01-10 11:42:02 +01:00
Léa Saviot
96c6143c6e
[apps] Fix graph vertical navigation
...
It would loop when three equal functions are defined.
2018-12-12 11:14:51 +01:00
Léa Saviot
e3935fd9c0
[apps] Factorize closestCurveIndexVertically from Regression and Graph
2018-11-23 12:04:08 +01:00
Léa Saviot
bea78aa3b1
[apps/escher] Invocation::Action returns a bool
2018-11-23 12:04:04 +01:00
Émilie Feral
698332c355
[escher] InputTextDelegate and LayoutFieldDelegate don't inherit from
...
InputTextDelegate to avoid diamond inheritance
2018-11-23 12:04:03 +01:00
Romain Goyet
f8beae3b86
[kandinsky] Move to KDFont
2018-10-11 16:44:02 +02:00
Léa Saviot
68d915fb3e
[apps/reg] Fix window sizing: cursor appears even with big bannerview
2018-07-18 10:32:46 +02:00
Émilie Feral
9cd50d8d9a
[apps] Graph/Sequence: set different cursors for Sequence and Graph
2018-01-30 18:53:28 +01:00
Émilie Feral
1c49dab2b7
[apps] Graph: Handle enter on tangent graph controller
2018-01-30 18:19:27 +01:00
Émilie Feral
323ecc72c5
[apps] Shared: break InteractiveCurveViewController into 2 classes (to
...
shared the implementation of Zoom in/out and MoveCursorHorizontally)
2018-01-30 18:19:27 +01:00
Émilie Feral
0dec52a708
[apps] Graph: enable to specialize GraphController in different types
...
(Default, Tangent ...)
2018-01-30 18:19:27 +01:00
Jacob Young
17ac54cad5
Use cmath in c++ files.
2017-10-13 18:08:15 +02:00
Émilie Feral
d6528d84a9
[apps/shared] Change zoom to ensure to keep the same cusor position
...
Change-Id: Ie24fcdda2aad7da8872915511fcd2e71d19ff8a6
2017-06-09 11:35:53 +02:00
Émilie Feral
e18cc37941
[apps/shared] In function graph controller, never center the cursor
...
vertically
Change-Id: Icfad198a4f368f298d57df774d59fc4300d59b35
2017-06-05 11:42:37 +02:00
Émilie Feral
39f422a95a
[apps/shared] In interactive curve view controller, repaire bugs due to
...
wrong initialisation of the range
Change-Id: I2222e27df19b8130ddb3926eba584f7e6d90b7ba
2017-06-05 11:17:17 +02:00
Émilie Feral
9a48b1cce3
[apps/shared] In interactive curve view controller, reinit cursor
...
position after zooming in or out
Change-Id: I4542e7cf25382fa2e4be3a92f3cbbf7e9c4fdcd4
2017-06-02 14:07:55 +02:00
Émilie Feral
bbd1bf9a7f
[apps] Change selection in tab children with button row controller
...
Change-Id: Id45fd599c76d758715afc6622abd419e04d6dd5b
2017-05-29 10:39:34 +02:00
Émilie Feral
d7091397e5
[escher] Rule of 5 in view
...
Change-Id: Iba04e9046845b544e184530562e34f831fce96f6
2017-05-24 15:32:22 +02:00
Émilie Feral
c19a70bf4c
[apps/shared] Fix bug in interactive curve view controller
...
Change-Id: I9fb97e273d53e917b0d308e5a0e96d70e5429a85
2017-05-19 13:26:59 +02:00
Émilie Feral
e702c1f61b
[apps/graph][apps/regression][app/sequence] Move model and range
...
versions to the snapshot
Change-Id: I6ec56ab59d734c0c43a5df32462173c611cc68b3
2017-05-18 14:16:41 +02:00
Émilie Feral
6b2ae04a13
[apps/sequence][apps/regression][apps/graph] Move ranges and cursor in
...
snapshot
Change-Id: I3e5a163ae4b3a6860969ef12d939513cffed7710
2017-05-18 14:16:41 +02:00
Émilie Feral
46c3d08e9c
[apps/shared] Fix bug
...
Change-Id: Iabe1f5cda948af9c38a67828fc1a64de1a726b8a
2017-05-18 14:16:41 +02:00
Émilie Feral
4e0e285501
[apps][escher] EXE and OK trigger the same behaviour
...
Change-Id: Ide7d38fbc445be717e50ed46f2d784c02c9830e4
2017-05-10 12:04:30 +02:00
Émilie Feral
b45232435e
Merge branch 'master' of ssh://git.numworks.com/CalcOS into HEAD
...
Change-Id: I8e89c92f3373ee630b929c71de492573a134a3e4
2017-05-09 14:58:02 +02:00
Émilie Feral
d411cf176b
[apps] In curve views, reselect the view when entering responder chain
...
Change-Id: I4453b7f646f29ab3ea15a572ef7bf883d739cba2
2017-05-09 14:34:00 +02:00
Émilie Feral
96733dbbdc
[apps] Rule of 5 (3)
...
Change-Id: Ia85b23a09e9debd62b4f3590463a4f16454ef4b7
2017-05-09 14:33:53 +02:00
Romain Goyet
f07f70118b
[apps] Fix jumps depending on uninitialized data
...
Change-Id: If3fc02a365fbf77ce9daecf6c60c4ba5a079d7c3
2017-05-09 11:17:01 +02:00
Émilie Feral
e95ea50d3c
[apps/shared] Fix bug in go to parameter controllers
...
Change-Id: I196378c4921583af42dc4a2e64e3a6c32038f9d1
2017-03-29 18:36:47 +02:00
Émilie Feral
6b93e9db09
[apps] Correct potential bug: reinit the cursor before reloading banner
...
Change-Id: I768ba75974b5611068f3f1b2284ddb118039734f
2017-03-29 11:35:29 +02:00
Émilie Feral
adc80cd71b
[apps][escher] I18n
...
Change-Id: I4d6f40155a8a182184af9ef2a583d0469196ffd5
2017-03-16 15:12:12 +01:00
Émilie Feral
9478fb2f26
[escher] Select tab when clicking on back: implement
...
willExitResponderChain for tab root controllers
Change-Id: Ie0399d24708e326d2284013a925792b36e6b629b
2017-03-07 14:34:12 +01:00
Émilie Feral
b36e5dc67c
[escher] Generelize header view controller to button row controller and
...
use it to add two buttons: "tracer" "afficher valeurs"
Change-Id: I8ee9afec9e381de367133e6b3f5ceb738b9790ab
2017-03-07 13:28:26 +01:00
Émilie Feral
798b93ef65
[apps] Add a ok view on all interactive view controller
...
Change-Id: I9fccf4d5ce9b34d1a7db1d0a1d7ea23d21f4b897
2017-03-03 14:32:14 +01:00
Émilie Feral
7df76d91d9
[apps/shared] Correct cursor initialisation in graph view in graph and
...
regression
Change-Id: I76bc1960f9633de825ae0efa49b9e057cd092f57
2017-03-02 18:15:48 +01:00
Émilie Feral
8311e8857c
[apps] Better compartimentalize viewWillAppear and
...
didBecomeFirstResponder
Change-Id: I9ad482907304973a4aa74f517d506667171a036f
2017-02-20 10:54:03 +01:00
Émilie Feral
7f39db8bd9
[apps/shared] Correct bug in interactive curve view controller
...
Change-Id: Ib6c9c1d7c5eeb4088701a73f4f630e546d2ff80a
2017-02-20 10:54:02 +01:00
Émilie Feral
ab29598f88
[escher] Correct bug: do not forget to set the first responder when
...
deselecting the header
Change-Id: Iec5abe7f48c0134879293bb9a72c20fff72fccb4
2017-02-20 10:54:02 +01:00
Émilie Feral
7382a09b86
[apps/shared] Correct bug: reinit the cursor position when changing app
...
(in case preferences has changed, trigo function graph will be
different)
Change-Id: I6c518ed204b7bc6b3bebde2f304e8c663033fa7d
2017-02-20 09:39:24 +01:00
Émilie Feral
aec8facd0e
[apps] Use viewWillAppear to reload view after preference change
...
Change-Id: I4fba6bd6d4dee03e86ac5087dbc20ef4d7dd032b
2017-02-20 09:39:17 +01:00
Émilie Feral
b79bcfb9dc
[poincare] Change name DisplayMode -> FloatDisplayMode
...
Change-Id: I7754b4a5ac96c3f3564749749b49130ddf357e20
2017-02-17 16:35:07 +01:00