Skip to main content

platform_glyph/
lib.rs

1//! Platform event loop and windowing via winit + wgpu.
2//!
3//! `App::run` opens an 800x600 window with the default light theme.
4//! Use `App::run_with_theme` to supply a custom `Theme`.
5
6mod app;
7pub mod menu;
8pub mod platform;
9
10pub use app::{App, AppBuilder, WindowCloser, WindowOpener};
11#[cfg(feature = "hot-reload")]
12pub use app::HotApp;
13pub use core_glyph::Theme;
14
15// Convenience re-exports so callers can do `platform_glyph::clipboard_read()` etc.
16pub use platform::{
17    clipboard_read, clipboard_write,
18    open_url, reveal_in_explorer,
19    pick_file, pick_files, pick_folder, pick_file_filtered, save_file,
20    notify,
21};
22
23pub use menu::MenuBar;