Commit Graph

138 Commits

Author SHA1 Message Date
Émilie Feral
00a0dd182f [apps/calculation] Correct bug: set the right cell first responder
Change-Id: Iafee70a6a3bcf59c60efb4575b044b19fa5c1db4
2016-11-04 10:59:18 +01:00
Émilie Feral
5133f75789 [escher] change horrible naming in selectable table view
Change-Id: Ia7bc06f2f079e529aa17ab01d961fb6ff62cbf98
2016-11-04 10:59:18 +01:00
Émilie Feral
0913798faf [apps] Replace magic numbers by constants
Change-Id: If9cb40bdc9b1e88a941a6f230fb42164b1e2d5f0
2016-11-04 10:58:40 +01:00
Émilie Feral
e368b24240 [escher] add method to get the size of table view
Change-Id: If59f78a9c685aeb6ed065508669b0a5d9bbc3eb0
2016-11-04 10:18:59 +01:00
Émilie Feral
54a29ef60c [escher] add a boolean in scrollview to decide wether to display scroll
indicators

Change-Id: I6bc34519668fc73fecf2207596951c3b3a9c8311
2016-11-02 09:46:09 +01:00
Émilie Feral
77c964b1b5 [apps/calculation] Make the history view cell inherit from even odd cell
Change-Id: I87b2774dd9cc4c672c356b42ed2a4a18e4563f60
2016-11-02 09:46:01 +01:00
Émilie Feral
81a4f11beb [escher] move even odd cell in escher
Change-Id: Ifb751ac5e8c738965cb358ea55cf7ca67459ffa5
2016-10-27 14:34:31 +02:00
Émilie Feral
9214b09752 [escher] Add a potential delegate to selectable table view
Change-Id: I2c190a0842f1747945b71fe55126ff3717d35c0c
2016-10-27 14:34:30 +02:00
Émilie Feral
590c869bc8 [escher] create class expression view
Change-Id: I16ddd22318ad120d736ad7f10bb2800a13c2b005
2016-10-27 14:03:25 +02:00
Émilie Feral
cedabbb13a [escher] Change name list view cell -> menu list cell
Change-Id: I9fccf615fc0ebacadf7d0b55ca9af5ec997ce572
2016-10-25 17:55:28 +02:00
Émilie Feral
68a9f6113b [escher] Overwrite reload cell in text list view cell
Change-Id: Ic9567a3abe93f4983788f328e8b6c42c27cd5090
2016-10-25 17:55:28 +02:00
Émilie Feral
73694dcaac [escher] add default constructor to selectable table view
Change-Id: Iafde15dfabefafe9659e99aa7cbb5bf10fc79030
2016-10-25 17:55:28 +02:00
Émilie Feral
a29c46f662 [escher] delete list view
Change-Id: Ia3e2aa2613479e2fcc7f12e7de3b7e8b8f2cff68
2016-10-25 17:55:28 +02:00
Émilie Feral
c5bb3df9a8 [escher] create a class selectable table view
Change-Id: I4e6372ed7d586d35b9b96f8cb1d29bf693713dda
2016-10-25 17:55:28 +02:00
Émilie Feral
5d7e57b228 [escher] Add method to get data source in table view
Change-Id: I511bbbfa7727216bcd1d02b9df93491061f6a9a8
2016-10-25 17:55:28 +02:00
Émilie Feral
dd2fb25737 [escher] In header view controller, return a boolean when a button is
selectionned

Change-Id: I59e10ace4232d9e8d6fce5edf7215e04f909e73e
2016-10-25 17:55:28 +02:00
Émilie Feral
f809d089d6 [escher] Make table view accept only table view cell
Change-Id: I393375d0887e692a85747198d5b42d26d207dc83
2016-10-25 17:55:28 +02:00
Émilie Feral
b56d88cefa [apps/graph] make the function title cells consistent
Change-Id: Ib59f3d5f8a679cddd8a88e16711138425a6e9ecb
2016-10-25 17:55:28 +02:00
Émilie Feral
686d759993 [escher] Split the class list view data source in a simple view data
source and a data source (as for table view data source)

Change-Id: I66fc17d2a10a3a4db1ca250776f19de8fb559656
2016-10-25 17:55:28 +02:00
Émilie Feral
440ebcca98 [escher] Align switch view on the right
Change-Id: I425995d188c4b652e6ecde95f76dc51890d9f10a
2016-10-19 16:22:48 +02:00
Émilie Feral
cdf0d4fd84 [escher] Change name: table view cell -> list view cell
Change-Id: Ic224334f4311276da10fa09f9cb546361308e173
2016-10-18 09:47:42 +02:00
Émilie Feral
a1b5d3d363 [escher] Delete childless view and implement it as default view
Change-Id: I545c8270fc8235ee578b2237361df50c919d0b61
2016-10-18 09:41:43 +02:00
Émilie Feral
c831468d55 [apps/graph/values] replace float table view cell by text table view
cell

Change-Id: I8d4fd55dc472239905164ae1a36c1b0cbee3fc42
2016-10-18 09:40:20 +02:00
É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
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
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