Feat: add hidden mode and new documentation
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//! macOS platform backend (Cocoa / AppKit).
|
||||
|
||||
// This is required because the objc crate is causing a lot of warnings: https://github.com/SSheldon/rust-objc/issues/125
|
||||
// Eventually we should migrate to the objc2 crate and remove this.
|
||||
#![allow(unexpected_cfgs)]
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! NSView subclass that handles input events and drag-and-drop.
|
||||
|
||||
use std::ffi::c_void;
|
||||
|
||||
use cocoa::appkit::{NSEvent, NSFilenamesPboardType, NSView, NSWindow};
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! macOS window creation, lifecycle, and event dispatch.
|
||||
|
||||
use std::cell::{Cell, RefCell};
|
||||
use std::collections::VecDeque;
|
||||
use std::ffi::c_void;
|
||||
|
||||
Reference in New Issue
Block a user