Commit Graph

146 Commits

Author SHA1 Message Date
Léa Saviot
c31fe3856a [kandinsky] Add KDCodePoint prefix static code points 2019-05-03 15:53:19 +02:00
Léa Saviot
50ac72107b Rename Codepoint Code point 2019-05-03 15:53:19 +02:00
Léa Saviot
c8da3bb9e7 [kandinsky/font] Add comment about UTF-8 2019-05-03 15:53:19 +02:00
Léa Saviot
1f80e63bea [kandinsky] Coding style 2019-05-03 15:53:19 +02:00
Romain Goyet
25456b7973 [kandinsky] Assume UTF-8 encoding for strings 2019-05-03 15:53:18 +02:00
Émilie Feral
7d71ea87b0 [kandinsky] Color: improve Orange color 2019-04-30 16:31:44 +02:00
Émilie Feral
7d8e527d51 Merge branch 'version-11' of ssh://git.numworks.com/Epsilon into f7 2019-04-12 15:22:22 +02:00
Léa Saviot
693d7e0976 [unicode] Clean typography (accents, non present glyphs...) 2019-04-12 15:16:52 +02:00
Léa Saviot
43031928c3 Remove max/min inline from KDCoordinate header 2019-04-12 15:16:51 +02:00
Léa Saviot
b6eb663f53 [ion/kandinsky] Move unicode to ion 2019-04-12 15:16:51 +02:00
Léa Saviot
5142c071df [escher] Fix text inputs so they use UTF8 2019-04-12 15:16:51 +02:00
Léa Saviot
f90e709201 [poincare/utf8_decoder] nextCodePointPointer is now stringPosition 2019-04-12 15:16:51 +02:00
Léa Saviot
f5b4a7473e [kandinsky] Fix CodePoint uint32_t cast operator 2019-04-12 15:16:51 +02:00
Léa Saviot
9d68560a32 [kandinsky] Remove obsolete values 2019-04-12 15:16:51 +02:00
Léa Saviot
8d759c0b3b [unicode] Use the UTF8Decoder to scan const char * 2019-04-12 15:16:51 +02:00
Léa Saviot
63d7155376 Remove Ion::Charset 2019-04-12 15:16:50 +02:00
Léa Saviot
956c9fe300 [poincare] CodePointLayout 2019-04-12 15:16:50 +02:00
Léa Saviot
8d584cf37b [kandinsly] Rename utf8decoder as utf8_decoder 2019-04-12 15:16:50 +02:00
Léa Saviot
cf79b26ceb [kandinsky] UTF8Decoder::CodePointToChars 2019-04-12 15:16:50 +02:00
Léa Saviot
02a5d6cd23 [kandinsky] Add KDCodePoint prefix static code points 2019-04-12 15:16:50 +02:00
Léa Saviot
d5df3b74ea Rename Codepoint Code point 2019-04-12 15:16:50 +02:00
Léa Saviot
42ecd20f12 [kandinsky/font] Add comment about UTF-8 2019-04-12 15:16:50 +02:00
Léa Saviot
f184f1ff36 [kandinsky] Coding style 2019-04-12 15:16:50 +02:00
Romain Goyet
8106ba6371 [kandinsky] Assume UTF-8 encoding for strings 2019-04-12 15:16:50 +02:00
Émilie Feral
3a57b2e7d2 [ion] Change LED color when charging: yellow --> orange 2019-04-11 10:16:21 +02:00
Léa Saviot
ed19d19070 Merge branch 'master' into python_turtle 2018-12-17 15:49:46 +01:00
Léa Saviot
e836593ff9 [kandinsky] In KDContext::getPixels: beware of rects crossing the screen
This fixes a display glitch on the device, when using Python's turtle
module and doing the command forward(200).
2018-12-07 11:30:32 +01:00
Léa Saviot
2794669eb9 [kandinsky] Fix typo that bugged glyph drawing 2018-11-23 12:04:10 +01:00
Léa Saviot
8346ca606f [kandinsky] Fix Font::signedCharAsIndex 2018-11-23 12:04:10 +01:00
Léa Saviot
eda07922ab [kandinsky/font] fetchGlyphForChar handles chars that do not have glyphs 2018-11-23 12:04:10 +01:00
Romain Goyet
a9091c933b [python/turtle] Use a Turtle class 2018-11-16 15:31:31 +01:00
Jean-Baptiste Boric
464c1a5c95 [python] Initial turtle module 2018-10-27 14:24:36 +02:00
Romain Goyet
c183f0147e [kandinsky] Get rid of KDText 2018-10-11 16:44:02 +02:00
Romain Goyet
f8beae3b86 [kandinsky] Move to KDFont 2018-10-11 16:44:02 +02:00
Léa Saviot
34d6028882 [kandinsky] Add method KDRect::differencedWith(const KDRect & other)
Change-Id: Ib6c61bbd3bffc90bc3e704a7133eae0731500864
2018-04-25 13:58:43 +02:00
Léa Saviot
fc8cd6c06e [expression_editor/poincare] Move Up in an ExpressionLayout.
Change-Id: I75fd91233729afd4eb77d8e9d53c102a632643ea
2018-01-15 11:58:01 +01:00
Émilie Feral
57866ce788 [kandinsky] Make charSize methods constexpr 2018-01-04 15:48:06 +01:00
Émilie Feral
c545a23ec6 [kandinsky] Fix draw rect+change name: drawRect->strokeRect
Change-Id: I1c59e34b126aa54819e399d095499758b9e73125
2017-12-06 14:49:53 +01:00
Émilie Feral
133653c7e0 [kandinsky] Change name to avoid confusion: blend ->
transparentBackground

Change-Id: I90327e71699e5ec4b349544e537e04327ec2bd7c
2017-08-28 11:51:17 +02:00
Émilie Feral
3184bc2276 [kandinsky] Enable to draw string with \n or \t characters
Change-Id: I66a1953dd1eb00d7f397b32a69edb56a1d83f4ac
2017-08-25 11:20:48 +02:00
Émilie Feral
6054f02373 [kandinsky] In KDRect, right and bottom Points are included in the rect
Change-Id: I36fd049a808d9ab2e6cb0de5b366a9645a403ef1
2017-08-17 16:21:22 +02:00
Émilie Feral
5c4740913b [kandinsky] Replace KDText::stringSize(" ") by KDText::charSize()
Change-Id: Ie962d7784b54ff41431d21f64d9af0887a86f9b7
2017-08-17 16:21:17 +02:00
Romain Goyet
614b623a2b [kandinsky] KDRect::topLeft and bottomRight
Change-Id: I47e726cea81ea5bfb29409c5679c47dc1aae8f13
2017-08-04 17:26:15 +02:00
Romain Goyet
cbc78460ac [kandinsky] KDContext::drawString can take a max length
Change-Id: I59cf0c1fbfb2288ab54905a4fd2558885c279814
2017-08-03 23:26:29 +02:00
Romain Goyet
0a6e223230 [kandinsky] Inline KDColor::red, green and blue
Change-Id: Ief45fa20155c5857be36e2acd7351dfdf71639cb
2017-07-21 14:00:50 +02:00
Émilie Feral
e82e9a9571 [ion][kandinsky] Change LED color in sleep mode to yellow (does no
require a timer)

Change-Id: I3ffcf5d050fd94f8b06662646577a3a391e78190
2017-04-13 12:06:37 +02:00
Émilie Feral
061a9724bd [kandinsky] Add color Orange
Change-Id: I7d471977d8308f09366de26a426381b5e81497af
2017-04-12 09:37:49 +02: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
12d2b2311e [Kandinsky] Create inline method min and max
Change-Id: Ia3b3ef4373a9ac47d1612d3cf31a8c4d0c850e5a
2016-12-08 17:10:36 +01:00