Commit Graph

41 Commits

Author SHA1 Message Date
Émilie Feral
21019d24e2 [escher] In text field, change background color when editing
Change-Id: I054ce60bb8c7e96076a8f8cafe773d6506d2766a
2017-03-29 18:36:45 +02:00
Émilie Feral
0a3692cfac [apps/shared] Do not reset the textfield is the data has not been
updated (syntax, math error)

Change-Id: I53301c2bdf59e03d0c2bcdb56b0da4d86d83bb5e
2017-03-29 18:36:39 +02:00
Émilie Feral
6d8d105d7e [escher][apps] Clean and fix bug in text field
function application)

Change-Id: I5d425ea7752a054ea6b05735b12442c4429f13b4
2017-03-29 15:04:37 +02:00
Émilie Feral
85b27c372d [apps/calculation] Fix error: scroll when copying a history line
Change-Id: I6120c22afd63abe6ac5bf4e264ad7fcc712fe291
2017-03-29 15:04:37 +02:00
Émilie Feral
de893300ad [apps/calculation] Do no reinit the edited text when reselecting the
edit expression controller

Change-Id: I9426e6ec4b4a12801f854b832b479ba5802b9aed
2017-03-29 11:34:47 +02:00
Émilie Feral
9097065ffe [escher] Fix bug due to type confusing
Change-Id: I4a3072a69858b7fdee5215d80e4ce238612a5cd7
2017-03-29 11:34:46 +02:00
Émilie Feral
eb4a217e0d [escher] Correct bug in text fields
Change-Id: I3e7682c6d0e3f41d5ee3392b55f8a73bcf910a18
2017-03-20 14:55:59 +01:00
Émilie Feral
d862001bc3 [escher] In textfields, in editing mode, OK == EXE
Change-Id: I83c9fd8f6c5ea5348067108899a065a3b1d69d5c
2017-03-08 15:47:16 +01:00
Émilie Feral
8f1d37c28c [escher] Add a cursor to text fields
Change-Id: Ib4a80a3c6d4b5d76cb56645275e8ecc6d69528ca
2017-03-08 15:42:14 +01:00
Émilie Feral
4a73a7ab0f [escher] Correct text field
Change-Id: I3f7c7b26a2ff51366cfc241bc50f90fa5c050a72
2017-03-07 13:28:26 +01:00
Émilie Feral
11ed29840b [escher] Make textField scrollable in editing mode
Change-Id: I0ecc72060f4679ba027c3a53b839bb53eec30049
2017-03-07 13:28:26 +01:00
Émilie Feral
c584d1fb4e [escher] Add toolbox event handling in responder [apps] Correct the text
field delegate app accordingly

Change-Id: I180fe53aaa1e0929b357d3985f584937fba2ecca
2017-02-20 10:48:50 +01:00
Émilie Feral
0d41808d90 [escher] Fix bug in textfield
Change-Id: I86df7fb5c95c0a030018b332ee5dfa63c66b4127
2017-02-16 16:34:13 +01:00
Émilie Feral
93d272486f Clean warnings
Change-Id: I79a3a97c5c118c9d6e1436e51b45cb51fee3c21f
2017-01-30 15:30:58 +01:00
Émilie Feral
9d0354f3bd [kandinsky] Add a default font size : large
Change-Id: I6b9f1a7b09292f120074c8957e328ddc33023c67
2017-01-27 12:03:06 +01:00
Émilie Feral
f51ae5db12 [kandinsky] Introduce two fonts: small font and large font
Change-Id: I502dfa88d627b09ac5af76155140af63547025cd
2017-01-27 11:14:01 +01:00
Émilie Feral
5b5dea0243 [escher] In textfield, fix bug: reinit the currenttextlength when
initiating the draft text buffer

Change-Id: Id13e6912243c82ea9a0f06823a4a00861db481ed
2017-01-15 20:08:01 +01:00
Émilie Feral
75948af80f [escher] in text field, reinit the draft text buffer when changing the editing state
Change-Id: I595a9abac3ee593556ec37df9c7065a06f3c856c
2016-12-15 13:51:41 +01:00
Émilie Feral
8c284ba34f [escher][apps] CHange textField API
Change-Id: I766d153b7f7429473f297707a08358051123accc
2016-12-15 13:51:40 +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
e48660050a [escher] in text field, add a method to choose the text field delegate after
construction

Change-Id: I7c71f102c61b892fd8caed694728384935b8513a
2016-12-08 15:21:52 +01:00
Émilie Feral
4ed7e06373 [apps][escher] Fix insering several letters when clicking on SIN
e. g.

Change-Id: If71400b22f65878a94090fed7f3c68433a10506c
2016-11-18 10:00:37 +01:00
Émilie Feral
9181f8e8fa [escher] Improve textfield API (method names)
Change-Id: Ie8cacaa77840780647ce57c2969446b19cba65cc
2016-11-17 11:27:26 +01:00
Émilie Feral
9e9302b602 [escher] Correct int comparison issue in text field
Change-Id: Ie70f6e9f0986909e28206747e1d7445f54b30397
2016-11-14 17:06:50 +01:00
Romain Goyet
b87f06e3a2 [ion] Update the Event model
Change-Id: I41a53caeb7dd8a15e7934f49675f6a53be8fe7be
2016-11-10 17:29:48 +01:00
Émilie Feral
2575e3226a [escher] add methods to add text to buffer in textfield
Change-Id: I51388c7495ed8919d1f2ba48d645aee9476c5ed6
2016-11-10 09:53:09 +01:00
Émilie Feral
46638f8ffc [escher] move cursor position in textfield
Change-Id: I10df7f7559c05be1d93fd72088baa5164f69911e
2016-11-08 13:59:13 +01:00
Émilie Feral
470f36d2bd [apps/calculation] create a class text field specific to calculation
Change-Id: I261ef72ea62ca8118dda5c2e90e721e987f3283d
2016-11-04 16:53:02 +01:00
Émilie Feral
2f42476604 [escher] add a minimal size to textfield
Change-Id: I6d1c4d0e687bc66aeadd4913ea4b3a94d7c26b75
2016-11-04 16:18:05 +01:00
Émilie Feral
cc297374ba [escher] handle syntax error by making some apps text field delegate
Change-Id: I790148c321a5a2944b96cc283491a29260b2ed38
2016-11-04 16:17:30 +01:00
Émilie Feral
a82ab9f77d [escher] Correct a bug: mark text field as dirty when reinit
Change-Id: Ic5e3f6bde64d7cbd90c38458c15edb900951eacf
2016-10-24 15:24:02 +02:00
Émilie Feral
a1b5d3d363 [escher] Delete childless view and implement it as default view
Change-Id: I545c8270fc8235ee578b2237361df50c919d0b61
2016-10-18 09:41:43 +02:00
Émilie Feral
5a410095fe [escher] optimize the redraw of text fields
Change-Id: Ia777cd9a4668e7bf582c3f76cd4cca30e5e900a5
2016-10-04 15:48:09 +02:00
Émilie Feral
3e239663f2 [escher] add methods to textField
Change-Id: Ia3e96787b494a24e32f6e46d265fd55fc2214041
2016-10-04 15:42:16 +02:00
Romain Goyet
c2781748fd [Escher] Remove C++ init order warnings
Change-Id: I0c14c8f9c5d702e0ace6229b48ff6e117e2b6937
2016-09-15 20:39:26 +02:00
Romain Goyet
3e62ead069 [Kandinsky] drawChar now takes two colors
Change-Id: I0d99bb5e6c22ad582d82eae643168e6c1118f434
2016-09-15 16:34:01 +02:00
Romain Goyet
753a4a7cb5 [Ion] Move to C++
Change-Id: Id75fca5e92a3fdf18258015bcda7cd70297b0fdb
2016-08-23 16:30:15 +02:00
Romain Goyet
53cf3e2ead [Escher] Responder can get a pointer to the parent App
We assume the root parent is the App. This works well because each view
controller is a Responder.

Change-Id: I5d90053949a4ffbdb78746cc85430a15138e48e7
2016-08-12 10:12:22 +02:00
Romain Goyet
5de28e01db Migrate Kandinsky to C++
Change-Id: I2752a8db84ad0bb817119cf6c2993c1622621150
2016-07-21 13:42:32 +02:00
Romain Goyet
a0d7e2243f Escher: Rect-based dirty tracking
Change-Id: I798dd04f4b36042429105e2ccdf7cd5df554bedf
2016-06-20 15:03:59 +02:00
Romain Goyet
0e388eb00d Escher: Add a simplistic editable TextField
Change-Id: Icd66b643a52c6248ff23fd9b1d59db016e665279
2016-06-14 17:02:57 +02:00