aboutsummaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
Diffstat (limited to 'src/android')
-rw-r--r--src/android/mod.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/android/mod.rs b/src/android/mod.rs
index 2e0ab74..4d24120 100644
--- a/src/android/mod.rs
+++ b/src/android/mod.rs
@@ -2,8 +2,11 @@ extern crate android_glue;
extern crate native;
use libc;
-use {CreationError, OsError, Event, WindowBuilder};
-use {Pressed, Released, LeftMouseButton, MouseInput, MouseMoved};
+use {CreationError, Event, WindowBuilder};
+use CreationError::OsError;
+use events::ElementState::{Pressed, Released};
+use events::Event::{MouseInput, MouseMoved};
+use events::MouseButton::LeftMouseButton;
pub struct Window {
display: ffi::egl::types::EGLDisplay,