Emil Ernerfeldt
041f2e64ba
Move all crates into a `crates` directory ( #1940 )
2 years ago
Emil Ernerfeldt
9c58f12a6c
eframe: several windows in series ( #1919 )
* Add example of opening several eframe windows in series
* Reuse the same winit event loop
* Ignore events to the wrong window
* Run run_return again
2 years ago
René Rössler
4a7a2d6430
eframe::App::post_rendering ( #1591 )
2 years ago
Emil Ernerfeldt
fff2008255
Move three-d patch into example Cargo.tom
2 years ago
Sebastian Urban
b2510676b9
Take Glow context using Arc. ( #1640 )
This allows usage with a Glow context that is passed between threads.
2 years ago
Emil Ernerfeldt
931e716b97
Add egui_wgpu crate ( #1564 )
Based on https://github.com/hasenbanck/egui_wgpu_backend
`egui-wgpu` is now an official backend for `eframe` (opt-in).
Use the `wgpu` feature flag on `eframe` and the `NativeOptions::renderer` settings to pick it.
Co-authored-by: Nils Hasenbanck <nils@hasenbanck.de>
Co-authored-by: Sven Niederberger <niederberger@embotech.com>
Co-authored-by: Sven Niederberger <73159570+s-nie@users.noreply.github.com>
3 years ago
Emil Ernerfeldt
bb421c7e8a
Remove `egui_web` and `epi` ( #1545 )
* Remove integration name (it is always eframe)
* Remove egui_web crate
* Move egui_web/CHANGELOG.md into eframe/CHANGELOG.md
* Remove all mentions of egui_web
* Remove epi crate and absorb into eframe
* egui_glow: only use puffin on native
* Remove WASM doc from CI (we don't generate it anyways!)
* Remove eframe::epi and improve eframe docs
3 years ago
tami5
b738418243
New example 'custom_font_style' + improve docs ( #1476 )
3 years ago
Emil Ernerfeldt
2ae93c40ab
Move examples out of `eframe/examples` into `examples/` ( #1486 )
* Move examples out of eframe/examples into examples/
Give each example a `Cargo.toml` and `src/main.rs`.
This makes it easier for people to use as templates.
* Update README.md with more deps needed on vanilla Ubuntu
* Install libgtk-3-dev on CI, hoping that will fix something
3 years ago
Emil Ernerfeldt
170b21b63e
Add opt-in support for the 'puffin' profiler in eframe ( #1483 )
3 years ago
Emil Ernerfeldt
c3fc8997d6
Introduce egui_extras with RetainedImage for loading svg,png,jpeg,… ( #1282 )
3 years ago
Emil Ernerfeldt
603ec82a5e
cargo deny: clarify MPL-2.0 license and use un-patched ureq again ( #1222 )
See https://github.com/algesten/ureq/issues/478#issuecomment-1031029647
3 years ago
Emil Ernerfeldt
ace2ac00da
Update to tts 0.20.2 which resolves copy-left license issue
See https://github.com/ndarilek/tts-rs/pull/21
3 years ago
Emil Ernerfeldt
712d8c9a2b
Run cargo deny in CI ( #1205 )
* Run cargo deny in CI
* Use patched fork of ureq to avoid copy-left license
* Use patched fork of tts to avoid LGPL license
More:
* https://github.com/ndarilek/tts-rs/pull/21
* https://github.com/algesten/ureq/pull/479
3 years ago
Emil Ernerfeldt
cdd4dccf5f
Add egui_glow as an opt-in backend to eframe ( #817 )
* Make egui_glow and opt-in backend for eframe
* Add egui_glow to Cargo.toml and to CI
* Reference egui_glow where egui_glium is mentioned
* Remove path-patches from root Cargo.toml
* Add instructions on how to enable the glow backend of eframe
3 years ago
Emil Ernerfeldt
1b36863248
Split out new crate egui-winit from egui_glium ( #735 )
3 years ago
Emil Ernerfeldt
23d292a974
faster debug builds on mac
4 years ago
Emil Ernerfeldt
facb01a7c2
Use wasm-opt when compiling for web
4 years ago
Emil Ernerfeldt
1f965d16a2
Try the new cargo dependency resolver added in rust 1.51
4 years ago
Emil Ernerfeldt
26d576f510
Break out mod paint into new crate epaint
4 years ago
Emil Ernerfeldt
a0b0f36d29
Move egui/math into new crate emath
4 years ago
Emil Ernerfeldt
defad4ed51
Merge example_web into egui_demo_lib
4 years ago
Emil Ernerfeldt
6d9cdafbc9
Rename egui_demo to egui_demo_app to avoid confusion with egui_demo_lib
4 years ago
Emil Ernerfeldt
d7459bc13d
Move `egui::app` into new `epi` crate
4 years ago
Emil Ernerfeldt
6953dc7d5d
Split out the Egui demo code to new crate `egui_demo_lib`
4 years ago
Emil Ernerfeldt
d0f6954900
Combine demo_glium and demo_web into one egui_demo crate
4 years ago
Emil Ernerfeldt
2fe1e99218
Remove example_glium
Look at https://github.com/emilk/egui_template instead
4 years ago
Emil Ernerfeldt
0cb3bb791b
Add `example_web` app
4 years ago
Emil Ernerfeldt
61cdec8fca
[refactor] rename 'example' to 'demo', and add simple example_glium
4 years ago
Emil Ernerfeldt
8dced5896c
rename egui_wasm to egui_web
4 years ago
Emil Ernerfeldt
fd5ab736bb
Rename from "Emigui" to "Egui"
Shorter to type (especially in code).
5 years ago
Emil Ernerfeldt
025fae5586
Tweak opt-level and lto settings
5 years ago
Emil Ernerfeldt
3022231e4f
Reduce .wasm size by around 20%
5 years ago
Emil Ernerfeldt
1d6bc3baba
Minor API improvements
6 years ago
Emil Ernerfeldt
4836860c7b
Create emigui_glium library
6 years ago
Emil Ernerfeldt
e1652bef77
Rename example app to example_wasm
6 years ago
Emil Ernerfeldt
01862d07ae
Add native glium backend
6 years ago
Emil Ernerfeldt
1beed16053
Split example app from emigui_wasm
6 years ago
Emil Ernerfeldt
8963a99a09
Rename to Emigui
6 years ago
Emil Ernerfeldt
bfa20be28e
Break into two crates
6 years ago
Emil Ernerfeldt
094f8216c5
Separate layout from styling
6 years ago
Emil Ernerfeldt
2e2e7a7839
Refactor with some better types
6 years ago
Emil Ernerfeldt
856bbf4dae
Initial commit: Closed loop of TS->Rust->TS
6 years ago