Cargo fmt
This commit is contained in:
parent
fd7f4c1032
commit
98b8a1186b
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue