Emil Ernerfeldt
Emil Ernerfeldt
@Pjottos thank you so much for working on this!
Good idea! Feel free to contribute a PR
`egui::Context` holds a `epaint::Fonts` which is a wrapper around an `Arc`, so sharing fonts between multiple `egui::Context`s should be fairly easy to implement, if anyone would care to make a...
egui passes closures to functions to call, like this: ``` rust ui.collapsing_header("Foo", |ui| { // … }); ``` These aren't really "callbacks" in the classical sense since they are called...
A RAII approach would also require a `Ui` to keep a reference to its parent `Ui`, leading to a lot of hassle with lifetimes. I would be more interested in...
Another downside of the current closure approach is code bloat and long compile times (due to excessive monomorphization)
Hi, and thanks for the PR! Can you describe what this is supposed to do? The new code is very sparse on documentation. I ran it on my mac and...
Do you get a `WindowEvent::DroppedFile` in `egui-winit/src/lib.rs`?
Then that sounds like a bug in `winit`. I suggest making a simple drag-and-drop demo for winit (you can find some templates at https://github.com/rust-windowing/winit/tree/master/examples) and open an `winit` issue.
I think this is a problem that should be reported to `winit`