1
0
Fork 0

Cargo fmt

This commit is contained in:
Mirko Covizzi 2020-07-08 23:07:22 +02:00
parent fd7f4c1032
commit 98b8a1186b
3 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ use std::sync::{Arc, Mutex};
use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM};
use crate::Window;
use winapi::um::winuser::{DefWindowProcA, WM_MOUSEMOVE, WM_TIMER, WM_PAINT};
use winapi::um::winuser::{DefWindowProcA, WM_MOUSEMOVE, WM_PAINT, WM_TIMER};
const WIN_FRAME_TIMER: usize = 4242;

View file

@ -118,7 +118,7 @@ pub struct Window {
window_class: ATOM,
r: f32,
g: f32,
b: f32
b: f32,
}
impl Window {
@ -131,7 +131,7 @@ impl Window {
window_class: 0,
r: 0.3,
g: 0.8,
b: 0.3
b: 0.3,
};
let title = (options.title.to_owned() + "\0").as_ptr() as *const i8;