Skip to content

Releases: emilk/egui

0.23.0 - New image API

28 Sep 06:47
Compare
Choose a tag to compare

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

23 May 18:07
Compare
Choose a tag to compare

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

08 Feb 19:39
Compare
Choose a tag to compare

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

11 Dec 16:21
Compare
Choose a tag to compare
Release 0.20.1 - Fix key-repeat

0.20.0 - AccessKit, prettier text, overlapping widgets

08 Dec 14:27
Compare
Choose a tag to compare

0.19.0 - wgpu backend, repaint_after, continue-after-close

20 Aug 15:05
Compare
Choose a tag to compare

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

30 Apr 18:35
Compare
Choose a tag to compare

Highlights:

  • Embed 3D inside egui
  • Better text contrast in bright mode
  • Added egui_extras::Table

rerun

0.17.0 - Improved font selection and image handling

22 Feb 18:47
Compare
Choose a tag to compare

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

29 Dec 11:26
Compare
Choose a tag to compare

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

24 Oct 14:30
Compare
Choose a tag to compare

Highlights:

  • Syntax highlighting
  • Horizontal scrolling
  • New monospace font
  • New crate egui_glow: a glow backend for eframe (opt-in)
  • New crate egui-web