egui/egui_demo_lib/src
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
..
apps Context::request_repaint will wake up the UI thread (#1366) 2022-03-15 17:21:52 +01:00
easy_mark Fix bugs in consume_key and improve Modifiers API 2022-02-21 16:53:41 +01:00
backend_panel.rs egui_web: always use the glow painter, and remove the old WebGL code. (#1356) 2022-03-11 19:15:06 +01:00
frame_history.rs Rename corner_radius to rounding 2022-02-05 18:13:46 +01:00
lib.rs Add Shape::Callback to do custom rendering inside of an egui UI (#1351) 2022-03-14 13:25:11 +01:00
syntax_highlighting.rs Fix typo: Highligher -> Highlighter (#1346) 2022-03-10 08:14:06 +01:00
wrap_app.rs Add Shape::Callback to do custom rendering inside of an egui UI (#1351) 2022-03-14 13:25:11 +01:00