gled-ui 2.32.1

gled's egui interface, shared by the desktop app and the browser
Documentation
1
2
3
4
5
6
7
8
9
10
//! What a host adds to the interface: the desktop app offers remote access
//! to its engine, which a browser cannot.

/// Hooks for the host of the interface.
pub trait AppExtension: std::fmt::Debug {
    /// Once per frame, before the windows draw; may show windows of its own.
    fn update(&mut self, ctx: &egui::Context);
    /// Adds entries to the Config menu.
    fn config_menu(&mut self, ui: &mut egui::Ui);
}