Commit Graph

522 Commits

Author SHA1 Message Date
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
8e4b1666bb Kandinsky: KDFillRect takes a pattern, always
Change-Id: I32113345d742f21c0e238c1707bcee0116694d6f
2016-07-05 13:32:47 +02:00
Romain Goyet
1b4b2638f7 [liba] Use stddef.h
Change-Id: I6bd0999d173488e4aff989bdb1bfa93229de7eaa
2016-07-05 13:27:33 +02:00
Romain Goyet
0843fcd62c Kandinsky: Use a KDContext
Change-Id: I91055c7b59586b0dec08a426a9c617a12d8128dc
2016-07-05 10:36:48 +02:00
Romain Goyet
1cdb7cac9d Graph: Secondary grid
Change-Id: Ie4c38ce7b0db3c31d85300a89619883b1bf5109e
2016-06-21 14:06:01 +02:00
Romain Goyet
b848463d66 Graph: Factor the axis drawing methods
Change-Id: Ie301b2856d5d769ee82c72a81e31309fdbd3d0b9
2016-06-21 12:18:54 +02:00
Romain Goyet
eed0f4af95 Graph: Draw axis and grid
Change-Id: I06d01dfbf7f45920aa32fd5c85819c75309fbfc4
2016-06-21 11:45:58 +02:00
Romain Goyet
fa8e23c9a7 Graph: Use longer text
Change-Id: I9057acfe6e4467aac2763d4d9f3ed4649d981121
2016-06-21 11:45:28 +02:00
Romain Goyet
70f89c2566 Graph: Clean the App controller
Change-Id: Icd7af42aa497245a799417eabc4de31a8e0eba8a
2016-06-21 11:45:12 +02:00
Romain Goyet
d39e64f596 Escher: Add a comment regarding consecutive setFrame calls
Change-Id: I2a31733a25495d39cb1e03734b6d1588a9c1bca2
2016-06-21 09:45:38 +02:00
Romain Goyet
ee04687dcc Escher: Use the proper clipping rect
Change-Id: I7fa6708666a35280da54d3f4d0ef87ab636de348
2016-06-21 09:45:29 +02:00
Romain Goyet
682c3bbc20 App: Move the app in the apps/ folder
Change-Id: I9c6a3eb58c718f1c796652e94534b53a2a302f8b
2016-06-20 18:04:31 +02:00
Romain Goyet
a0d7e2243f Escher: Rect-based dirty tracking
Change-Id: I798dd04f4b36042429105e2ccdf7cd5df554bedf
2016-06-20 15:03:59 +02:00
Romain Goyet
dbebe4aa8a Kandinsky: KDRectUnion
Change-Id: Ib328275ab3a6fc6da9bc472dffe37c9948c727d5
2016-06-20 15:02:57 +02:00
Romain Goyet
389b74f049 DemoApp: Remove warnings
Change-Id: Ie38307db02318acc5570d9b01982969668bfb1ed
2016-06-20 15:02:21 +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
e10f688124 ION: Use a color framebuffer on the simulator
Change-Id: Ie7aeb91b07295774bfbdb77e1e08ac744693c193
2016-06-16 11:30:16 +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
716efd7da2 Escher: TableView redraws properly when scrolling atop
Change-Id: I68321103e3bf34039788044cc270745eb4a9eb0b
2016-06-15 15:57:01 +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
e130a24ede Escher: Proper sizing of the ScrollView's contentview height
Change-Id: I3a193b26ba1c844bf7d739998b51914406125f0a
2016-06-15 14:47:19 +02:00
Romain Goyet
b7656aba13 Escher: Bigger demo
Change-Id: I91a9e6b70dce7449a912a77238994653edee04f8
2016-06-15 14:47:19 +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
80ceb51171 Escher: Proper ScrollView offset
Change-Id: I163a5ad4290d662b8d49e034710a8418abc6de4f
2016-06-15 14:47:19 +02:00
Romain Goyet
b8a6d662b1 Kandinsky: Add a test for KDRect intersections
Change-Id: I98c8ec0d6ed4117e93ec96a05905f5e1eab14d25
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
e6c1c3c8ee Escher: Fix a comment
Change-Id: I5c3561ee233ec047ffc704ab5c7394097d4b51a6
2016-06-15 10:31: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
e38bda2769 Escher: By default, an app's window is fullscreen
Change-Id: I35207a5dccdf8697f018b3e13e9ad7abd3aa6766
2016-06-14 17:05:08 +02:00
Romain Goyet
d5606367d7 Escher: Add TableView::cellAtIndex
Change-Id: I7b78b7fa05d4c1390dd7c58ef098b3708c972119
2016-06-14 17:04:46 +02:00
Romain Goyet
e280a6e533 Kandinsky: Add KDColorGray
Change-Id: Ifc7831df4855f13dd989c896cec72562fe49e7bf
2016-06-14 17:03:49 +02:00
Romain Goyet
0e388eb00d Escher: Add a simplistic editable TextField
Change-Id: Icd66b643a52c6248ff23fd9b1d59db016e665279
2016-06-14 17:02:57 +02:00
Romain Goyet
c745304eca Escher: The demo app uses a TableView
Change-Id: Id58d8eb074981b1cf7dbb32ba78b94b78353e6b8
2016-06-14 13:52:18 +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
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