aboutsummaryrefslogtreecommitdiff
path: root/src/views.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-03-18 06:04:41 +0000
committerAkshay <[email protected]>2020-03-18 06:04:41 +0000
commit33d053d442082547550fc9a54473e05565907f88 (patch)
treed21697ada3135dd322a80e96cb68dcfe091389f4 /src/views.rs
parent0ed2a357ec1446dd03eba963d0e144ef3ebba25a (diff)
require new super trait, add quit callback
Diffstat (limited to 'src/views.rs')
-rw-r--r--src/views.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/views.rs b/src/views.rs
index ebb83b8..975864c 100644
--- a/src/views.rs
+++ b/src/views.rs
@@ -109,11 +109,9 @@ macro_rules! auto_view_impl {
109 fn required_size(&mut self, x: Vec2) -> Vec2 { 109 fn required_size(&mut self, x: Vec2) -> Vec2 {
110 ShadowView::required_size(self, x) 110 ShadowView::required_size(self, x)
111 } 111 }
112
113 fn take_focus(&mut self, d: Direction) -> bool { 112 fn take_focus(&mut self, d: Direction) -> bool {
114 ShadowView::take_focus(self, d) 113 ShadowView::take_focus(self, d)
115 } 114 }
116
117 fn on_event(&mut self, e: Event) -> EventResult { 115 fn on_event(&mut self, e: Event) -> EventResult {
118 ShadowView::on_event(self, e) 116 ShadowView::on_event(self, e)
119 } 117 }