Commit Graph

114 Commits

Author SHA1 Message Date
Émilie Feral
675a0d3f4c Add missing definition of static member variables 2020-04-15 10:34:00 -04:00
Romain Goyet
950862f8d0 Use std::min and std::max 2020-04-14 09:31:02 -04: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
4caf9f5197 [coding style] Make some methods const 2019-09-09 20:05:14 +02:00
Léa Saviot
0840ca7a1e [apps/poincare] Move NormalDistribution to Poincare 2019-08-23 13:47:52 +02:00
Léa Saviot
bbf506ddb7 [apps/proba] Refactor law -> distribution 2019-08-20 17:16:19 +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
Léa Saviot
e75701f0fa [apps] Clean convertFloatToText uses 2019-08-08 17:22:06 +02:00
Ruben Dashyan
eb6d697927 [apps] Make app accessors static members of App classes 2019-07-19 15:06:25 +02:00
Ruben Dashyan
44809f4b3f Substitute Escher app() by Container::activeApp() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
3e992a3560 [apps] Replace app() by textFieldDelegateApp() in TextFieldDelegates 2019-07-19 15:06:25 +02:00
Ruben Dashyan
055d601854 [apps] Define TextFieldDelegate::textFieldDelegateApp() directly from ::app() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
4111927bae [apps] Access *DelegateApp() through app() 2019-07-19 15:06:25 +02:00
Romain Goyet
eaa4758367 [apps/probability] Use namespaced App::app() function 2019-07-19 15:06:25 +02:00
Romain Goyet
e5f7b93efb [apps/probability] Avoid a local snapshot cast 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
82685cb371 [apps] Factorize portions checking whether text approximates to double 2019-05-03 15:54:21 +02:00
Léa Saviot
cf1fc05e9b [apps/probability] Fix UTF8 problem when copying law parameter
In probability, when displaying the exponential law for instance, the
lambda did not appear correctly.
2019-05-03 15:53:21 +02:00
Léa Saviot
193e678fb5 [apps/probability] Rename k_maxNumOfTitleChars -> k_titleBufferSize 2019-05-03 15:53:21 +02:00
Léa Saviot
4c5251f04f [unicode] Use unicode when dealing with chars - Part 2 2019-05-03 15:53:19 +02:00
Léa Saviot
bd2ea41fbe [apps/escher] Rename cursorTextLocation as cursorLocation 2019-05-03 15:53:19 +02:00
Léa Saviot
5c39cab73e [escher] Fix text inputs so they use UTF8 2019-05-03 15:53:19 +02:00
Ruben Dashyan
faae55eb51 [escher/scroll_view] Replace setShowsIndicators by setDecoratorType 2019-02-18 16:49:58 +01:00
Émilie Feral
01e67dbdc0 [apps/probability] Fix law parameters display in calculation step 2018-11-23 12:04:09 +01:00
Léa Saviot
a0e716c1ad [apps/eschr] Rename textFieldDidHandleEvent parameter textSizeDidChange 2018-11-23 12:04:06 +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
Léa Saviot
5d92f13c26 Clean strlcpy arguments 2018-10-17 11:22:37 +02:00
Romain Goyet
f8beae3b86 [kandinsky] Move to KDFont 2018-10-11 16:44:02 +02:00
Émilie Feral
48f890ef93 [poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Émilie Feral
e61a408a0a [poincare] Get rid of AngleUnit::Default 2018-07-18 17:09:07 +02:00
Émilie Feral
f6bdf56c15 [escher] TableViewDataSource: implement default cumulatedWidthFromIndex,
cumulatedWidthFromIndex, indexFromCumulatedWidth,
indexFromCumulatedHeight
2018-06-07 16:21:31 +02:00
Émilie Feral
24c9549866 [escher] Handle copy/cut event on selectable table view 2018-06-07 14:46:14 +02:00
Romain Goyet
84561a929f [escher] Clean the ScrollView, TableView and SelectableTableView constructors 2018-04-18 18:08:07 +02:00
Émilie Feral
576caa039f [apps][escher] Add methods 'handleEventWithText' in TextField and
TextArea to fix bug in probability (adding a toolbox text from the
calculations controller)
2018-03-22 13:12:12 +01:00
Émilie Feral
6de71ae145 [poincare] Clean: convertFloatToText should be in PrintFloat instead of
Complex
2018-03-21 15:57:19 +01:00
Émilie Feral
ea28475432 [apps] Probability: fix bug in the calculationcontroller due to the wrong implementation of columnWidth
The column width implementation required that a cell view was used only
to display a cell of the table which was not the case.
2018-01-30 18:09:59 +01:00
Émilie Feral
2a207e59ac [apps] Probability: fix scrolling in calculation cells 2018-01-30 18:09:59 +01:00
Émilie Feral
5d8256435e [apps] Probability: fix bug; in calculation controller, when reloading cells after editing textfield, do not reload selection (it corrupts the responder chain if the first reponder was a modal view for ex) 2018-01-30 18:09:59 +01:00
Émilie Feral
e0b9db43ab [apps] Probability: order subviews to draw the law curve at last
(avoiding visible noise)
2018-01-04 15:48:06 +01:00
Émilie Feral
fa127ced4e [apps] Probability: clean table margins (replace weird cell margins by
table margins)
2018-01-04 15:48:06 +01:00
Émilie Feral
30e6d0b3f0 [apps] Probability: enable to copy content of non-editable calculations 2018-01-04 15:48:06 +01:00
Émilie Feral
fd06d428e5 [apps] Redesign Probability Calculation page 2018-01-04 15:48:06 +01:00
Émilie Feral
8f4e9b9656 [apps] Probability: redesigning the calculation controller (for future
scrolling purpose)
2018-01-04 15:48:06 +01:00
Émilie Feral
6f7e1447ed [apps] Probability: display 7 significative numbers in calculation
results
2018-01-04 15:48:06 +01:00
Émilie Feral
07054835b4 [apps] Probability: update the size of calculation boxes with their
content
2018-01-04 15:48:06 +01:00
Émilie Feral
83b5798850 [apps] Factorize code: textFieldDidReceiveEvent implementation is
identical for all parameters controller
2017-12-20 17:41:03 +01:00
Émilie Feral
2c85fe88a5 [apps] Probability: textfields should finish editing when the cursor is
on one edge of the field
2017-12-20 17:17:51 +01:00
Émilie Feral
c545a23ec6 [kandinsky] Fix draw rect+change name: drawRect->strokeRect
Change-Id: I1c59e34b126aa54819e399d095499758b9e73125
2017-12-06 14:49:53 +01:00