mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 13:50:05 -04:00
Add iterators for events and WindowBuilder
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use {Event, Hints};
|
||||
use Event;
|
||||
use libc;
|
||||
use std::{mem, ptr};
|
||||
use std::sync::atomics::AtomicBool;
|
||||
@@ -33,7 +33,7 @@ impl MonitorID {
|
||||
}
|
||||
|
||||
impl Window {
|
||||
pub fn new(dimensions: Option<(uint, uint)>, title: &str, hints: &Hints, _: Option<MonitorID>)
|
||||
pub fn new(dimensions: Option<(uint, uint)>, title: &str, _: Option<MonitorID>)
|
||||
-> Result<Window, String>
|
||||
{
|
||||
// calling XOpenDisplay
|
||||
|
||||
Reference in New Issue
Block a user