Releases: emilk/egui
0.23.0 - New image API
egui is an easy-to-use immediate mode GUI in pure Rust. eframe is the official egui framework, allowing you to run egui on both web and native.
This release contains a simple and powerful image API:
// Load from web:
ui.image("https://www.example.com/some_image.png");
// Include image in the binary using `include_bytes`:
ui.image(egui::include_image!("../assets/ferris.svg"));
// With options:
ui.add(
egui::Image::new("file://path/to/image.jpg")
.max_width(200.0)
.rounding(10.0),
);
The API is based on a plugin-system, where you can tell egui
how to load the images, and from where.
egui_extras
comes with loaders for you, so all you need to do is add the following to your Cargo.toml
:
egui_extras = { version = "0.23", features = ["all_loaders"] }
image = { version = "0.24", features = ["jpeg", "png"] } # Add the types you want support for
And this to your code:
egui_extras::install_image_loaders(egui_ctx);
Try the live demo at https://www.egui.rs/
0.22.0 - A plethora of small improvements
egui is an easy-to-use immediate mode GUI in pure Rust. eframe is the official egui framework, allowing you to run egui on both web and native.
There's a bunch of improvements in 0.22, especially to eframe:
- eframe now supports application icons on Windows and Mac. Set it with
NativeOptions::icon_data
- eframe will now follow the system dark/light mode live with
NativeOptions::follow_system_theme
. Works both on native and on web! - The error reporting on the web is also much nicer, with panics being caught, logged, and is accessible to JavaScript
Try the live demo at https://www.egui.rs/
0.21.0 - Deadlock fix and winit update
This is a relatively minor release, but with a major breaking change in the egui API to prevent a rare deadlock.
Full changelog: https://github.com/emilk/egui/blob/master/CHANGELOG.md
0.20.1 - Fix key-repeats
Release 0.20.1 - Fix key-repeat
0.20.0 - AccessKit, prettier text, overlapping widgets
0.19.0 - wgpu backend, repaint_after, continue-after-close
Highlights:
- New wgpu backend for eframe
Context::request_repaint_after
- eframe continues after closing native window
egui changelog: https://github.com/emilk/egui/blob/master/CHANGELOG.md
eframe changelog: https://github.com/emilk/egui/blob/master/crates/eframe/CHANGELOG.md
0.18.0 - Shape::Callback, Table, and better text contrast
0.17.0 - Improved font selection and image handling
egui highlights:
- Use any-sized font
- Define custom text styles
- Easy image loading using new crate egui_extras
eframe highlights:
- glow is now the default renderer on both native on web
- follow OS light/dark mode preference
Full changelog: https://github.com/emilk/egui/blob/master/CHANGELOG.md
0.16.0 - Context menus and rich text
Highlights:
- Context menus
- Rich text (colors, underline, …) in all widgets
- Bar charts and box plots
0.15.0 - Syntax highlighting, hscroll, egui-winit and egui_glow
Highlights:
- Syntax highlighting
- Horizontal scrolling
- New monospace font
- New crate
egui_glow
: a glow backend for eframe (opt-in) - New crate
egui-web