Commit Graph

963 Commits

Author SHA1 Message Date
Émilie Feral
160cbd3d6c [escher] add a class text table view cell
Change-Id: Icfabdbc33da93008a9203b83cc9a36e8611b45e7
2016-10-18 09:38:35 +02:00
Émilie Feral
96cedec809 [escher] create a class buffer text view
Change-Id: I9836e50d4d8738f8c25e61a53acbed635270ccc8
2016-10-18 09:34:19 +02:00
Émilie Feral
0a6d822046 [escher] Create a class pointer text view inheriting
from text view

Change-Id: I10dd24ed9404e634e90f2bc7fecb6441f7a93550
2016-10-17 22:18:15 +02:00
Émilie Feral
d14107b2bc [escher] add a method reloadData to table view
Change-Id: I1b07a323d2f83783dd81fe870a461e5851163501
2016-10-14 12:39:02 +02:00
Émilie Feral
ee02edee35 [escher] In text view, clean how exception (nullptr) are handled
Change-Id: Ibd1c3939c910a3da741bb92f8b341e02cf0bb63c
2016-10-14 12:24:32 +02:00
Émilie Feral
b8b52e2d73 [escher] create a class float table view cell
Change-Id: Ie0d0e701d60ccdd492760bcdc5857470fcd1a255
2016-10-14 12:06:09 +02:00
Émilie Feral
a7fdf442a9 [escher] create a class float view
Change-Id: Ic81de75b5a7aa3965a1851cadfb612d828908f2a
2016-10-14 12:06:09 +02:00
Émilie Feral
7156ce81b5 [escher] Modify header view controller to handle the logic without data
Change-Id: I87b544e39f24961683085af3f6060be357ee4f24
2016-10-14 10:24:10 +02:00
Émilie Feral
c28f7bc6c7 [escher] Implement minimlSizeForOptimalDisplay in text view and button
Change-Id: I86cbc1cc9314623a1deb69f2dd36ac8c45338d92
2016-10-13 09:53:06 +02:00
Émilie Feral
76c99f8944 [escher] In view, add a method to get the minimal size to be displayed
Change-Id: Idbca819dc461c60b122b97c6eb2e32ebf383cabe
2016-10-13 09:37:56 +02:00
Émilie Feral
ff0fc6eb2c [escher] In input view controller, do not handle when invisible
Change-Id: I5c235a1da638e5552dfa6b43bbce4d71e51ea5ce
2016-10-12 18:04:28 +02:00
Émilie Feral
ab37a15b3b [escher] Correct bug: update the subview layout when resizing the content view
Change-Id: I5941ca52d2b53332ab6d4cd03312862e9f48c71c
2016-10-12 17:39:54 +02:00
É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
7b059c096c Remove some warnings
Change-Id: I18456e133c84e81adf5b18171ed23e7d15f6644b
2016-10-04 17:26:45 +02:00
Romain Goyet
416a14d512 [escher] Changing a window's content makes it dirty
Change-Id: I37a06abb72388312c50d406e6048e63f6898315c
2016-10-04 17:15: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
020d0cc0a8 [escher] Don't set the frame if it's already the good one
Change-Id: Ie862b41a3863ffb363de9d21fe86c99e33e16dab
2016-10-04 17:06:59 +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
Romain Goyet
a8184e3d35 Merge changes Ia777cd9a,Ia3e96787
* changes:
  [escher] optimize the redraw of text fields
  [escher] add methods to textField
2016-10-04 15:54:07 +02:00
Émilie Feral
5a410095fe [escher] optimize the redraw of text fields
Change-Id: Ia777cd9a4668e7bf582c3f76cd4cca30e5e900a5
2016-10-04 15:48:09 +02:00
Émilie Feral
3e239663f2 [escher] add methods to textField
Change-Id: Ia3e96787b494a24e32f6e46d265fd55fc2214041
2016-10-04 15:42:16 +02:00
Émilie Feral
4325d78ae5 [escher] handle event DOWN_ARROW in tab view controller
Change-Id: I6d284a9005d7cc1969a1eff4fc4e9bb344fa43db
2016-10-04 15:34:09 +02:00
Romain Goyet
dbab72fced [Escher] Image setter for the ImageView
Change-Id: I18c5083c130ba5602cb8279ecb6c1a51692bacbe
2016-10-03 12:02:16 +02:00
Romain Goyet
7bc830da4f [Escher] The TextView handles the case where its text is nullptr
Change-Id: I358b893ab64ee969f41b4f6f0df0ca6a37201de3
2016-10-03 12:00:19 +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
96c764e5f0 [Escher] Sanity check
Change-Id: I67881d8b61e3fa5044f2bef14082352db7f4faf5
2016-10-03 11:20: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
Romain Goyet
9cdcaadb4d [escher] Fix an invalid array access
Change-Id: Ifd3d7a17611a6893cebb5fef33c9669a95b40463
2016-09-30 17:20:11 +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
Romain Goyet
93784423ef [escher] Use the inliner to convert PNGs to .h/.cpp
Change-Id: Iabf6850e6a413f8c02768776887d1566c2ecb48c
2016-09-27 14:03:55 +02:00