Emil Ernerfeldt
d5673412dd
Put everything in Context behind the same Mutex ( #1050 )
...
* Move all interior mutability from Context to CtxRef and make it a handle
* Rename `CtxRef` to `Context`
* The old `Context` is now `ContextImpl` and is non-pub
* Add benchmark Painter::rect
Co-authored-by: Daniel Keller <dklr433@gmail.com >
2022-01-10 23:13:10 +01:00
Emil Ernerfeldt
753d709d3d
Hide console on windows for all examples in release builds ( #1008 )
2021-12-30 22:43:53 +01:00
Emil Ernerfeldt
b7441eeee7
Make epi::Frame cloneable so you can allocate textures in other threads ( #999 )
...
Closes https://github.com/emilk/egui/issues/673
Also adds `epi::Image`
2021-12-26 21:21:28 +01:00
Emil Ernerfeldt
a5a5d6176d
Improve the frame around ImageButton
...
Helps https://github.com/emilk/egui/issues/721
2021-09-20 22:37:21 +02:00
Emil Ernerfeldt
6902151a96
Add example of loading and showing an image with eframe/egui
...
Closes https://github.com/emilk/egui/pull/700
2021-09-04 17:44:01 +02:00