Commit Graph

58 Commits

Author SHA1 Message Date
Émilie Feral
e3a90f6202 [escher] handle active and selected tab in tab controller
Change-Id: I00dbf638b19d17827e3f18c1085fbb40aa5e8d73
2016-09-16 10:07:37 +02:00
Romain Goyet
8f9d9d0b0b [escher] focus -> firstResponder
Change-Id: I2e84afe6f14abfc65e45814300e8db9703840337
2016-09-15 16:21:29 +02:00
Romain Goyet
e90aafe505 [escher] Get rid of ViewController::getKeyEvent
Change-Id: Ic7c5805afd984fbe595304ee379ce9372aeed4ab
2016-09-15 15:54:27 +02:00
Émilie Feral
7855e7c5e9 [Escher] for tab view, set the firt tab active at first draw
Change-Id: I1eb3d40b972f297569f5f1e0722cbe34e84e5883
2016-09-15 11:06:27 +02:00
Émilie Feral
496a10aebd [Graph/List] Add a stack controller to handle the parameter page
Change-Id: I7d3f916b2f2ae981bc8cd16b70e6e841e687f2e7
2016-09-15 11:04:17 +02:00
Émilie Feral
4b88baebec [Escher] Add a magic number to app as poor man's RTTI
Change-Id: If7e907f1187b6b6bda33f89aee4a5dfbd922ed6d
2016-09-15 10:58:16 +02:00
Émilie Feral
c1c59ae72f [Escher] Clean up
Change-Id: Ie7a05ddf5e401dd9ece1108b9300aa3e3c107d0f
2016-09-13 17:05:48 +02:00
Émilie Feral
f87dbaaa4e [Escher] handle redrawing of overlapping sister views
Change-Id: I974c77f644834807bb206666748d2392c22fc516
2016-09-13 16:46:36 +02:00
Romain Goyet
753a4a7cb5 [Ion] Move to C++
Change-Id: Id75fca5e92a3fdf18258015bcda7cd70297b0fdb
2016-08-23 16:30:15 +02:00
Romain Goyet
961a751131 [Escher] Implement a StackViewController
Change-Id: I1b4ecc996a1af2bef1b8ce6cfa71457d3345c00e
2016-08-19 15:25:06 +02:00
Romain Goyet
7789123913 [Escher] Add a Container that lets us run multiple apps
Change-Id: I674348ed0ff48934eb248dc48735f4ba13c34692
2016-08-12 15:15:28 +02:00
Romain Goyet
ff3cca0867 [Escher] Remove App::runningApp
Change-Id: I4953bae09391079b77c93ee482c6e9cd8202c2d4
2016-08-12 10:22:00 +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
30aa62e3c5 Escher: Introduce the TiledView
Change-Id: I97d612cf89bd9cf45f8b440881918b9626cd65f6
2016-07-21 11:32:33 +02:00
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