aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2014-12-04 22:40:33 +0100
committertomaka <pierre.krieger1708@gmail.com>2014-12-04 22:40:33 +0100
commitab387dc2a3cac7e88688d2b16e758680eb3729d1 (patch)
tree36067c3515cd915b4a00c18b6cc4bf244cc9c753
parentb30f18173e86577a6b0c4c631349d2085c15ae97 (diff)
parentb28273de0486f0b98e1b95354679b8b767968874 (diff)
downloadglutin-ab387dc2a3cac7e88688d2b16e758680eb3729d1.tar.gz
glutin-ab387dc2a3cac7e88688d2b16e758680eb3729d1.zip
Merge pull request #157 from ozkriff/master
android: updated for rust 5484d6f6d 2014-12-02 00:22:00 +0000
-rw-r--r--src/android/mod.rs6
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)));
},
},