Expand description
oxide-gui-core — no_std portable GUI core.
§Architecture
Your app
│
▼
Canvas<B> ← drawing helper; owns a &mut B
│ uses
▼
Backend (trait) ← fill_rect / present / poll_event
│ implemented by
├─ oxide-gui-linux :: MinifbBackend (std, X11/Wayland via minifb)
└─ oxide-gui-oxideos :: KernelBackend (no_std, OxideOS framebuffer)oxide-gui-core itself has zero dependencies and is no_std compatible.
Enable the alloc feature if your environment has a heap.
Re-exports§
pub use color::Color;pub use event::Event;pub use event::Key;pub use event::MouseButton;pub use backend::Backend;pub use canvas::Canvas;