4JX
7e7b9e1919
Per-corner rounding of rectangles ( #1206 )
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
3 years ago
Emil Ernerfeldt
0fa4bb9c64
Clean up all Cargo.toml: put features higher, and document them better
3 years ago
Juan Campa
32a9b4abcc
Add on_hover_text_at_pointer ( #1179 )
3 years ago
Juan Campa
ea28485bdd
Remove prevent_default for mousedown events ( #1209 )
This fixes the issue of tabs not focusing when egui is used inside vscode
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
Alan Race
3cd3cceefd
Add method to enable generation of a ComboBox with both id and label ( #1204 )
3 years ago
Emil Ernerfeldt
1b623fdd34
Update rfd 0.6 -> 0.7
3 years ago
Emil Ernerfeldt
47038c631e
Update image 0.23 -> 0.24
3 years ago
Emil Ernerfeldt
8dfa6ce2f0
Update tts 0.19 -> 0.20
3 years ago
Emil Ernerfeldt
3999e5b373
cargo update
Updating crates.io index
Removing anyhow v1.0.52
Updating atk-sys v0.14.0 -> v0.15.1
Updating backtrace v0.3.63 -> v0.3.64
Updating cairo-sys-rs v0.14.9 -> v0.15.1
Updating cfg-expr v0.8.1 -> v0.9.1
Updating clang-sys v1.3.0 -> v1.3.1
Updating crc32fast v1.3.0 -> v1.3.1
Updating enum-map v2.0.0 -> v2.0.1
Updating enum-map-derive v0.7.0 -> v0.8.0
Updating gdk-pixbuf-sys v0.14.0 -> v0.15.1
Updating gdk-sys v0.14.0 -> v0.15.1
Updating gio-sys v0.14.0 -> v0.15.4
Updating glib-sys v0.14.0 -> v0.15.4
Updating gobject-sys v0.14.0 -> v0.15.1
Updating gtk-sys v0.14.0 -> v0.15.3
Updating heck v0.3.3 -> v0.4.0
Updating js-sys v0.3.55 -> v0.3.56
Updating libc v0.2.116 -> v0.2.117
Updating lock_api v0.4.5 -> v0.4.6
Updating mint v0.5.8 -> v0.5.9
Updating nix v0.22.0 -> v0.22.3
Adding num_threads v0.1.3
Updating pango-sys v0.14.0 -> v0.15.1
Updating quote v1.0.14 -> v1.0.15
Updating rfd v0.6.3 -> v0.6.4
Updating serde v1.0.133 -> v1.0.136
Updating serde_derive v1.0.133 -> v1.0.136
Updating serde_json v1.0.75 -> v1.0.78
Removing strum v0.21.0
Removing strum_macros v0.21.1
Updating syn v1.0.85 -> v1.0.86
Updating system-deps v3.2.0 -> v6.0.1
Updating time v0.3.5 -> v0.3.7
Updating tracing v0.1.29 -> v0.1.30
Updating tracing-attributes v0.1.18 -> v0.1.19
Updating tracing-core v0.1.21 -> v0.1.22
Removing unicode-segmentation v1.8.0
Adding valuable v0.1.0
Updating version-compare v0.0.11 -> v0.1.0
Updating wasm-bindgen-futures v0.4.28 -> v0.4.29
Updating web-sys v0.3.55 -> v0.3.56
Updating which v4.2.2 -> v4.2.4
Adding windows v0.30.0
Adding windows_aarch64_msvc v0.30.0
Adding windows_i686_gnu v0.30.0
Adding windows_i686_msvc v0.30.0
Adding windows_x86_64_gnu v0.30.0
Adding windows_x86_64_msvc v0.30.0
Updating zbus v2.1.0 -> v2.1.1
Updating zbus_macros v2.1.0 -> v2.1.1
3 years ago
Emil Ernerfeldt
fd267c542e
Add a link to smithay-egui
3 years ago
Emil Ernerfeldt
c3be566574
egui-winit: Automatically detect and apply dark or light mode ( #1045 )
3 years ago
Unknown
270c08a030
min and max window size ( #1171 )
3 years ago
nongiach
869d556335
Plot boxed zoom with secondary mouse button ( #1188 )
3 years ago
Emil Ernerfeldt
c6ac1827f6
Use tracing crate for logging ( #1192 )
* egui_web: use tracing crate
* egui_glow: use tracing crate
* Log at the debug level
* egui_demo_app: enable tracing to log to stdout
* Use tracing in egui-winit
* Add opt-in tracing support to egui
3 years ago
Xu Desheng
1f03f53dc0
Add Bezier Shapes #1120 ( #1178 )
3 years ago
Sven Niederberger
4e99d8f409
Plot: Linked axis support ( #1184 )
3 years ago
Emil Ernerfeldt
b5aaa5fa6f
Improve some feature flags
3 years ago
Emil Ernerfeldt
2183e9fdea
Add early egui history to changelog
3 years ago
Emil Ernerfeldt
7eddd20a01
index.html: catch and display errors
3 years ago
Emil Ernerfeldt
871a200ecf
egui_web glow painter: return errors instead of panic
3 years ago
Emil Ernerfeldt
ef81a52951
egui_web: log panics using console.error
3 years ago
Emil Ernerfeldt
532990d3dd
emilk.github.io -> www.egui.rs
3 years ago
Emil Ernerfeldt
b4be94df35
Create CNAME
3 years ago
Emil Ernerfeldt
25c03e49eb
Delete CNAME
3 years ago
Emil Ernerfeldt
7ccc7caffd
Create CNAME
3 years ago
Emil Ernerfeldt
ea04ce9d58
Delete CNAME
3 years ago
Emil Ernerfeldt
f6b1feddcd
Create CNAME
3 years ago
Emil Ernerfeldt
4db6984e74
Delete CNAME
3 years ago
Emil Ernerfeldt
785c6f4c85
Create CNAME
3 years ago
Emil Ernerfeldt
b618636425
Add ui.data(), ctx.data(), ctx.options() and ctx.tessellation_options() ( #1175 )
Helpful access deeper into Memory
3 years ago
Emil Ernerfeldt
3333d63b91
Return more info from ScrollArea::show ( #1166 )
3 years ago
Emil Ernerfeldt
1134258441
Documentation improvements
3 years ago
AlexxxRu
0d00185d9f
Bugfix/drag window ( #1108 )
Call .drag_window() only after Left mouse btn clicked
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
3 years ago
Emil Ernerfeldt
26be0ace1d
Tidy up README.md
3 years ago
Emil Ernerfeldt
04c3efd01a
Minor optimization: avoid reallocating set of visible ID:s
3 years ago
Emil Ernerfeldt
417bb3123a
Fonts: only pre-render glyphs for fonts in the current egui styles
3 years ago
Emil Ernerfeldt
1e4d8ae943
Remove warm-up of demo app
Since https://github.com/emilk/egui/pull/1149 we only update the
region of the font atlas that has changes, so loading new glyphs is much
cheaper. This means warm-up is much less needed.
There is now a small delay when opening the font book,
but not when opening anything else.
3 years ago
Emil Ernerfeldt
7ed0880b8f
Lower default font atlas size ( #1160 )
In https://github.com/emilk/egui/pull/1154 the default was set to
16k x 512, which is way excessive, as most of it will be blank.
This PR changes it to 8k x 64, which will make egui
use less RAM and VRAM, and load quicker again.
This also decreases the max size from 16k² to 8k².
That should be enough.
3 years ago
Jan Haller
366f544655
Formatter for plot axis labels ( #1130 )
* Fix Orientation not exposed, although there are public fields with its type
* Implement formatters for X/Y axis labels
* Use array instead of separate X/Y formatters
* Swap axis formatters if charts are horizontal
* Review suggestions
3 years ago
Sven Niederberger
3418eb5d35
Make `Plot::highlight` take a boolean ( #1159 )
3 years ago
triangle drawer
9d596967b4
Reducing glutin dependency in egui_glow ( #1151 )
Use winit wherever possible
3 years ago
Emil Ernerfeldt
fa43d16c41
Choose your own font and size ( #1154 )
* Refactor text layout: don't need &Fonts in all functions
* Replace indexing in Fonts with member function
* Wrap Fonts in a Mutex
* Remove mutex for Font::glyph_info_cache
* Remove RwLock around Font::characters
* Put FontsImpl and GalleyCache behind the same Mutex
* Round font sizes to whole pixels before deduplicating them
* Make TextStyle !Copy
* Implement user-named TextStyle:s
* round font size earlier
* Cache fonts based on family and size
* Move TextStyle into egui and Style
* Remove body_text_style
* Query graphics about max texture size and use that as font atlas size
* Recreate texture atlas when it is getting full
3 years ago
Emil Ernerfeldt
bb407e9b00
Plot text can now contain rich text
3 years ago
bthehacker
dba949240f
Fix eframe changelog links to other changelogs ( #1146 )
Links to the changelogs of egui_web, egui-winit, and egui_glium were broken and led to a 404, fixed them by adding "../"
3 years ago
Emil Ernerfeldt
462f181db3
Partial font texture update ( #1149 )
3 years ago
Juan Campa
343f7da564
Add ability to override collapsing icons ( #1147 )
3 years ago
Emil Ernerfeldt
e957674467
glow on web: simplify the webgl2 vs webgl1 selection
3 years ago
Emil Ernerfeldt
199bbef77b
Add misc documentation
3 years ago
Emil Ernerfeldt
8138a073e7
glow: reuse the same GL texture when possible ( #1142 )
3 years ago