egui/egui_glow
Emil Ernerfeldt c768d1d48e
Context::request_repaint will wake up the UI thread (#1366)
This adds a callback (set by `Context::set_request_repaint_callback`)
which integration can use to wake up the UI thread.

eframe (egui_web and egui_glow) will use this, replacing
`epi::Frame::request_repaint`.

Existing code calling `epi::Frame::request_repaint` should be changed
to instead call `egui::Context::request_repaint`.

This is the first callback added to the egui API, which otherwise is
completely driven by data.

The purpose of this is to remove the confusion between the two
`request_repaint` methods (by removing one). Furthermore, it makes
`epi::Frame` a lot simpler, allowing future simplifications to it
(perhaps no longer having it be `Send+Sync+Clone`).
2022-03-15 17:21:52 +01:00
..
examples Add Shape::Callback to do custom rendering inside of an egui UI (#1351) 2022-03-14 13:25:11 +01:00
src Context::request_repaint will wake up the UI thread (#1366) 2022-03-15 17:21:52 +01:00
Cargo.toml Context::request_repaint will wake up the UI thread (#1366) 2022-03-15 17:21:52 +01:00
CHANGELOG.md Release 0.17.0 - Improved font selection and image handling 2022-02-22 19:32:30 +01:00
README.md Add egui_glow backend as alternative to egui_glium (#685) 2021-10-18 23:13:32 +02:00

egui_glow

Latest version Documentation MIT Apache

This crates provides bindings between egui and glow which allows you to write GUI code using egui and compile it and run it natively, cross platform.

To use on Linux, first run:

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

This crate depends on egui-winit.