Merge pull request #157 from ozkriff/master

android: updated for rust 5484d6f6d 2014-12-02 00:22:00 +0000
This commit is contained in:
tomaka 2014-12-04 22:40:33 +01:00
commit ab387dc2a3

View file

@ -222,13 +222,13 @@ impl Window {
loop {
match self.event_rx.try_recv() {
Ok(event) => match event {
android_glue::EventDown => {
android_glue::Event::EventDown => {
events.push(MouseInput(Pressed, LeftMouseButton));
},
android_glue::EventUp => {
android_glue::Event::EventUp => {
events.push(MouseInput(Released, LeftMouseButton));
},
android_glue::EventMove(x, y) => {
android_glue::Event::EventMove(x, y) => {
events.push(MouseMoved((x as int, y as int)));
},
},