From b28273de0486f0b98e1b95354679b8b767968874 Mon Sep 17 00:00:00 2001 From: Andrey Lesnikov Date: Fri, 5 Dec 2014 01:30:17 +0400 Subject: android: updated for rust 5484d6f6d 2014-12-02 00:22:00 +0000 --- src/android/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/android/mod.rs b/src/android/mod.rs index 341187f..cdd5293 100644 --- a/src/android/mod.rs +++ b/src/android/mod.rs @@ -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))); }, }, -- cgit v1.2.3