devela/ui/back/miniquad/mod.rs
1// devela::ui::back::miniquad
2//
3//! [`miniquad`][crate::_dep::miniquad] UI backends.
4//
5// ISSUES
6// - WAIT: [precise input](https://github.com/not-fl3/miniquad/issues/117)
7// - WAIT: [linux resize](https://github.com/not-fl3/miniquad/issues/193)
8//
9// TODO
10// ::miniquad::data::now (secs since SystemTime::UNIX_EPOCH) or Date.now() / 1000.0 in wasm
11
12mod namespace; // miniquad!
13mod service; // MiniquadEventHandlerExt, MiniquadService
14mod window; // MiniquadWindow
15
16// mod events; // TODO
17// mod text; // TODO
18
19#[cfg(feature = "alloc")]
20#[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "alloc")))]
21mod pixels; // MiniquadPixels
22
23crate::items! { // structural access: _mods, _all
24 #[allow(unused)]
25 pub use _mods::*;
26
27 mod _mods {
28 pub use super::{namespace::*, service::*, window::*};
29 #[cfg(feature = "alloc")]
30 pub use super::pixels::*;
31 }
32 pub(super) mod _all { #![allow(unused)]
33 #[doc(inline)]
34 pub use super::_mods::*;
35 }
36}