Commit Graph

44 Commits

Author SHA1 Message Date
Gabriel Ozouf
a96b5d1bc4 [escher] Typo in StackViewController
Change-Id: I13bdd05759fd2f0bc6911adafe8950e46c2bfe85
2020-11-04 15:11:44 +01:00
Léa Saviot
b3d87c0e18 [escher/stack_view_controller] Inline some methods 2020-06-04 14:50:05 +02:00
Émilie Feral
d0c5ac0343 [escher] StackViewController: add a method to return the
topViewController
2020-04-01 10:18:09 +02:00
Léa Saviot
9f018eb9d9 [escher/view] setFrame and layoutSubviews can be forced 2020-02-12 15:13:15 +01:00
Ruben Dashyan
44809f4b3f Substitute Escher app() by Container::activeApp() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
17795eed87 [escher] Include container.h instead of app.h
app.h did actually include container.h
2019-07-19 15:06:25 +02:00
Ruben Dashyan
acecb92f75 [escher/*_view_controller] New ViewController::initView() method
Does some part of viewWillAppear().
2019-02-18 16:49:58 +01:00
Émilie Feral
9dd637f7c3 [apps] Settings: clean number of rows 2018-03-22 10:19:15 +01:00
Émilie Feral
be59ec0bfd [escher] Fix stack view title layout: re-add a grey line below stack
titles
2018-01-16 13:21:02 +01:00
Léa Saviot
eadf4a018a [escher] New handling of stack view headers in StackViewController.
A boolean in ViewController states if the ViewController wants MaximumSpace (do
not show any stack view headers), or if it does not want to add its own title to
the stack view headers. If the ViewController's title is null, it is not added
to the stack view headers.
By default, ButtonRowControllers do not want to add their title (because they
are only used for now in TabViews, where the title is already displayed in the
tab).

Change-Id: I9e4c64b845262e4d44eb03cf769950f9c9e67a3a
2017-11-17 11:59:50 +01:00
Émilie Feral
d7091397e5 [escher] Rule of 5 in view
Change-Id: Iba04e9046845b544e184530562e34f831fce96f6
2017-05-24 15:32:22 +02:00
Émilie Feral
8665978b2e [apps/probability] Clean (add a page index in snapshot)
Change-Id: I1631136cf4912225b88d26cd3cd9d36fa91db5f0
2017-05-23 15:15:35 +02:00
Émilie Feral
f6dd2d1180 [apps/probability] Add a page index in snapshot
Change-Id: I4d37cd744bf42b67090cbbd1619f98b512b16e9a
2017-05-18 17:55:50 +02:00
Émilie Feral
de5fbe54d4 [apps/sequence|graph] Fix bug: when validating new interval parameters,
jump to the values table

Change-Id: Id56587dea29fcca18cc34045a6c93f2f740564e2
2017-05-10 16:30:08 +02:00
Émilie Feral
70fc734f7b [escher] Change dynamic view controller paradigm
Change-Id: I57fd41c9b9ad8a1e8b684b97fdf80ddffd71881d
2017-05-03 14:22:51 +02:00
Émilie Feral
50372eb935 [escher] Unload view is done after all methods viewWillDisappear,
willResignFirstResponder, didExitResponderChain

Change-Id: I04fa28783b8500f0312f451d4d83fe543f2da8f0
2017-05-03 14:22:44 +02:00
Émilie Feral
9e94cdb553 [escher] In stack view controller, load only the visible view (and
unload the root view when required)

Change-Id: Idba6db2cb881c587095f8db2445bd1c712b79737
2017-05-03 10:22:01 +02:00
Émilie Feral
7b9e199d44 [escher] Clean stack view controller
Change-Id: I922ed49353b98b7e763c7b6fefd43ed214a6a794
2017-04-24 14:37:28 +02:00
Émilie Feral
50aacc79ec [escher] Create dynamic view controller
Change-Id: Ic8fe6d095666aa7af76c8d328b0bf83342a09453
2017-04-20 12:11:59 +02:00
Émilie Feral
5fde73dac2 [escher] Change name: viewWillDisappear -> viewDidDisappear
Change-Id: Ie7e324cfd9c1313ef4f5310e1688be0b7fabd0bf
2017-04-18 15:29:09 +02:00
Émilie Feral
adc80cd71b [apps][escher] I18n
Change-Id: I4d6f40155a8a182184af9ef2a583d0469196ffd5
2017-03-16 15:12:12 +01:00
Émilie Feral
7d06868ad9 [escher] Do actions in this order: layouts, viewWillAppear,
didBecomeFirstResponder

Change-Id: I01b5c2457d9e3b6d2cc71afe119287c1cb507dc3
2017-02-20 10:54:03 +01:00
Émilie Feral
6f138e6b1c [escher] Add methods viewWillAppear/Disappear in view controller instead
of keeping track of dataHasChanged in the selectable table view

Change-Id: Id2626f527f44714e29b9bd66e2c843193e1b57b5
2017-02-17 16:35:07 +01:00
Émilie Feral
29678a23db [escher] Reorder actions to first do all frame layouts and then all
"become first responder" (Thereby, enable to select a cell in
becomefirstresponder without any weird scrolling due to wrong framing)

Change-Id: Ie5ca7555fce3575dcf0488e124adf0677155c383
2017-02-02 10:29:07 +01:00
Émilie Feral
5e3de6eec9 [apps/probability] Improve stack title colors
Change-Id: Ifd6f79030e0ef13c478fae307205c71955ce4593
2017-02-02 10:29:06 +01:00
Émilie Feral
400e2e5a37 [apps/probability] Improve titles and parameter definitions layout
Change-Id: I84e04b9900d92b0a4d61c19dc27be426f9b9117c
2017-02-02 10:29:06 +01:00
Émilie Feral
6ef76341aa [escher] Correct layout metrics
Change-Id: I829d387885af23be3782b99926c09547219ba6cc
2017-01-27 11:59:47 +01:00
Émilie Feral
b1ff25111a [escher] Add a method to update the title in stack view controller
Change-Id: Id3a7702c108de38fed74fa0db33022f186780b13
2016-12-08 15:21:52 +01:00
Émilie Feral
5b0ad58ae3 [escher] enable stack view controller to have different stack view colors
Change-Id: Iea0d68fa3686c85587d35740b5c2f281c0ca3a99
2016-11-14 17:06:55 +01:00
Émilie Feral
6d880a0c4c [escher] improve stack view drawing
Change-Id: I76ec35c21c9d877c209ee51a4c843dbed7b773b0
2016-11-10 18:02:35 +01:00
Romain Goyet
b87f06e3a2 [ion] Update the Event model
Change-Id: I41a53caeb7dd8a15e7934f49675f6a53be8fe7be
2016-11-10 17:29:48 +01:00
Émilie Feral
86983d2280 Clean warnings
Change-Id: I576621aeea71cc343a255ea2d668a0cbd3504e9e
2016-09-23 09:41:41 +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
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
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
8558d1f4de [escher] suppress the drawing of the first controller of a stack controller
Change-Id: I8d4efaea268a24ec731e8db5cc43abd172c7ead0
2016-09-16 11:43:00 +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
496a10aebd [Graph/List] Add a stack controller to handle the parameter page
Change-Id: I7d3f916b2f2ae981bc8cd16b70e6e841e687f2e7
2016-09-15 11:04:17 +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