aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Partouche <david@manateedev.com>2014-10-11 12:04:48 +0200
committerDavid Partouche <david@manateedev.com>2014-10-11 12:04:48 +0200
commit10f625c2c8f601af6fe7cc9fbfcf728e716bdd70 (patch)
tree92cf0ede376758cacc86378f442deb2d07acc7ab
parentbfbc46251196b58c31ce3b633597208d8132f953 (diff)
downloadglutin-10f625c2c8f601af6fe7cc9fbfcf728e716bdd70.tar.gz
glutin-10f625c2c8f601af6fe7cc9fbfcf728e716bdd70.zip
Fixed static uppercase warning
-rw-r--r--src/events.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/events.rs b/src/events.rs
index a3fef42..e36a7a6 100644
--- a/src/events.rs
+++ b/src/events.rs
@@ -1,3 +1,5 @@
+#![allow(non_uppercase_statics)]
+
#[deriving(Clone,Show)]
pub enum Event {
/// The size of the window has changed.
@@ -13,7 +15,7 @@ pub enum Event {
ReceivedCharacter(char),
/// The window gained or lost focus.
- ///
+ ///
/// The parameter is true if the window has gained focus, and false if it has lost focus.
Focused(bool),
@@ -21,7 +23,7 @@ pub enum Event {
KeyboardInput(ElementState, ScanCode, Option<VirtualKeyCode>, KeyModifiers),
/// The cursor has moved on the window.
- ///
+ ///
/// The parameter are the (x,y) coords in pixels relative to the top-left corner of the window.
MouseMoved((int, int)),