Emil Ernerfeldt
97ce103209
Release 0.19.0 - wgpu backend, repaint_after, continue-after-close
2 years ago
Emil Ernerfeldt
2453756782
Fix broken GitHub source links due to #1940
2 years ago
Emil Ernerfeldt
041f2e64ba
Move all crates into a `crates` directory ( #1940 )
2 years ago
Matt Campbell
7a46a23db5
Update MSRV to Rust 1.61.0 ( #1846 )
2 years ago
Emil Ernerfeldt
cf591da1a0
Use past tense in all changelogs (for consistency)
2 years ago
Emil Ernerfeldt
dc26890a80
Release 0.18.0 - Shape::Callback, Table, and better text contrast
3 years ago
Emil Ernerfeldt
cf0338d48f
Rust 1.60.0 + refactor cargo features ( #1467 )
* Update to rust 1.60.0
* Rename the feature `convert_bytemuck` to `bytemuck`
* Rename the feature `serialize` to `serde`.
* Make use of the "weak dependency" cargo feature
* Set rust-version = "1.60" for all crates
* egui_glow: clipboard, links, persistence & winit are now opt-in features
3 years ago
Emil Ernerfeldt
29c52e8eb6
Remove epi backend from egui_glow ( #1361 )
3 years ago
Emil Ernerfeldt
a05520b9d3
Release 0.17.0 - Improved font selection and image handling
3 years ago
Emil Ernerfeldt
c3be566574
egui-winit: Automatically detect and apply dark or light mode ( #1045 )
3 years ago
Emil Ernerfeldt
66d80e2519
Texture loading in egui ( #1110 )
* Move texture allocation into epaint/egui proper
* Add TextureHandle
* egui_glow: cast using bytemuck instead of unsafe code
* Optimize glium painter
* Optimize WebGL
* Add example of loading an image from file
3 years ago
Emil Ernerfeldt
0146c7e7fc
Release 0.16.0 - Context menus and rich text
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
Jay Oster
dd99f68e82
Update winit to 0.26 ( #930 )
Also update glium, glutin and rfd
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
1dbe608e73
Refactor integrations ( #871 )
* Unify code in egui_glium and egui_glow into egui_winit::EpiIntegration
* Simplify `EguiGlium` interface
* Simplify `EguiGlow` interface
* egui_web refactor: merge `WebBackend` into `AppRunner`
3 years ago
Emil Ernerfeldt
08cc07bb2d
Release 0.15.0 - Syntax highlighting, hscroll, egui-winit and egui_glow
3 years ago
Emil Ernerfeldt
df3aeab434
Update egui_glium and egui_web changelogs
3 years ago
Emil Ernerfeldt
3e1db880dc
Revert change to winit event loop in egui_glium ( #756 )
* Revert change to winit event loop in egui_glium
This reverts https://github.com/emilk/egui/pull/631
Fixes https://github.com/emilk/egui/issues/755
* Add example of file dialogs and file drag-and-drop
* fix ci
3 years ago
Emil Ernerfeldt
1b36863248
Split out new crate egui-winit from egui_glium ( #735 )
3 years ago
Emil Ernerfeldt
249876523d
Increase scroll-speed on glium from 8 to 50 points per scroll tick
Closes https://github.com/emilk/egui/issues/461
Closes https://github.com/emilk/egui/pull/702
3 years ago
triangle drawer
203d571c8b
Add api for accessing backend texture via epi ( #695 )
* Define NativeTexture trait for offscreen rendering
add demo for NativeTexture trait
* write changelog
* add comment for native texture example
* formatting
* add license of Rust logo
* NativeTexture trait method rename
remove duplicate function with native texture
remove rust logo
* deprecated notice for register_glium_texture,register_webgl_texture
* collect deprecated notice
3 years ago
Emil Ernerfeldt
9598596bdc
Replace all http code in epi/eframe/egui_glium/egui_web with ehttp ( #697 )
I've extracted all the http request code and turned it
into its own crate at <https://github.com/emilk/ehttp >.
There was never a reason for the HTTP request library to be part of
`eframe`. Much better to have it as its own crate!
3 years ago
Emil Ernerfeldt
cb566fc295
Release 0.14.0 - Ui panels and bug fixes
3 years ago
Emil Ernerfeldt
a256ca115b
Drag and drop files into egui_glium and egui_web ( #637 )
* Implement file drag-and-drop for egui_glium
* Implement file drag-and-drop into egui_web
* Cleanup
3 years ago
Emil Ernerfeldt
04b3921923
egui_glium: run app code outside event loop to fix file dialogs ( #631 )
Previously app code was run from within the event loop
which lead to file dialogs (e.g. using nfd2) to hang
(see https://github.com/rust-windowing/winit/issues/1779 )
Now egui_glium polls for events and then runs the app code.
3 years ago
Emil Ernerfeldt
9bc732328f
eframe: Don't restore window position on Windows
If the app last ran on two monitors and only one is now connected, then
the given position is invalid.
If this happens on Mac, the window is clamped into valid area.
If this happens on Windows, the window is hidden and impossible
to bring to get at. So we no longer restore window positions on Windows.
3 years ago
Emil Ernerfeldt
96c45716be
Expand and clean up changelogs
3 years ago
Jay Oster
3a14f5e8e2
Fix a bug on Windows where minimizing adjusts all of the egui window positions. ( #522 )
- Closes #518
- This bug is caused by an issue in winit where minimized windows will
be given 0 width and height on Windows.
- See: https://github.com/rust-windowing/winit/issues/208
- See also: https://github.com/hasenbanck/egui_winit_platform/pull/19
3 years ago
Emil Ernerfeldt
ccecad88b1
egui_glium and eframe 0.13.1: fix http feature and docs
3 years ago
Emil Ernerfeldt
d807451348
Release 0.13.0 - Better panels, plots and new visual style
3 years ago
Emil Ernerfeldt
749c5cbdc8
egui_glium: don't take control of the control_flow
Closes https://github.com/emilk/egui/issues/434
3 years ago
Emil Ernerfeldt
44b573f6a6
epi: merge App::load into App::setup, and provide Frame argument
This gives users more control over the order of load/setup.
It also allows users to load textures in setup.
3 years ago
Ivo Vollrath
67c6002578
Fix mac scroll modifier ( #402 )
* fix modifier key for mouse wheel zoom
* update CHANGELOG
* fix zoom modifier for web backend
* improve instructions in plot demo window
* accept emilk's proposed change
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
* update UI instructions for Plot demo
* improve UI instructions for plot demo
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
4 years ago
Emil Ernerfeldt
8f8ba16696
Release 0.12.0 - Multitouch, user memory, window pivots, and improved plots
4 years ago
Emil Ernerfeldt
7f0689e566
Refactor egui_glium with new EguiGlium wrapper and standalone example
4 years ago
Emil Ernerfeldt
d544c3dd8b
Release 0.11.0 - Optimization, screen reader & new layout logic
4 years ago
Emil Ernerfeldt
3450168e94
egui_glium: add support for transparent windows
Also support non-decorated windows (without border)
4 years ago
Emil Ernerfeldt
fb2db4940e
Release 0.10.0 - Plot and polish
4 years ago
Kayo Phoenix
c9919daa11
Added shaders on GLSL 1.2 ( #187 )
* Added shaders on GLSL 1.2
- Used `glium::program` to create shaders
- Moved shaders code to its own sources and include it as str
- Added shaders implementation on GLSL which allows run egui on old hardware
(Raspberry Pi 1/zero in game again)
* Moved webgl shaders code to sources in `shader` subdir
* Added GLSL ES shaders to glium backend to support OpenGL ES
* Described changes related to GLSL versions support
4 years ago
Emil Ernerfeldt
b61db038f2
Release 0.9.0 - light mode, right clicks and more
4 years ago
Emil Ernerfeldt
37a3fe7f76
Release 0.8.0 - Grid layout & new visual style
4 years ago
Emil Ernerfeldt
31b7eda51e
Rename Egui to egui
Also update iamges in README.md
4 years ago
Emil Ernerfeldt
718eec4b89
[egui_glium] Fix set_window_size for non-native pixels_per_point
4 years ago
Emil Ernerfeldt
4933bb3c30
[egui_glium] Fix a bug where key releases weren't sent to Egui
Fixes https://github.com/emilk/egui/issues/102
4 years ago
Emil Ernerfeldt
d0d22ea09b
Release 0.7.0
4 years ago
Emil Ernerfeldt
dca7f85f21
Release Egui 0.6.0
4 years ago
Patrik Höglund
bb469bf52f
Make it possible to set Glium windows as not resizable. ( #69 )
4 years ago
Emil Ernerfeldt
dbab277658
[egui_glium] Restore window position when starting app
4 years ago
Emil Ernerfeldt
8f034d391d
[egui_glium] Your app state will auto-save to a good directory
Directory found with https://docs.rs/directories-next/2.0.0/directories_next/struct.ProjectDirs.html#method.data_dir
4 years ago