egui/crates/egui_glow
Emil Ernerfeldt d7d222d3f6
Polish image API (#3338)
* Imoprove docs for callback shapes

* Improve docs for loader traits

* Use snake_case for feature `all_loaders`

* Make loaders publix

* Slightly better error message on image load failure

* Improve image loading error messages

* Use `bytes://` schema for included bytes loader

* Try user loaders first

* Move `image_loading_spinners` to `Visuals`

* Unify and simplify code

* Make the main text of `Button` optional

This largely makes ImageButton obsolete

* Fix docstrings

* Better docs

* typos

* Use the more explicit `egui_extras::install_image_loaders`

* Simplify `Image::paint_at` function
2023-09-14 16:33:10 +02:00
..
examples Fix wrong detection of OS (#3238) 2023-08-12 13:50:31 +02:00
src Polish image API (#3338) 2023-09-14 16:33:10 +02:00
CHANGELOG.md Changelogs: document that they are updated upon release (not by users) 2023-08-09 17:12:47 +02:00
Cargo.toml Update MSRV to Rust 1.70.0 (#3310) 2023-09-06 07:59:24 +02:00
README.md We no longer use tts, so remove speech-related dependencies (#2698) 2023-02-08 18:45:44 +01:00

README.md

egui_glow

Latest version Documentation MIT Apache

This crates provides bindings between egui and glow which allows you to:

  • Render egui using glow on both native and web.
  • Write cross platform native egui apps (with the winit feature).

To write web apps using glow you can use eframe (which uses egui_glow for rendering).

To use on Linux, first run:

sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev

This crate optionally depends on egui-winit.

Text the example with:

cargo run -p egui_glow --example pure_glow --features=winit,egui/default_fonts