Feat: add hidden mode and new documentation

This commit is contained in:
2026-02-26 12:31:56 +01:00
parent e1cf57918e
commit 70032acc75
95 changed files with 1055 additions and 286 deletions

View File

@@ -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)]

View File

@@ -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};

View File

@@ -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;