Build event-driven desktop interfaces with [egui].
egelm supplies a small widget lifecycle, typed message routing, window
management, and reusable dialogs on top of egui, winit, and OpenGL.
Examples
use *;
;
Build event-driven desktop interfaces with [egui].
egelm supplies a small widget lifecycle, typed message routing, window
management, and reusable dialogs on top of egui, winit, and OpenGL.
use egelm::prelude::*;
#[derive(Debug)]
struct Greeting;
impl LeafWidget for Greeting {
fn render(&mut self, ui: &mut egui::Ui, _frame: &mut Frame) {
ui.label("Hello from egelm");
}
}