Hugo Saint-Vignes
bd2609bcba
[apps/graph] Remove horizontal margins when panning on some graph calculations
...
Change-Id: I1a28555c5b4f04986b223617ab15110711a74841
2020-11-04 15:07:20 +01:00
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
Gabriel Ozouf
4007f4d452
[apps] Tweaked panning for better cache alignement
...
Method InteractiveCurveViewRange::panToMakePointVisible now moves the
range of a whole number of pixels when panning horizontally. This allows
the cache of cartesian functions not to be invalidated.
Change-Id: Idb9904fef134dd13458e1f2287b0fe5145e8aec7
2020-11-04 14:45:35 +01:00
Ruben Dashyan
afb1d18d65
[apps/shared/sum_graph_controller] Factor constexpr
2020-03-10 10:33:30 +01:00
Ruben Dashyan
f0ef84b3bc
[apps/shared/sum_graph_controller] In LegendView::setSumLayout, factor Layout building
2020-03-10 10:33:30 +01:00
Ruben Dashyan
55bb3f677a
[apps/shared/sum_graph_controller] In LegendView::setSumLayout, simplify equal sign
2020-03-10 10:33:30 +01:00
Ruben Dashyan
04794dd26f
[apps/shared/sum_graph_controller] Uniformize number of significant digits
2020-03-10 10:33:30 +01:00
Ruben Dashyan
7ee8c31c70
[apps/shared/sum_graph_controller] In LegendView::setSumLayout, factor sum symbol layout
2020-03-10 10:33:30 +01:00
Ruben Dashyan
24fa8b28a9
[apps/shared/sum_graph_controller] In LegendView::setSumLayout, factor m_sum.setAlignment
2020-03-10 10:33:30 +01:00
Ruben Dashyan
6b527d3b00
[apps/shared/sum_graph_controller] Rename setSumSymbol to setSumLayout
2020-03-10 10:33:30 +01:00
Ruben Dashyan
e1624c79aa
[apps/shared/sum_graph_controller] Class doesn't need to hold m_sumLayout
2020-03-10 10:33:30 +01:00
Romain Goyet
7f43b73049
[apps] Don't forget to call viewWillAppear
...
At the moment ViewController::viewWillAppear doesn't do anything, so
there is no real impact. But if we want to use it it needs to be called
from subclasses.
2020-02-17 10:31:24 -05:00
Léa Saviot
9f018eb9d9
[escher/view] setFrame and layoutSubviews can be forced
2020-02-12 15:13:15 +01:00
Émilie Feral
4d593a6149
[poincare] PrintFloat: take into account the distinction between char
...
and glyph length in ConvertFloatToText
2019-09-26 11:26:48 +02:00
Léa Saviot
723f53a1aa
[apps/sum_graph_controller] Do not move the cursor to NAN
2019-09-09 14:08:17 +02:00
Émilie Feral
f38c6ed3d1
[apps/shared] Move sumBetweenBounds from controller (SumGraphController)
...
to the models (Sequence or CartesianFunction) and
CartesianFunction::sumBetweenBounds takes into account the function
domain
2019-09-09 11:42:16 +02:00
Léa Saviot
55e9ed1c58
[apps] Clearer TODO comment
2019-08-29 11:19:11 +02:00
Léa Saviot
a945c02edf
[poincare/Coordinate2D] Rename members x1 and x2
2019-08-29 11:07:22 +02:00
Léa Saviot
c71ef7ff79
[apps/graph] Evaluation methods renaming
2019-08-29 11:07:22 +02:00
Léa Saviot
28a721e96e
[apps] Start fixing apps as cursor has new member variable
2019-08-29 11:07:22 +02:00
Ruben Dashyan
43d72e082f
[apps] Move sumBetweenBounds from Shared::Function to Shared::SumGraphController
2019-08-29 11:07:22 +02:00
Ruben Dashyan
2866a8f861
[apps/shared/sum_graph_controller] Clean start/endSum
2019-08-29 11:07:22 +02:00
Ruben Dashyan
b2bca3e4aa
[apps/shared/sum_graph_controller] Remove redundancy
2019-08-29 11:07:22 +02:00
Léa Saviot
0840ca7a1e
[apps/poincare] Move NormalDistribution to Poincare
2019-08-23 13:47:52 +02:00
Émilie Feral
a2059432bd
[apps/shared] SumGraphController keeps 2 text buffers for its editable
...
zone (to be able to abort editing and find back the previous text)
2019-08-13 09:44:00 +02:00
Émilie Feral
12060e2ae7
[escher] TextField: all text fields use the same draft text buffer
2019-08-13 09:44:00 +02:00
Léa Saviot
b0b10f184e
[poincare/print_float] convertFloatToText -> ConvertFloatToText
2019-08-08 17:22:06 +02:00
Ruben Dashyan
44809f4b3f
Substitute Escher app() by Container::activeApp()
2019-07-19 15:06:25 +02:00
Ruben Dashyan
ff887ec4a0
[apps/shared] Define static app() accessor in FunctionApp class
2019-07-19 15:06:25 +02:00
Ruben Dashyan
62cec10b46
[apps] Clean unnecessary AppsContainer class declarations and header inclusions
2019-07-19 15:06:25 +02:00
Ruben Dashyan
0e1c1a017d
[apps] Implement TextFieldDelegate methods in GraphControllers
2019-05-03 15:54:22 +02:00
Ruben Dashyan
5b6fca8f72
[apps] Replace k_cursorTop/BottomMarginRatio by virtual methods
...
In SimpleInteractiveCurveViewController subclasses.
2019-05-03 15:54:21 +02:00
Ruben Dashyan
ce712eac53
[apps/shared] Clean SimpleInteractiveCurveViewController constructor
2019-05-03 15:54:21 +02:00
Ruben Dashyan
82685cb371
[apps] Factorize portions checking whether text approximates to double
2019-05-03 15:54:21 +02:00
Ruben Dashyan
a400a5024b
[apps/shared] Implement SumGraphController::reloadBannerView
2019-05-03 15:54:21 +02:00
Ruben Dashyan
e47ab69e53
[apps/shared] Implement SumGraphController::handleLeftRightEvent
2019-05-03 15:54:21 +02:00
Ruben Dashyan
211ae05667
[apps/shared] Clean SumGraphController
2019-05-03 15:54:21 +02:00
Léa Saviot
1d26e6da73
[ion/unicode] Clean special code points
2019-05-03 15:53:21 +02:00
Émilie Feral
578c65d5dd
[shared] Clean class names containing storage
2019-05-03 15:53:20 +02:00
Émilie Feral
ad8fea46c3
[shared] Clean unused classes
2019-05-03 15:53:20 +02:00
Léa Saviot
40c057f0ee
[apps] Fix SumGraphController array size
2019-05-03 15:53:20 +02:00
Léa Saviot
47e9be2574
[apps] Fix SumGraphController use of CodePointString
2019-05-03 15:53:19 +02:00
Léa Saviot
bbb10f1993
[ion/kandinsky] Move unicode to ion
2019-05-03 15:53:19 +02:00
Léa Saviot
65e5adafac
Remove Ion::Charset
2019-05-03 15:53:19 +02:00
Émilie Feral
7b5f3c570d
[poincare] Change the way Expression are built
2019-02-21 11:29:35 +01:00
Émilie Feral
ac6f23684d
[poincare] Clean Expression and Layout builders
...
Before: Opposite(Opposite(Rational(1))) misleadingly created the
expression "-1"; now, Opposite::Builder(Opposite::Builder(Rational(1)))
creates "--1"
2019-02-21 11:29:35 +01:00
Émilie Feral
7e7c77a0e8
[escher] TextField and LayoutField handle move events while in editing
...
mode to avoid leaving unexpectedly edition mode
2018-11-23 12:04:03 +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
Lionel Debroux
1a8c6b6ae9
[poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
...
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Léa Saviot
5d92f13c26
Clean strlcpy arguments
2018-10-17 11:22:37 +02:00