Emil Ernerfeldt
ffd28252ab
cargo update
3 years ago
Emil Ernerfeldt
84399cde83
Small tweaks to documentation and demo
3 years ago
Emil Ernerfeldt
d0a47bf8e8
setup_web.sh: don't force-install wasm-bindgen-cli
3 years ago
Emil Ernerfeldt
190c85a40f
Rename `Texture` to `FontImage`
3 years ago
Emil Ernerfeldt
d775eb3733
Fix wrong label on the feature request PR template
3 years ago
Emil Ernerfeldt
68fca09df9
Improve documentation
3 years ago
Emil Ernerfeldt
00f965de87
Add Context::animate_bool_with_time
Closes https://github.com/emilk/egui/discussions/984
3 years ago
Rasmus Brönnegård
811b974003
Fix typo "the close" -> "this close" in style.rs ( #887 )
3 years ago
Emil Ernerfeldt
5b9a349c26
Clean up glow painter destroy code
3 years ago
Emil Ernerfeldt
beb2ea2ef6
Add favicon.ico - a single "e" for "egui", using the Ubuntu-Light font
3 years ago
Emil Ernerfeldt
c412fd4a9c
Add loading animation while waiting for wasm to load
Closes https://github.com/emilk/egui/issues/1009
3 years ago
Emil Ernerfeldt
cda4c8ba13
Minor cleanup following https://github.com/emilk/egui/pull/999
3 years ago
Emil Ernerfeldt
f919b0cc05
Clean up context menu documentation
3 years ago
Emil Ernerfeldt
369ce95bbd
Add `CollapsingHeader::open` to control if it is open or collapsed ( #1006 )
Closes https://github.com/emilk/egui/issues/978
3 years ago
Emil Ernerfeldt
2684929a5d
Make Memory::lock_focus public
closes https://github.com/emilk/egui/issues/993
3 years ago
Emil Ernerfeldt
c63996179b
README.md: add link to discussion of begin/end calls vs closures
3 years ago
Emil Ernerfeldt
b88bec9ca3
Document that `CtxRef` is generational and shouldn't be stored
Related to https://github.com/emilk/egui/issues/1005
3 years ago
Emil Ernerfeldt
b7441eeee7
Make epi::Frame cloneable so you can allocate textures in other threads ( #999 )
Closes https://github.com/emilk/egui/issues/673
Also adds `epi::Image`
3 years ago
Emil Ernerfeldt
647e020824
file_dialogs example: remove macos exemption
this got fixed in the latest winit upgrade
3 years ago
Emil Ernerfeldt
d5efa4bbca
1.56 fix: missing_crate_level_docs -> rusdoc::missing_crate_level_docs
3 years ago
Emil Ernerfeldt
c60d17b91b
Set MSRV to 1.56.0 and use rust edition 2021 ( #998 )
3 years ago
Emil Ernerfeldt
ee00214511
Add a badge and link to the official discord server
Closes https://github.com/emilk/egui/pull/990
3 years ago
Ivgeni "Iv" Segal
26885c20d0
Add ability to customize the display of hover plot labels ( #934 )
* Add ability to customize the display of hover plot labels
* Ergonomic enhancement to plot hover label function
* Use Option instead of empty string for custom hover label name arg
* Revert "Use Option instead of empty string for custom hover label name arg"
This reverts commit 296caebb74
.
Co-authored-by: Ivgeni Segal <ivgeni.segal@tovutiteam.com>
3 years ago
Victor Sergienko
d05379902c
#972 : ScrollArea::stick_to_bottom() has no effect if ScrollArea is not initialized. ( #973 )
3 years ago
Aevyrie
c69fe941af
Reverse horizontal scrolling on windows ( #966 )
* Reverse horizontal scrolling on windows
* Add link to winit issue
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
3 years ago
Jay Oster
dd99f68e82
Update winit to 0.26 ( #930 )
Also update glium, glutin and rfd
3 years ago
kud1ing
214d2b5d4f
Changlog: mention `menu::menu(ui, ...)` => `ui.menu_button(...)` ( #956 )
3 years ago
Jan Haller
5ec14867c8
OrderedFloat refactor ( #918 )
* Move egui/util/float_ord.rs -> epaint/util/ordered_float.rs
* Implement Hash on OrderedFloat
* Generic OrderedFloat<T>; impl Hash; documentation
3 years ago
Emil Ernerfeldt
c85eca6eaa
Update changelog
3 years ago
Jan Haller
1088d950e9
Add bar charts and box plots ( #863 )
Changes:
* New `BarChart` and `BoxPlot` diagrams
* New `FloatOrd` trait for total ordering of float types
* Refactoring of existing plot items
Co-authored-by: niladic <git@nil.choron.cc>
3 years ago
Alexander Chaplin Braz
224d4d6d26
eframe: don't prettify presisted ron strings ( #902 )
What ultimately ends up stored into a file is the
HashMap<String, String>, which when prettified only nets three
(depending on the settings) lines of "string": "long prettified
string that's really hard to read because of the extra indentation and
literal \n characters that are all just on one single line".
Not prettifying the values in the first place makes it somewhat easier
to read and also saves a bit of space.
3 years ago
Sven Niederberger
9d56bce592
Improved plot interaction methods ( #892 )
ctx plot_bounds plot_hovered screen_from_plot plot_from_screen etc
3 years ago
Henrique Penteado Kujawski Périgo
6b5c4b9aec
Disable glow scissor test after painting ( #905 )
3 years ago
Emil Ernerfeldt
5fee6b7bc5
Anti-alias path ends ( #893 )
Closes https://github.com/emilk/egui/issues/876
3 years ago
Emil Ernerfeldt
a0b635dc21
Add `Button::image_and_text` to changelog
following https://github.com/emilk/egui/pull/832
3 years ago
d10sfan
90757ca221
Add Button::image_and_text ( #832 )
* Support image button with text
* Add example (`cargo run --example native_texture`)
3 years ago
Emil Ernerfeldt
8896243146
Fix egui_web integration link in demo app
3 years ago
Emil Ernerfeldt
89700dfbbb
Improve egui_glow debug prints
3 years ago
Emil Ernerfeldt
105cb57050
Clean up glsl code
3 years ago
Emil Ernerfeldt
b5cb2b2c0d
Some code cleanup following https://github.com/emilk/egui/pull/888
3 years ago
triangle drawer
008a971e73
Fix wrong gamma in WebkitGTK ( #888 )
Closes https://github.com/emilk/egui/issues/794
Also refactor and improve VAO support detection
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
3 years ago
Emil Ernerfeldt
4d4c75c6f1
Fix vertical slider up/down keys and add a line in the changelog
Follow-up to https://github.com/emilk/egui/pull/875
3 years ago
Bruce Reif (Buswolley)
491739b580
implement vertical slider orientation ( #875 )
3 years ago
Sven Niederberger
0bad1d0c99
Plot interaction methods ( #766 )
* move to a basic plot builder with callback
* add some interaction methods
* move interaction demo to its own panel
3 years ago
Emil Ernerfeldt
6018c0e194
Area: automatically request a repaint when showing up for the first time ( #866 )
3 years ago
Emil Ernerfeldt
951ee4e142
Improve color picker cache ( #886 )
* colorpicker: try to maintain hue even when saturation goes to zero
* More consistent arguments to color types
* implement `Hash` for `Rgba`.
3 years ago
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
3 years ago
Emil Ernerfeldt
19d24bbebe
Don't clip popups to the parent cliprect ( #885 )
Closes https://github.com/emilk/egui/issues/825
3 years ago
Emil Ernerfeldt
878eddd546
When using a custom font you can now specify a font index ( #873 )
When using a custom font you can now specify a font index
Closes https://github.com/emilk/egui/issues/853
3 years ago
sumibi-yakitori
10c8ffa543
Fix to limit X position of text agent to client width ( #870 )
3 years ago