Commit Graph

106 Commits

Author SHA1 Message Date
Émilie Feral
d38ba7e3d3 [escher] Modify header view controller to contain 3 buttons instead of 3 text views
Change-Id: I43b60e9a3fc61255015029c61c8d1b19de924a52
2016-10-12 17:39:54 +02:00
Émilie Feral
6b16752574 [escher] Create a class button
Change-Id: I6236925a4d8720d4e6e1c39483cf904d39d2031b
2016-10-12 17:39:54 +02:00
Émilie Feral
890f144a4a [escher] create a class header view controller
Change-Id: I8cd2311ca3a878e545be3e260cabb8c227fef7f4
2016-10-12 17:39:53 +02:00
Émilie Feral
9ad6cddcec [escher] add a method in text view to get the size of the printed text
Change-Id: I53eb2b403d455788e1a9a53f73e205ed322ac468
2016-10-12 17:39:53 +02:00
Émilie Feral
d7b5303313 [escher] Correct bug in input view controller: enable to handle ESC/ENTER only when the text view is visible
Change-Id: Iedbbd1f2df46771b95fd585b2c6cd4bef8c7211d
2016-10-12 17:39:53 +02:00
Émilie Feral
440bf4d187 [escher] improve the drawing of tabs
Change-Id: I52d4f36087258f0c7fc9f7450ca77a0d2ae77aad
2016-10-12 17:39:52 +02:00
Émilie Feral
68db109faf [escher] add a third tab in tab view controller
Change-Id: Ia0c3f252a3779e9506c25bd894aac43f486cba8b
2016-10-12 17:38:53 +02:00
Romain Goyet
091de58335 [escher] Avoid repositionning the ScrollView's content
Change-Id: Ia23cb4414efc7adef91e4f4b2befe1a2cf3e12fa
2016-10-04 17:07:48 +02:00
Romain Goyet
77abebfcc6 [escher] Add View::setSize
Change-Id: I8eb9a4423752d1a2065efac15cdcaafb72a50932
2016-10-04 17:05:12 +02:00
Émilie Feral
4064dcd5d3 [escher] create a class input view controller
Change-Id: Ibd85039b9d24bceef012414ff18d0bd92e710331
2016-10-04 15:54:10 +02:00
Émilie Feral
3e239663f2 [escher] add methods to textField
Change-Id: Ia3e96787b494a24e32f6e46d265fd55fc2214041
2016-10-04 15:42:16 +02:00
Romain Goyet
dbab72fced [Escher] Image setter for the ImageView
Change-Id: I18c5083c130ba5602cb8279ecb6c1a51692bacbe
2016-10-03 12:02:16 +02:00
Romain Goyet
9e33577779 [Escher] Add getters for App::name() and App::icon()
Change-Id: Ib77c95d8593e342e48c8e5615e019034df432821
2016-10-03 11:59:54 +02:00
Romain Goyet
69ac080319 [Escher] Container::switchTo is now public
Change-Id: I2e786a4bcb6308f198a01d038b4b4b0cee49a7bf
2016-10-03 11:20:31 +02:00
Romain Goyet
90eb34725c [escher] An App now can store an icon and a name
Change-Id: I4911fb5f077ab7ccae3f6ce4021a903ae8e63f6b
2016-10-03 11:19:42 +02:00
Émilie Feral
c3bf55d622 [escher] make simple table view data source inherit from table view
Change-Id: Ia3c64b643f633e4c7c6fd0f921fe6a79336a7b64
2016-09-29 17:47:32 +02:00
Émilie Feral
dad80001af [escher] break table view and table view data source in two files
Change-Id: I98407e8900727d1ce8fea78c721f56192a24e1f8
2016-09-29 17:47:26 +02:00
Émilie Feral
7130496707 [escher] add a table view handling cells of different types and sizes
Change-Id: I678aa4273ccea33fd293205407c51c162515786e
2016-09-29 17:46:10 +02:00
Émilie Feral
d7231faf5c [escher] add getter for margins in scrollview
Change-Id: If12d7e6aec1f801c3b667ea9b0d44b85acd7ae42
2016-09-29 15:57:18 +02:00
Émilie Feral
ca27adc25f [escher] rename the table view class in "simple table view"
Change-Id: Ie94f445ae2f830254373d7e7d0917884d88a66fb
2016-09-29 15:56:56 +02:00
Émilie Feral
7283a0c13a [escher] implement list view to inherit from table view
Change-Id: I4bee7292fa7d21ad4d24a86a287857309933d78f
2016-09-28 15:09:14 +02:00
Émilie Feral
0c51c8aee1 [escher] in table view, handle cellWidth = 0
Change-Id: Ib9efaa78e52e74a2b3e2904d776dc509c12a085b
2016-09-28 15:07:03 +02:00
Émilie Feral
97541b170c [escher] create a class table view
Change-Id: Ieb339468cdd4cdb5b36c023ed64dcf10c0434b97
2016-09-28 14:12:14 +02:00
Émilie Feral
cc03f8116b [escher] make the offset variable of scroll view "protected"
Change-Id: Ic5102eb4645741ef0836f74cecdb1bf7479319d7
2016-09-28 14:12:14 +02:00
Émilie Feral
f7779e2257 [escher] change table view name into list view
Change-Id: I56884819d1d049b8b63457edae01400644fd560e
2016-09-28 14:12:14 +02:00
Émilie Feral
471671422c [escher] implement a potential horizontal scroll indicator in scroll view
Change-Id: I9ac2045071d9f915f05bc7948852328627a09d9c
2016-09-28 14:12:05 +02:00
Romain Goyet
90fbb15395 [escher] Define an ImageView class
Change-Id: I449cc2140b4068c95de9ea120171b992d3b20ff5
2016-09-27 14:08:35 +02:00
Romain Goyet
bf483d5f40 [escher] Define a simple Image class
Change-Id: Ibe6c4da97b219b78c5f6d53bf2029f2b320ee798
2016-09-27 14:07:52 +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
5385c69bbe Merge "[escher] update the scroll indicator at each call to layoutSubviews" 2016-09-26 14:17:10 +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
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
faf438e0c4 [escher] define class table view cell
Change-Id: I9291a9239a269cc4a85b87e9a94a00e8d8f72b03
2016-09-20 11:54:37 +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
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