diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-01-13 07:57:10 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-01-13 07:57:10 +0100 |
commit | 0ffa3b80f18d8da53f39bc18d8f04e893c884f65 (patch) | |
tree | ce27083678693b55bab78ef98b9b80280dea0e5b /src/events.rs | |
parent | 318f0d2d0662194d84836899d3077b33f0f8196f (diff) | |
parent | 995bd37c78b0c4b9957fcd191a0d2fb476a7f289 (diff) | |
download | glutin-0ffa3b80f18d8da53f39bc18d8f04e893c884f65.tar.gz glutin-0ffa3b80f18d8da53f39bc18d8f04e893c884f65.zip |
Merge pull request #193 from bjwbell/int-and-uint-to-u-and-isize
Change uint/int to usize/isize
Diffstat (limited to 'src/events.rs')
-rw-r--r-- | src/events.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/events.rs b/src/events.rs index 8b993bb..87f2cc8 100644 --- a/src/events.rs +++ b/src/events.rs @@ -1,10 +1,10 @@ #[derive(Clone, Show, Copy)] pub enum Event { /// The size of the window has changed. - Resized(uint, uint), + Resized(usize, usize), /// The position of the window has changed. - Moved(int, int), + Moved(isize, isize), /// The window has been closed. Closed, @@ -23,7 +23,7 @@ pub enum Event { /// 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)), + MouseMoved((isize, isize)), /// A positive value indicates that the wheel was rotated forward, away from the user; /// a negative value indicates that the wheel was rotated backward, toward the user. |