diff --git a/.gitattributes b/.gitattributes index b5348bf2..8abb5d87 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,7 @@ * text=auto eol=lf Cargo.lock linguist-generated=false *.png filter=lfs diff=lfs merge=lfs -text +*.gif filter=lfs diff=lfs merge=lfs -text # Exclude some small files from LFS: crates/eframe/data/* !filter !diff !merge text=auto eol=lf diff --git a/.github/workflows/png_only_on_lfs.yml b/.github/workflows/png_only_on_lfs.yml index 624a7f45..7e006e75 100644 --- a/.github/workflows/png_only_on_lfs.yml +++ b/.github/workflows/png_only_on_lfs.yml @@ -25,7 +25,7 @@ jobs: exclude_pattern=$(printf "|^%s" "${exclude_paths[@]}" | sed 's/^|//') if comm -23 <(git ls-files | grep -Ev "$exclude_pattern" | sort) <(git lfs ls-files -n | sort) | grep "\.${ext}$"; then - echo "Error: Found binary file with extension .$ext not tracked by git LFS. See CONTRIBUTING.md" + echo "Error: Found binary file with extension .$ext not tracked by git LFS. See https://github.com/emilk/egui/blob/master/CONTRIBUTING.md#working-with-git-lfs" exit 1 fi done diff --git a/README.md b/README.md index fe2a7dbc..63e5f3ad 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@
- + egui development is sponsored by [Rerun](https://www.rerun.io/), a startup building
an SDK for visualizing streams of multimodal data. @@ -46,7 +46,7 @@ ui.label(format!("Hello '{name}', age {age}")); ui.image(egui::include_image!("ferris.png")); ``` -Dark mode     Light mode +Dark mode     Light mode ## Sections: @@ -136,12 +136,11 @@ Still, egui can be used to create professional looking applications, like [the R Check out the [3rd party egui crates wiki](https://github.com/emilk/egui/wiki/3rd-party-egui-crates) for even more widgets and features, maintained by the community. - + Light Theme: - - + ## Dependencies `egui` has a minimal set of default dependencies: @@ -268,7 +267,7 @@ This is not yet as powerful as say CSS, [but this is going to improve](https://g Here is an example (from https://github.com/a-liashenko/TinyPomodoro): - + ### How do I use egui with `async`? If you call `.await` in your GUI code, the UI will freeze, which is very bad UX. Instead, keep the GUI thread non-blocking and communicate with any concurrent tasks (`async` tasks or other threads) with something like: @@ -376,7 +375,7 @@ Default fonts: ---
- + egui development is sponsored by [Rerun](https://www.rerun.io/), a startup building
an SDK for visualizing streams of multimodal data. diff --git a/examples/images/src/ferris.gif b/examples/images/src/ferris.gif index 55784ef4..358bcf98 100644 Binary files a/examples/images/src/ferris.gif and b/examples/images/src/ferris.gif differ diff --git a/media/0.9.0-disabled.gif b/media/0.9.0-disabled.gif index 002aff5d..b032b373 100644 Binary files a/media/0.9.0-disabled.gif and b/media/0.9.0-disabled.gif differ diff --git a/media/demo-2021-01-17.gif b/media/demo-2021-01-17.gif index d4567156..a1045518 100644 Binary files a/media/demo-2021-01-17.gif and b/media/demo-2021-01-17.gif differ diff --git a/media/demo.gif b/media/demo.gif index 2df2ed08..67234b45 100644 Binary files a/media/demo.gif and b/media/demo.gif differ diff --git a/media/egui-0.10-plot.gif b/media/egui-0.10-plot.gif index ecd8fd20..d952aded 100644 Binary files a/media/egui-0.10-plot.gif and b/media/egui-0.10-plot.gif differ diff --git a/media/egui-0.15-code-editor.gif b/media/egui-0.15-code-editor.gif index 67648b78..a929b400 100644 Binary files a/media/egui-0.15-code-editor.gif and b/media/egui-0.15-code-editor.gif differ diff --git a/media/widget_gallery.gif b/media/widget_gallery.gif index 87ad694f..3b1fb903 100644 Binary files a/media/widget_gallery.gif and b/media/widget_gallery.gif differ diff --git a/media/widget_gallery_0.23.gif b/media/widget_gallery_0.23.gif index 66663107..e7f33004 100644 Binary files a/media/widget_gallery_0.23.gif and b/media/widget_gallery_0.23.gif differ diff --git a/media/widget_gallery_0.8.0.gif b/media/widget_gallery_0.8.0.gif index 8ee7d0b8..805b21bd 100644 Binary files a/media/widget_gallery_0.8.0.gif and b/media/widget_gallery_0.8.0.gif differ