Emil Ernerfeldt
c8f6cae362
eframe app creation refactor ( #1363 )
...
* Change how eframe apps are created
* eframe: re-export epi::* so users don't need to care about what epi is
2022-03-16 15:39:48 +01:00
Emil Ernerfeldt
29c52e8eb6
Remove epi backend from egui_glow ( #1361 )
2022-03-13 22:49:24 +01:00
Emil Ernerfeldt
66d80e2519
Texture loading in egui ( #1110 )
...
* Move texture allocation into epaint/egui proper
* Add TextureHandle
* egui_glow: cast using bytemuck instead of unsafe code
* Optimize glium painter
* Optimize WebGL
* Add example of loading an image from file
2022-01-15 13:59:52 +01:00
Emil Ernerfeldt
753d709d3d
Hide console on windows for all examples in release builds ( #1008 )
2021-12-30 22:43:53 +01:00
d10sfan
90757ca221
Add Button::image_and_text ( #832 )
...
* Support image button with text
* Add example (`cargo run --example native_texture`)
2021-11-13 13:17:02 +01:00
Emil Ernerfeldt
ddd5f6f4f6
winit: don't explicitly handle Cmd-Q and Alt-F4 ( #881 )
...
Closes https://github.com/emilk/egui/issues/877
Still a problem: https://github.com/rust-windowing/winit/issues/1998
2021-11-07 20:58:02 +01:00
Emil Ernerfeldt
1dbe608e73
Refactor integrations ( #871 )
...
* Unify code in egui_glium and egui_glow into egui_winit::EpiIntegration
* Simplify `EguiGlium` interface
* Simplify `EguiGlow` interface
* egui_web refactor: merge `WebBackend` into `AppRunner`
2021-11-03 13:45:51 +01:00
Emil Ernerfeldt
19a2a57f80
Rename and clean-up the "pure" glium and glow examples
2021-10-20 15:05:41 +02:00
Emil Ernerfeldt
cf17cb2065
egui_glium: allow sharing a native glium texture using Rc
2021-09-20 22:52:29 +02:00
Emil Ernerfeldt
cfb6b31914
Improve native_texture.rs demo
2021-09-20 22:39:44 +02: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
triangle drawer
203d571c8b
Add api for accessing backend texture via epi ( #695 )
...
* Define NativeTexture trait for offscreen rendering
add demo for NativeTexture trait
* write changelog
* add comment for native texture example
* formatting
* add license of Rust logo
* NativeTexture trait method rename
remove duplicate function with native texture
remove rust logo
* deprecated notice for register_glium_texture,register_webgl_texture
* collect deprecated notice
2021-09-05 11:00:45 +02:00
Emil Ernerfeldt
749c5cbdc8
egui_glium: don't take control of the control_flow
...
Closes https://github.com/emilk/egui/issues/434
2021-06-24 16:24:05 +02:00
Emil Ernerfeldt
269a4538d9
clippy fixes for rust 1.53
2021-06-22 23:38:34 +02:00
Emil Ernerfeldt
c9766f8a7b
Resizable panels + right and bottom panels ( #438 )
...
* Side panel resizing and add right panels
* Add resizable top/bottom panels
* Deprecate TopPanel
* Final tweaks and update CHANGELOG.md
2021-05-26 22:06:10 +02:00
Emil Ernerfeldt
268ddca161
demo_app: Remove screen_reader from default features
...
closes https://github.com/emilk/egui/issues/338
2021-05-08 16:27:41 +02:00
Emil Ernerfeldt
7f0689e566
Refactor egui_glium with new EguiGlium wrapper and standalone example
2021-04-25 17:02:27 +02:00