Alexandre Bury
|
9bc723ab4a
|
Do not accept any return value for callbacks
It got added so we could keep using `s.pop_layer()` in single-line callbacks.
It was confusing, and the return value was ignored anyway.
|
2018-03-16 15:50:56 -07:00 |
|
Tymoteusz Jankowski
|
5bfe9548e8
|
Replace inner_getters!(T); with inner_getters!(self.view: T);
|
2018-01-27 10:37:08 +01:00 |
|
Tymoteusz Jankowski
|
b21280c106
|
Use inner_getters! in OnEventView
|
2018-01-26 23:28:20 +01:00 |
|
Tymoteusz Jankowski
|
4e2b8adf3d
|
Merge branch 'master' into get-child
|
2018-01-26 23:15:14 +01:00 |
|
Tymoteusz Jankowski
|
4daf40e271
|
Change OnEventView.inner to OnEventView.view
This breaks compatibility!
|
2018-01-26 22:32:07 +01:00 |
|
Tymoteusz Jankowski
|
9510d92736
|
Use inner_getters for rest of ViewWrappers (except on_event_view)
|
2018-01-26 12:08:28 +01:00 |
|
Alexandre Bury
|
14f2bf636c
|
OnEventView: add note regarding single callback per event
|
2018-01-11 18:49:48 +01:00 |
|
Alexandre Bury
|
bd9b6a695b
|
Return view on pop_layer
Callbacks now often allow (and ignore) a return type.
|
2017-12-16 14:41:15 +01:00 |
|
Alexandre Bury
|
d328138531
|
OnEventView: better doc
|
2017-12-07 16:47:56 -08:00 |
|
Alexandre Bury
|
f90621811c
|
More rustfmt
|
2017-10-14 21:18:50 -07:00 |
|
Alexandre Bury
|
93982517ae
|
Fix clippy warnings
|
2017-10-13 11:24:17 -07:00 |
|
Alexandre Bury
|
a4ca7bbf1e
|
Rustfmt
|
2017-10-12 16:43:59 -07:00 |
|
Alexandre Bury
|
6bb3e88c2e
|
feat: Add pre-events and inner events to OnEventView
|
2017-08-23 16:43:17 -07:00 |
|
Alexandre Bury
|
93b5421f53
|
Rename KeyEventView to OnEventView
|
2017-06-12 16:39:20 -07:00 |
|