Matt Campbell
7a46a23db5
Update MSRV to Rust 1.61.0 ( #1846 )
2022-07-26 16:50:53 +02:00
Emil Ernerfeldt
cf591da1a0
Use past tense in all changelogs (for consistency)
2022-07-23 23:55:21 +02:00
Emil Ernerfeldt
dc26890a80
Release 0.18.0 - Shape::Callback, Table, and better text contrast
2022-04-30 20:27:27 +02:00
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
2022-04-09 13:54:47 +02:00
Emil Ernerfeldt
29c52e8eb6
Remove epi backend from egui_glow ( #1361 )
2022-03-13 22:49:24 +01:00
Emil Ernerfeldt
a05520b9d3
Release 0.17.0 - Improved font selection and image handling
2022-02-22 19:32:30 +01:00
Emil Ernerfeldt
c3be566574
egui-winit: Automatically detect and apply dark or light mode ( #1045 )
2022-02-02 17:09:36 +01:00
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
2022-01-15 13:59:52 +01:00
Emil Ernerfeldt
0146c7e7fc
Release 0.16.0 - Context menus and rich text
2021-12-29 12:07:05 +01:00
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`
2021-12-26 21:21:28 +01:00
Jay Oster
dd99f68e82
Update winit to 0.26 ( #930 )
...
Also update glium, glutin and rfd
2021-12-20 22:44:53 +01:00
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
2021-11-07 20:58:02 +01:00
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`
2021-11-03 13:45:51 +01:00
Emil Ernerfeldt
08cc07bb2d
Release 0.15.0 - Syntax highlighting, hscroll, egui-winit and egui_glow
2021-10-24 16:15:07 +02:00
Emil Ernerfeldt
df3aeab434
Update egui_glium and egui_web changelogs
2021-10-18 23:13:13 +02:00
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
2021-09-30 18:53:41 +02:00
Emil Ernerfeldt
1b36863248
Split out new crate egui-winit from egui_glium ( #735 )
2021-09-28 17:33:28 +02:00
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
2021-09-07 19:45:13 +02:00
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
2021-09-05 11:00:45 +02:00
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!
2021-09-03 21:04:43 +02:00
Emil Ernerfeldt
cb566fc295
Release 0.14.0 - Ui panels and bug fixes
2021-08-24 16:47:10 +02:00
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
2021-08-20 22:20:45 +02:00
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.
2021-08-20 18:59:32 +02:00
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.
2021-08-18 22:51:04 +02:00
Emil Ernerfeldt
96c45716be
Expand and clean up changelogs
2021-08-15 18:31:50 +02:00
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
2021-06-28 10:27:32 +02:00
Emil Ernerfeldt
ccecad88b1
egui_glium and eframe 0.13.1: fix http feature and docs
2021-06-24 20:36:36 +02:00
Emil Ernerfeldt
d807451348
Release 0.13.0 - Better panels, plots and new visual style
2021-06-24 20:00:06 +02:00
Emil Ernerfeldt
749c5cbdc8
egui_glium: don't take control of the control_flow
...
Closes https://github.com/emilk/egui/issues/434
2021-06-24 16:24:05 +02:00
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.
2021-06-07 20:53:33 +02:00
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>
2021-05-20 19:56:33 +02:00
Emil Ernerfeldt
8f8ba16696
Release 0.12.0 - Multitouch, user memory, window pivots, and improved plots
2021-05-10 18:27:39 +02:00
Emil Ernerfeldt
7f0689e566
Refactor egui_glium with new EguiGlium wrapper and standalone example
2021-04-25 17:02:27 +02:00
Emil Ernerfeldt
d544c3dd8b
Release 0.11.0 - Optimization, screen reader & new layout logic
2021-04-05 14:49:06 +02:00
Emil Ernerfeldt
3450168e94
egui_glium: add support for transparent windows
...
Also support non-decorated windows (without border)
2021-03-31 20:53:13 +02:00
Emil Ernerfeldt
fb2db4940e
Release 0.10.0 - Plot and polish
2021-02-28 20:11:37 +01:00
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
2021-02-20 19:48:02 +01:00
Emil Ernerfeldt
b61db038f2
Release 0.9.0 - light mode, right clicks and more
2021-02-07 17:06:51 +01:00
Emil Ernerfeldt
37a3fe7f76
Release 0.8.0 - Grid layout & new visual style
2021-01-17 15:28:52 +01:00
Emil Ernerfeldt
31b7eda51e
Rename Egui to egui
...
Also update iamges in README.md
2021-01-17 14:48:59 +01:00
Emil Ernerfeldt
718eec4b89
[egui_glium] Fix set_window_size for non-native pixels_per_point
2021-01-17 12:24:17 +01:00
Emil Ernerfeldt
4933bb3c30
[egui_glium] Fix a bug where key releases weren't sent to Egui
...
Fixes https://github.com/emilk/egui/issues/102
2021-01-11 18:09:09 +01:00
Emil Ernerfeldt
d0d22ea09b
Release 0.7.0
2021-01-04 15:52:29 +01:00
Emil Ernerfeldt
dca7f85f21
Release Egui 0.6.0
2020-12-26 22:43:29 +01:00
Patrik Höglund
bb469bf52f
Make it possible to set Glium windows as not resizable. ( #69 )
2020-12-22 15:20:38 +01:00
Emil Ernerfeldt
dbab277658
[egui_glium] Restore window position when starting app
2020-12-21 22:10:31 +01:00
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
2020-12-19 21:06:59 +01:00
Emil Ernerfeldt
b0e17638df
trait App now has fn name() for specifying egui_glium window title
2020-12-18 22:30:59 +01:00
Emil Ernerfeldt
f1b4353039
[egui_glium]: Store window size in points instead of physical pixels
2020-12-16 19:38:28 +01:00
Emil Ernerfeldt
273d466f19
Nicer spacing in changelogs
2020-12-15 14:51:23 +01:00