From 57dfb60fdc38d7b4815087d71781e2b326c6939b Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 26 Jan 2023 13:38:12 -0500 Subject: more documentation --- src/win.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/win.rs') diff --git a/src/win.rs b/src/win.rs index 08b0b05..a659b8e 100644 --- a/src/win.rs +++ b/src/win.rs @@ -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) { -- cgit v1.2.3