Add mouse cursor support

Add a new api, window.set_cursor, for setting the cursor. The enum MouseCursor lists the possible cursors.

Only X11 is implemented. On OSX, Android, & Win32 the window.set_cursor function
either does nothing or calls the "unimplemented!" macro.
This commit is contained in:
Bryan Bell 2015-01-12 16:22:37 -08:00
parent 318f0d2d06
commit b532b8c65f
9 changed files with 174 additions and 3 deletions

View file

@ -1,7 +1,7 @@
[package]
name = "glutin"
version = "0.0.4-pre"
version = "0.0.5-pre"
authors = ["tomaka <pierre.krieger1708@gmail.com>"]
description = "Cross-plaform OpenGL context provider. Important: the crates.io only supports Windows and Linux for the moment."
keywords = ["windowing", "opengl"]