Update cocoa and core-graphics (#608)

* Update cocoa and core-graphics

* Release winit 0.17.0

* Updated date / README version
This commit is contained in:
Paul Rouget 2018-08-03 04:26:30 +08:00 committed by Francesca Frangipane
parent e8e9fa2418
commit a32f7f2ec5
6 changed files with 11 additions and 8 deletions

View file

@ -2,7 +2,7 @@
#![allow(dead_code, non_snake_case, non_upper_case_globals)]
use cocoa::base::{class, id};
use cocoa::base::id;
use cocoa::foundation::{NSInteger, NSUInteger};
use objc;

View file

@ -1,5 +1,5 @@
use cocoa::appkit::NSWindowStyleMask;
use cocoa::base::{class, id, nil};
use cocoa::base::{id, nil};
use cocoa::foundation::{NSRect, NSUInteger};
use core_graphics::display::CGDisplay;

View file

@ -7,7 +7,7 @@ use std::collections::VecDeque;
use std::os::raw::*;
use std::sync::Weak;
use cocoa::base::{class, id, nil};
use cocoa::base::{id, nil};
use cocoa::appkit::{NSEvent, NSView, NSWindow};
use cocoa::foundation::{NSPoint, NSRect, NSSize, NSString, NSUInteger};
use objc::declare::ClassDecl;