egui/crates
StratusFearMe21 7a6d80cc8c
Pass `ScreenDescriptor` to `egui_wgpu::CallbackTrait::prepare` (#3960)
<!--
Please read the "Making a PR" section of
[`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/master/CONTRIBUTING.md)
before opening a Pull Request!

* Keep your PR:s small and focused.
* If applicable, add a screenshot or gif.
* If it is a non-trivial addition, consider adding a demo for it to
`egui_demo_lib`, or a new example.
* Do NOT open PR:s from your `master` branch, as that makes it hard for
maintainers to add commits to your PR.
* Remember to run `cargo fmt` and `cargo cranky`.
* Open the PR as a draft until you have self-reviewed it and run
`./scripts/check.sh`.
* When you have addressed a PR comment, mark it as resolved.

Please be patient! I will review your PR, but my time is limited!
-->

`glyphon` requires the screen resolution during the `prepare` stage, and
passing that to the callback's `prepare` function seems pretty trivial.

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2024-02-05 11:17:21 +01:00
..
ecolor Use `Self` everywhere (#3787) 2024-01-08 17:41:21 +01:00
eframe Emilk/revert workspace deps (#3942) 2024-02-01 21:29:48 +01:00
egui Add `TextureOptions::wrap_mode` (#3954) 2024-02-05 09:37:05 +01:00
egui-wgpu Pass `ScreenDescriptor` to `egui_wgpu::CallbackTrait::prepare` (#3960) 2024-02-05 11:17:21 +01:00
egui-winit Emilk/revert workspace deps (#3942) 2024-02-01 21:29:48 +01:00
egui_demo_app Pass `ScreenDescriptor` to `egui_wgpu::CallbackTrait::prepare` (#3960) 2024-02-05 11:17:21 +01:00
egui_demo_lib Emilk/revert workspace deps (#3942) 2024-02-01 21:29:48 +01:00
egui_extras Override text color with stroke selection color for selected cells (#3968) 2024-02-05 09:17:22 +01:00
egui_glow Add `TextureOptions::wrap_mode` (#3954) 2024-02-05 09:37:05 +01:00
egui_plot Fix clip rect for plot items (#3955) 2024-02-05 08:24:49 +01:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Expand plot axes thickness to fit their labels (#3921) 2024-01-30 12:45:27 +01:00
epaint Add `TextureOptions::wrap_mode` (#3954) 2024-02-05 09:37:05 +01:00