Commit Graph

43 Commits

Author SHA1 Message Date
Romain Goyet
a0d7e2243f Escher: Rect-based dirty tracking
Change-Id: I798dd04f4b36042429105e2ccdf7cd5df554bedf
2016-06-20 15:03:59 +02:00
Romain Goyet
954295f47f Escher: Some more cleanup
Change-Id: Ia3c77717f082f82bbf97393614f21996ab964cdb
2016-06-20 10:54:04 +02:00
Romain Goyet
0643425df1 Escher: View cleanup
Change-Id: I9143c3d979515c742f99a7f169fbf04bf9d5e731
2016-06-20 10:42:42 +02:00
Romain Goyet
a83b02a3c2 Escher: Get rid of storeSubviewAtIndex
Change-Id: I0e428081caae3ead5b6e6dc16878e5188a3627c1
2016-06-20 10:33:35 +02:00
Romain Goyet
ed961bd721 Escher: ScrollView now displays the indicator properly
Change-Id: Iabd6d6fd2d2ff4cc133e7136a9604f6a2a06e204
2016-06-15 16:22:05 +02:00
Romain Goyet
bfaa6109b4 Kandinsky: KDDrawingArea uses an origin and a clipping rect
Change-Id: Iee99bc0ce12f1c2f675f7ccb6edab579b62eb77c
2016-06-15 15:43:40 +02:00
Romain Goyet
9897c1269f Escher: TableView::scrollToRow
Change-Id: Ie3e70aa3aac27fb5d8cab3e31986db40ff33071d
2016-06-15 14:47:19 +02:00
Romain Goyet
8108512fe9 Kandinsky: Simplistic drawing for the TabView
Change-Id: I3c3ade5da2d7f55a305811de071fb6bba5c2b37d
2016-06-15 14:47:19 +02:00
Romain Goyet
dc34ce10d2 Escher: Fix absoluteDrawingArea
It needed to compute the absoluteOrigin independently

Change-Id: I5aadf4f03da1af965285fc5ae675ddcfbcd34ed0
2016-06-15 14:47:05 +02:00
Romain Goyet
3d37fceff0 Escher: Remove useless code
Change-Id: I84929d823b38792ad399cb3fce673d52c2b815d5
2016-06-15 10:30:48 +02:00
Romain Goyet
0292409f6f Escher: Proper layout of the ScrollView
Change-Id: I95d479df4d384a9837c2b38a42087b2c6916e9b0
2016-06-15 10:00:51 +02:00
Romain Goyet
d5606367d7 Escher: Add TableView::cellAtIndex
Change-Id: I7b78b7fa05d4c1390dd7c58ef098b3708c972119
2016-06-14 17:04:46 +02:00
Romain Goyet
0e388eb00d Escher: Add a simplistic editable TextField
Change-Id: Icd66b643a52c6248ff23fd9b1d59db016e665279
2016-06-14 17:02:57 +02:00
Romain Goyet
912a8afc96 Escher: Fix the TableView
Change-Id: I6bff440314b2740e76765eb64b4d35067f8cc1b1
2016-06-14 13:52:02 +02:00
Romain Goyet
f466ff0b34 Escher: Make m_superview protected
Change-Id: I1f04f007ff338a9957eef691a6eb5031bb58655e
2016-06-14 13:51:22 +02:00
Romain Goyet
7b1febdfd4 Escher: TabViewController focuses its children
Change-Id: I2abde617b084860ab12d05d17d2519dbedb70a41
2016-06-14 13:49:10 +02:00
Romain Goyet
70c2ec9095 Escher: Implement App::runningApp
Change-Id: Ic310e6cec3fb594c18dfa9e5746fd02315a4035b
2016-06-14 13:48:23 +02:00
Romain Goyet
9941cf5c6d Escher: Include table_view.h in escher.h
Change-Id: I53772728affc897574934dd20a3d2dcc51ab15ef
2016-06-14 13:47:39 +02:00
Romain Goyet
63ed8207ce Escher: TableView reuses cells
Change-Id: Icdbfafba351057affc2bcb74f9c967971ffee667
2016-06-14 10:52:03 +02:00
Romain Goyet
08ae810b9b Escher: Build the TableView
Change-Id: Idbd79a7dfb9839ba361aa873b105f9f2e5612dcc
2016-06-14 09:40:46 +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
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
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
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
74c3f74003 Kandinsky: Introduce KDSetDrawingArea
This restricts the drawing area and sets the drawing origin

Change-Id: I7911338ade6665a8be3b180912339da2430b0672
2016-04-25 14:04:14 +02:00
Romain Goyet
0332aba48f Merge "Escher: Add a simple TextView" 2016-04-25 14:01:35 +02:00
Romain Goyet
8464a417e7 Escher: Add a simple TextView
Change-Id: I61aae49414b722ee71e02ed29d8ca26d14472dad
2016-04-25 13:59:45 +02:00
Romain Goyet
f35a93198d Escher: Improve the View logic and add some comments
Change-Id: I9d6f0b1b8652ef10ea4395dccb45785f3e1a0737
2016-04-25 13:59:13 +02:00
Romain Goyet
a21f201cc0 Escher: Adding a GUI toolkit
Change-Id: I9c78cc1afdd35968110484c3e3782c866b88c671
2016-04-12 18:47:36 +02:00