diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-01-13 10:43:46 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-01-13 10:43:46 +0100 |
commit | 05a03fb6a1232621e570fe46a82c6088c74696a9 (patch) | |
tree | f066387449265cb233fbc6040a0902a6a4df9360 /src/osx | |
parent | 88fd84f5952ba9fc758957bdc55b911ec694d46b (diff) | |
parent | 0fba0a9a734dcc7c30f9c369d6481a9b1d33828c (diff) | |
download | glutin-05a03fb6a1232621e570fe46a82c6088c74696a9.tar.gz glutin-05a03fb6a1232621e570fe46a82c6088c74696a9.zip |
Merge pull request #192 from bjwbell/mouse-cursors
Add mouse cursor support
Diffstat (limited to 'src/osx')
-rw-r--r-- | src/osx/mod.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/osx/mod.rs b/src/osx/mod.rs index df62089..7b362ba 100644 --- a/src/osx/mod.rs +++ b/src/osx/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "headless")] pub use self::headless::HeadlessContext; -use {CreationError, Event}; +use {CreationError, Event, MouseCursor}; use CreationError::OsError; use libc; @@ -491,4 +491,8 @@ impl Window { pub fn set_window_resize_callback(&mut self, callback: Option<fn(uint, uint)>) { self.resize = callback; } + + pub fn set_cursor(&self, cursor: MouseCursor) { + unimplemented!() + } } |