Commit Graph

479 Commits

Author SHA1 Message Date
Romain Goyet
63ed8207ce Escher: TableView reuses cells
Change-Id: Icdbfafba351057affc2bcb74f9c967971ffee667
2016-06-14 10:52:03 +02:00
Romain Goyet
2586b8d2b4 Escher: ScrollView sets the content view origin on offset change
Change-Id: I4dd5c1bb0ea14848f8a93777b5c2353d8f6ff1c1
2016-06-14 09:41:30 +02:00
Romain Goyet
08ae810b9b Escher: Build the TableView
Change-Id: Idbd79a7dfb9839ba361aa873b105f9f2e5612dcc
2016-06-14 09:40:46 +02:00
Romain Goyet
e3e9b2ca6b Kandinsky: Remove an useless line
Change-Id: Ic82481248964e637a56c297061249323821d206a
2016-06-13 17:54:41 +02:00
Romain Goyet
e2a6cdff15 Kandinsky: Get rid of KDCoordinateMax
Which is annoying to handle, because once you define it you have to
bother with additions overflowing...

Change-Id: I50b19858342c5a2909e3078f1a4167be50210db1
2016-06-13 17:51:17 +02:00
Romain Goyet
4c048a6832 Escher: Make View::m_frame protected
Change-Id: I2fee7896d2d83a946cfef36c7b23f5a5635dce3d
2016-06-13 17:44:31 +02:00
Romain Goyet
2bf599b786 Kandinsky: Introduce KDColorRGB
Change-Id: Ic64f2ff9a441580940d37151e190fd0a3d954d8a
2016-06-13 14:04:16 +02:00
Romain Goyet
6ae2412568 liba: Proper definition for 16 bits integers
Change-Id: I23bfd6e52eb09470b45e51a80b5b3320ee4f616f
2016-06-13 13:13:19 +02:00
Romain Goyet
96d1973276 Ion: Don't forget parethesis in macro definitions
Change-Id: Ibec0acaffc7d16ea84dbebe6d2cdb9c0731937e3
2016-06-13 12:59:50 +02:00
Romain Goyet
80296e6448 Escher: use ion_fill_rect
Change-Id: Ibedac8cb7da905d5cfada6dbbce46cac4bab2eae
2016-06-10 18:30:19 +02:00
Romain Goyet
b3b6e6804f Kandinsky: Define drawing_area.h
Change-Id: I4fa0c1c0b900c7ba85e3ad2deeeedb5fc1ceb11a
2016-06-10 18:13:15 +02:00
Romain Goyet
dbbec94790 App: Use the Escher demo
Change-Id: I2fb317e9e1b5ee81cc9204b8a6aadf7e168d7b59
2016-06-10 17:45:01 +02:00
Romain Goyet
16916000bc Escher: WIP on the TableView
Change-Id: I9cbb527a56f0b10bed2ac12b6d954bacf8e587bc
2016-06-10 17:44:34 +02:00
Romain Goyet
59c751d2eb Escher: Misc fixes
Change-Id: Ibc15ef1edc3e29ab794d494001884d4162a751ab
2016-06-10 17:38:02 +02:00
Romain Goyet
3840e3f21f Escher: Add an indicator to the ScrollView
Change-Id: I8d5d96aa965e2a732b119c94af6aeef28b08c452
2016-06-10 17:37:09 +02:00
Romain Goyet
ac4660bf3b ION: SCREEN_WIDTH becomes ION_SCREEN_WIDTH
Change-Id: Ifc7d06b773f8660cff30e727f510eea448b23852
2016-06-10 17:32:31 +02:00
Romain Goyet
7a389ca11b ION: Clean the st7789 driver
Change-Id: I706768fc49cb48ea3d965807efc0c6c825d96683
2016-06-10 17:16:19 +02:00
Romain Goyet
c07ef9a3f6 Ion: Increase the number of keys to match NW8901
Change-Id: Iaad8bf8167cc53cbe9869997dbdecba91a1196cc
2016-06-10 15:46:14 +02:00
Romain Goyet
4ac040ac0f Ion: Updated keyboard driver to match NW8901
Change-Id: I8ba2db36afb4d437b5452ec06fbde3b8bc781397
2016-06-10 15:15:07 +02:00
Romain Goyet
3fc55b5fd4 Ion: Cleaner macros
Change-Id: I81cc67b04b9e0d8053f098a9c363b7f56a72481f
2016-06-10 14:59:51 +02:00
Romain Goyet
d1ea456709 Ion: Remove dead code
Change-Id: Ie6d026c11ba2bf97686a1eac00e738d2366a4857
2016-06-09 16:52:34 +02:00
Romain Goyet
4db9e030f7 Ion: Remove LCD DMA
Change-Id: I59b47e43b2c1a6cfad6dcd7e6cdb25f66dd8f830
2016-06-09 16:37:48 +02:00
Romain Goyet
cfb44503b9 Ion: Use the new device's SPI config
Change-Id: I2151d42f803b3be8fde8d856382e58cd581dcb7c
2016-06-09 16:37:48 +02:00
Romain Goyet
2477305c17 Ion: Add an ST7789 driver
Change-Id: I62490dd2c944ecc93dc8c593aa3686ce1b7ac0f3
2016-06-09 16:37:48 +02:00
Romain Goyet
93ca2f6475 Escher: Use dirty-tracking for View::redraw
Change-Id: I95da4eee9218784744ac4abc53328d3f537bede6
2016-06-09 16:37:25 +02:00
Romain Goyet
4a1497e659 Escher: Replace View::isOnScreen by View::window
Change-Id: Ic3cb9630653dfbd54e2382a654d6531ba5485287
2016-06-01 11:32:25 +02:00
Romain Goyet
8d8824cb69 Escher: Add a ScrollViewIndicator
Change-Id: Ie619c16c9f784c3456a33de3ce21e25fae952ffc
2016-06-01 09:54:46 +02:00
Romain Goyet
fb529fc98f Escher: Add override specifiers
Change-Id: Ib21d34080d0f031a304363e97be95f6a211449d2
2016-05-31 15:45:40 +02:00
Romain Goyet
2f2eef55b5 Escher: Remove warnings for KDRect initialization
Change-Id: If3de349f0a82a96ee9bd10d544ebd2f5811893a4
2016-05-31 15:45:40 +02:00
Romain Goyet
4540fa8faa Kandinsky: Use KDCoordinateMax
Change-Id: I2b00caec2919496c0b69313f2b4a24b8c69688da
2016-05-31 15:45:34 +02:00
Romain Goyet
34122071c9 Escher: ViewController::title is const
Change-Id: I8d5389d5b54d02a6a8253cdfb433757c0f9ee102
2016-05-31 11:49:07 +02:00
Romain Goyet
eb3273d785 Escher: Use a scrollview
Change-Id: I24c754a7ea860b79d1d660adfbf143ed0e42c8a5
2016-05-31 11:12:02 +02:00
Romain Goyet
4ed72f60df Escher: Add the App and Responder classes
Change-Id: Ia11d13132b3bd5aa085787556b8e198089bcb0fa
2016-05-30 14:05:23 +02:00
Romain Goyet
97be08027f Escher: Add more attributes when logging views
Change-Id: Ic8632e7fbfcaba143f7ff0ea4965f6a34948f041
2016-05-27 12:17:51 +02:00
Romain Goyet
8f30223aab Escher: Add ESCHER_VIEW_LOGGING
Change-Id: Id0b588069839f9b1d2330eae55a7fd345740cf1b
2016-05-27 12:08:00 +02:00
Romain Goyet
5f2f39d0d9 Escher: const-correctness for View
Change-Id: I78efaeff9911413716e669b92affa7ae4f388776
2016-05-26 18:34:18 +02:00
Romain Goyet
095901a7ca Escher: TabViewController is working!
Change-Id: I4aa730abbf1d7034d2fcbc40416dcb84076a347b
2016-05-26 12:44:41 +02:00
Romain Goyet
b79b7b5133 Escher: Adding Window, ViewController and TabViewController
Change-Id: I6a13fe95e846cfcc43f783e8b4d88ea4ad9ee585
2016-05-26 12:42:23 +02:00
Romain Goyet
da93ac6dfb View don't explicitely store their subviews
Change-Id: I54c1d60982d51d6fb35517fabde4d7b6056f4ea3
2016-05-26 12:30:50 +02:00
Romain Goyet
0b6382620d Merge "Poincare: Remove a warning" 2016-04-25 18:12:39 +02:00
Romain Goyet
9247ad43ef Merge "Kandinsky: Fix the default drawing area" 2016-04-25 18:12:34 +02:00
Romain Goyet
61010b74ed Merge "libaxx: remove a warning" 2016-04-25 18:12:24 +02:00
Félix Raimundo
99ed9458dc Merge "Add guardians to expression_debug." 2016-04-25 17:48:35 +02:00
Félix Raimundo
3b85ec28d0 Merge "Fix comments in rules." 2016-04-25 17:48:30 +02:00
Romain Goyet
4f3a062bb8 libaxx: remove a warning
Change-Id: I0d59ee19258e63d92adc870bb068f733adf39376
2016-04-25 16:53:34 +02:00
Romain Goyet
0bdaed49c1 Poincare: Remove a warning
Change-Id: I222c2209530b61e56eac2868fcfb0fbf036ec782
2016-04-25 15:02:24 +02:00
Felix Raimundo
10f69db5bb Add guardians to expression_debug.
Change-Id: Ib26af781c2bd18b394bf5ebc46085a03523140ef
2016-04-25 14:09:21 +02:00
Felix Raimundo
ff275170cb Fix comments in rules.
Change-Id: I86c9699a52ee287b8f488dcc4531f624fd8771e0
2016-04-25 14:09:09 +02:00
Romain Goyet
3c3c890179 Kandinsky: Fix the default drawing area
Change-Id: I194d8cc3055810b6dd8fd59d7ccd402eb1a97cab
2016-04-25 14:05:51 +02:00
Romain Goyet
979a728417 Merge "Kandinsky: Introduce KDSetDrawingArea" 2016-04-25 14:05:09 +02:00