Konkitoman
191ee82c3e
Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports
2023-08-15 02:17:12 +03:00
Emil Ernerfeldt
08fb447fb5
Increase MSRV to 1.67 ( #3234 )
...
* Bump MSRV to 1.67
* clippy fixes
* cargo clippy: inline format args
* Add `clippy::uninlined_format_args` to cranky lints
* Fix clippy on wasm
* More clippy fixes
2023-08-11 13:54:02 +02:00
Konkitoman
86ef11c521
Now viewport_id always will be in a ViewportId you cannot create a ViewportId you can only get the main one everywere or get the current viewport id with Context::get_viewport_id
2023-08-09 18:33:59 +03:00
Konkitoman
e8027b3c3a
Removed viewport_id and parent_viewport_id from eframe::Frame
2023-08-04 09:10:01 +03:00
Konkitoman
93a7c018d7
Now App::update will be responsabile for what viewport will be drawned and its content
...
A big refactoring was needed
2023-07-25 10:54:31 +03:00
Emil Ernerfeldt
4d357b0f02
clippy fixes from 1.69.0
2023-04-21 11:33:18 +02:00
Emil Ernerfeldt
ce761e548f
use env_logger in all examples ( #2934 )
2023-04-19 16:35:38 +02:00
Emil Ernerfeldt
8ce0e1c520
Avoid deadlocks by using lambdas for context lock ( #2625 )
...
ctx.input().key_pressed(Key::A) -> ctx.input(|i| i.key_pressed(Key::A))
2023-01-25 10:24:23 +01:00
Emil Ernerfeldt
37fd141dd1
Rename eframe::EframeError to eframe::Error
2022-12-14 17:29:54 +01:00
Emil Ernerfeldt
cb77458f70
eframe error handling ( #2433 )
...
* eframe::run_native: return errors instead of crashing
* Detect and handle glutin errors
* egui_demo_app: silence wgpu log spam
* Add trace logs for why eframe is shutting down
* Fix: only save App state once on Mac
* Handle Winit failure
* Log where we load app state from
* Don't panic on zero-sized window
* Clamp loaded window size to not be too tiny to see
* Simplify code: more shared code in window_builder
* Improve code readability
* Fix wasm32 build
* fix android
* Update changelog
2022-12-12 15:16:32 +01:00
Emil Ernerfeldt
170b21b63e
Add opt-in support for the 'puffin' profiler in eframe ( #1483 )
2022-04-13 11:06:13 +02:00