Move gifs to git lfs (#5706)
Since we moved pngs to lfs I think we should also move the gifs there. * [x] I have followed the instructions in the PR template
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
13
README.md
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
|
||||
<div align="center">
|
||||
<a href="https://www.rerun.io/"><img src="media/rerun_io_logo.png" width="250"></a>
|
||||
<a href="https://www.rerun.io/"><img src="https://github.com/user-attachments/assets/78e79463-4357-461b-bbd1-31aa5ef5e1a2" width="250"></a>
|
||||
|
||||
egui development is sponsored by [Rerun](https://www.rerun.io/), a startup building<br>
|
||||
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"));
|
||||
```
|
||||
|
||||
<img alt="Dark mode" src="media/demo.gif"> <img alt="Light mode" src="media/demo_light_mode.png" height="278">
|
||||
<img alt="Dark mode" src="https://github.com/user-attachments/assets/3b446d29-99d8-4c82-86bb-4d8ef0516017"> <img alt="Light mode" src="https://github.com/user-attachments/assets/a5e7da93-89a8-4ba0-86b8-0fa2228a4f62" height="278">
|
||||
|
||||
## 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.
|
||||
|
||||
<img src="media/widget_gallery_0.23.gif" width="50%">
|
||||
<img src="https://github.com/user-attachments/assets/13e73b76-e456-42bd-8ec9-220802834268" width="50%">
|
||||
|
||||
Light Theme:
|
||||
|
||||
<img src="media/widget_gallery_0.23_light.png" width="50%">
|
||||
|
||||
<img src="https://github.com/user-attachments/assets/2e38972c-a444-4894-b32f-47a2719cf369" width="50%">
|
||||
|
||||
## 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):
|
||||
|
||||
<img src="media/pompodoro-skin.png" width="50%">
|
||||
<img src="https://github.com/user-attachments/assets/e6107237-2547-41d6-996b-9a20ae0345ab" width="50%">
|
||||
|
||||
### 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:
|
|||
---
|
||||
|
||||
<div align="center">
|
||||
<a href="https://www.rerun.io/"><img src="media/rerun_io_logo.png" width="440"></a>
|
||||
<a href="https://www.rerun.io/"><img src="https://github.com/user-attachments/assets/78e79463-4357-461b-bbd1-31aa5ef5e1a2" width="440"></a>
|
||||
|
||||
egui development is sponsored by [Rerun](https://www.rerun.io/), a startup building<br>
|
||||
an SDK for visualizing streams of multimodal data.
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 602 KiB After Width: | Height: | Size: 131 B |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 132 B |
|
Before Width: | Height: | Size: 167 KiB After Width: | Height: | Size: 131 B |
BIN
media/demo.gif
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 130 B |
|
Before Width: | Height: | Size: 4.0 MiB After Width: | Height: | Size: 132 B |
|
Before Width: | Height: | Size: 230 KiB After Width: | Height: | Size: 131 B |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 132 B |
|
Before Width: | Height: | Size: 197 KiB After Width: | Height: | Size: 131 B |
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 132 B |