diff options
author | pommicket <pommicket@gmail.com> | 2023-01-26 13:38:12 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-26 13:38:12 -0500 |
commit | 57dfb60fdc38d7b4815087d71781e2b326c6939b (patch) | |
tree | e4a50b9944d5af0d242c3ca4c1a05fd8172e435a /src/win.rs | |
parent | aaf92471dc68766faf401ce4bdbb2a271e68c964 (diff) |
more documentation
Diffstat (limited to 'src/win.rs')
-rw-r--r-- | src/win.rs | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,3 +1,4 @@ +/// functions for opening windows and doing OpenGL stuff // all OpenGL calls are done through the Window. // this is because OpenGL is not thread safe. use crate::sdl; @@ -478,15 +479,15 @@ pub enum Event { x: i32, y: i32, /// 1 for single-click, 2 for double-click, etc. - clicks: u8 + clicks: u8, }, MouseButtonUp { button: MouseButton, x: i32, y: i32, /// 1 for single-click, 2 for double-click, etc. - clicks: u8 - } + clicks: u8, + }, } pub fn display_error_message(message: &str) { |