diff options
author | Andrey Lesnikov <ozkriff@gmail.com> | 2014-12-05 01:30:17 +0400 |
---|---|---|
committer | Andrey Lesnikov <ozkriff@gmail.com> | 2014-12-05 01:30:17 +0400 |
commit | b28273de0486f0b98e1b95354679b8b767968874 (patch) | |
tree | b28a457f9bbb319dc999b73e4f23f59d67c56530 /src | |
parent | c6f5b4a107109c7c900b5e56adb036a5e55e667b (diff) | |
download | glutin-b28273de0486f0b98e1b95354679b8b767968874.tar.gz glutin-b28273de0486f0b98e1b95354679b8b767968874.zip |
android: updated for rust 5484d6f6d 2014-12-02 00:22:00 +0000
Diffstat (limited to 'src')
-rw-r--r-- | src/android/mod.rs | 6 |
1 files 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))); }, }, |