chore(deps): update rust crate eframe to 0.24 #43
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.23
->0.24
Release Notes
emilk/egui (eframe)
v0.24.0
Compare Source
eframe::Frame
commands andWindowInfo
with egui #3564egui::ViewportBuilder
ineframe::NativeOptions
#3572Breaking changes:
Most settings in
NativeOptions
have been moved toNativeOptions::viewport
, which uses the newegui::ViewportBuilder
:NativeOptions::fullsize_content
has been replaced with four settings:ViewportBuilder::with_fullsize_content_view
,with_title_shown
,with_titlebar_shown
,with_titlebar_buttons_shown
frame.info().window_info
is gone, replaced withctx.input(|i| i.viewport())
.frame.info().native_pixels_per_point
is replaced withctx.input(|i| i.raw.native_pixels_per_point)
.Most commands in
eframe::Frame
has been replaced withegui::ViewportCommand
, so Soframe.close()
becomesctx.send_viewport_cmd(ViewportCommand::Close)
, etc.App::on_close_event
has been replaced withctx.input(|i| i.viewport().close_requested())
andctx.send_viewport_cmd(ViewportCommand::CancelClose)
.eframe::IconData
is nowegui::IconData
.eframe::IconData::try_from_png_bytes
is noweframe::icon_data::from_png_bytes
.App::post_rendering
is gone. Screenshots are taken withctx.send_viewport_cmd(ViewportCommand::Screenshots)
and are returned inegui::Event
which you can check with:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.