Commit Graph

963 Commits

Author SHA1 Message Date
Romain Goyet
4101110f20 [escher] The image inliner produces proper RGB565 little-endian images
Change-Id: I96f6df798911657b9582cc264ee1d2c3ebada690
2016-09-27 14:03:55 +02:00
Romain Goyet
fa76920fb7 [escher] Add an image inliner that converts .png files to .cpp
Change-Id: I14bbabae7131ac02e52e9de49bd61095f40d097c
2016-09-27 14:03:55 +02:00
Émilie Feral
a537167342 [escher] Add a default parameter in text view cell contructor
Change-Id: I3c6a63a60b49676c6c9bb7b2e71cef0012dccea6
2016-09-26 14:35:33 +02:00
Émilie Feral
80c0f9b372 [escher] add a method to set text alignment in text view
Change-Id: Ifa4a08bc8ac7c93ef06c4e901febfb050ad52add
2016-09-26 14:17:32 +02:00
Émilie Feral
4d4163f13b Merge "[escher] do not display the scroll indicator when unneeded" 2016-09-26 14:17:12 +02:00
Émilie Feral
5385c69bbe Merge "[escher] update the scroll indicator at each call to layoutSubviews" 2016-09-26 14:17:10 +02:00
Émilie Feral
33401a361b [escher] do not display the scroll indicator when unneeded
Change-Id: Ife24fa2fe175b3d944749ff4a1ea8e2017f04048
2016-09-26 12:27:16 +02:00
Émilie Feral
1ab75e8298 [escher] modify the constructor of table view to choose the margins at construction
Change-Id: Iadfc9e4b3142d5c0b4ec3b75db5a598eb40ffab7
2016-09-26 12:25:24 +02:00
Émilie Feral
2e116344ea [escher] update the scroll indicator at each call to layoutSubviews
Change-Id: I3e3d5acbd983f30283ec2090fc7554c38c9cc4b7
2016-09-26 12:20:14 +02:00
Émilie Feral
362f2db368 [escher] add an active/desactive state to switch view
Change-Id: I9858b3f5fbb6acaeba00234cf52931fa409cc32f
2016-09-23 09:41:41 +02:00
Émilie Feral
0048e9fc68 [escher] Discard label view
Change-Id: I77206c1b474d6d87957a81546278c219ce1e2720
2016-09-23 09:41:41 +02:00
Émilie Feral
86983d2280 Clean warnings
Change-Id: I576621aeea71cc343a255ea2d668a0cbd3504e9e
2016-09-23 09:41:41 +02:00
Émilie Feral
0418f76ce1 [escher] modify the drawing of scrollview
Change-Id: I9398e2a539bcfb1991948f8afa1cb66c55857f30
2016-09-23 09:41:29 +02:00
Émilie Feral
f089ea8ddf [escher] merge label view and text view in text view
Change-Id: Ia2422af03ebb79ba7450a1c8d220933cdd7a4586
2016-09-22 14:54:56 +02:00
Émilie Feral
0178a7fff9 [escher] correct metric names
Change-Id: I69e8292a7abd5799c9248631a4ef9527a58c7413
2016-09-22 09:52:04 +02:00
Émilie Feral
b54c992938 [escher] implement redraw in switch view
Change-Id: I9a917f2788e918acb68b139cb55132497954ca3b
2016-09-22 09:51:43 +02:00
Émilie Feral
788f1ed5c8 [escher] reorder the instance variables of label
Change-Id: I6b5cbe3ca40f83edf17101153b62b91e4b23f096
2016-09-22 09:34:52 +02:00
Émilie Feral
47db327752 [escher] add metric constants
Change-Id: I5a46afe6e97dde3ee480507ba576373a645bc254
2016-09-21 12:08:24 +02:00
Émilie Feral
a0870a563b [escher] define a class "metric" similar to palette
Change-Id: I0c0c9898b55ad562de726c4d11ba2dfaea534a6c
2016-09-21 11:55:19 +02:00
Émilie Feral
a28731c459 [escher] define table view cell switch and switch view
Change-Id: I7bf72c7f0e938513d5baeb44a07b6906bc5adebf
2016-09-21 11:55:18 +02:00
Émilie Feral
219d6e6731 [escher] change structure of table view cell and define label view
Change-Id: Iaeb3f567c4e1be6dfea3076ee7465c21e5ad98e9
2016-09-21 11:55:01 +02:00
Émilie Feral
0741cd091a [escher] define a palette
Change-Id: Ia5fda18da5f0830071ad68e73ed627451c546438
2016-09-20 15:41:34 +02:00
Émilie Feral
88c74e5e6d [escher] display page title on stack headers
Change-Id: Ia5e5f0f2b735a89f4559af0edb13c5668eecc142
2016-09-20 15:41:34 +02:00
Émilie Feral
6594628fa8 [apss/graph/list] implement the parameter page as a table view data source
Change-Id: Id27758683f67419c3741754dc40ead6712bd1232
2016-09-20 12:08:45 +02:00
Émilie Feral
faf438e0c4 [escher] define class table view cell
Change-Id: I9291a9239a269cc4a85b87e9a94a00e8d8f72b03
2016-09-20 11:54:37 +02:00
Émilie Feral
8a27740719 [escher] in stack view controller, correct the size of the content view
Change-Id: Idc5e8f6f7a771855c924ed8d108884d71ce4f8db
2016-09-19 15:07:00 +02:00
Émilie Feral
c633fbda4d [escher] define class invocation
Change-Id: Idbcdff574aa9b79864d26a13448a5b6c896f65f4
2016-09-16 17:20:29 +02:00
Émilie Feral
46c5353116 [escher] Add a booleen in stack controller to decide whether or not display the first stack header
Change-Id: I13bdb3c70da9d1ef16f192439d6daf6a00438ad4
2016-09-16 13:33:48 +02:00
Émilie Feral
2fed1c6a16 [escher] correct how tab controllers handle events
Change-Id: I22e312193e4a382f8f6998bac80425386d76b7f8
2016-09-16 13:33:48 +02:00
Émilie Feral
8558d1f4de [escher] suppress the drawing of the first controller of a stack controller
Change-Id: I8d4efaea268a24ec731e8db5cc43abd172c7ead0
2016-09-16 11:43:00 +02:00
Émilie Feral
9f21d89bbf [escher] change the color of selected/active tab
Change-Id: Id84fa82aa8caccf224a460b432092edc1e3c9279
2016-09-16 10:31:19 +02:00
É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
c2781748fd [Escher] Remove C++ init order warnings
Change-Id: I0c14c8f9c5d702e0ace6229b48ff6e117e2b6937
2016-09-15 20:39:26 +02:00
Romain Goyet
3e62ead069 [Kandinsky] drawChar now takes two colors
Change-Id: I0d99bb5e6c22ad582d82eae643168e6c1118f434
2016-09-15 16:34:01 +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
a12fab6a00 [escher] Clean stack view controller
Change-Id: I1f7bba633a9a5ceb1bb377476f391f1fd34c575f
2016-09-15 11:06:40 +02:00
Émilie Feral
dec5ff2a89 [escher] clean double call to redraw in container
Change-Id: I85f9d37278dc4e51f8995eba64e6769f6ca71988
2016-09-15 11:06:34 +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
2eb19bc24e [Escher] Use named KDColors
Change-Id: I047e9e3ab423743c68f2ea6ee6e3bedcdbacdc02
2016-08-29 16:58:07 +02:00
Romain Goyet
b2317aa9b3 [escher] Avoid a repetitive function call
Change-Id: Iae1f2b86e06d21fbbc23bcdc9696b284bfd1a23d
2016-08-29 13:38:06 +02:00
Romain Goyet
753a4a7cb5 [Ion] Move to C++
Change-Id: Id75fca5e92a3fdf18258015bcda7cd70297b0fdb
2016-08-23 16:30:15 +02:00
Romain Goyet
ca71a52010 [Escher] The StackViewController pops when receiving ESC
Change-Id: I069ac2ea910f34513f607ec5d9a0a2483bbc20bc
2016-08-19 16:57:34 +02:00
Romain Goyet
2c8a7788b7 [Escher] Don't forget to set the parent responder
Change-Id: I993bb08fcf82560154c4c8b9ad17d05a66ec59a9
2016-08-19 16:18:10 +02:00
Romain Goyet
961a751131 [Escher] Implement a StackViewController
Change-Id: I1b4ecc996a1af2bef1b8ce6cfa71457d3345c00e
2016-08-19 15:25:06 +02:00
Romain Goyet
f93da3b0d8 [Kandinsky] Create a KDText class for text measurement
Change-Id: Ie3ecd402b5476f41a2f8694a276f62495fbcdbd1
2016-08-19 10:31:15 +02:00