From 15f1566578b32baca5facd439af6c3d0e152320c Mon Sep 17 00:00:00 2001
From: gigas002
{
}
}
-mod platform {
- use crate::core::keyboard;
-
- pub fn is_jump_modifier_pressed(modifiers: keyboard::Modifiers) -> bool {
- if cfg!(target_os = "macos") {
- modifiers.alt()
- } else {
- modifiers.control()
- }
- }
-
- /// Whether the command key is pressed on a macOS device.
- ///
- /// This is relevant for actions like ⌘ + ArrowLeft to move to the beginning of the
- /// line where the equivalent behavior for `modifiers.command()` is instead a jump on
- /// other platforms.
- pub fn is_macos_command_pressed(modifiers: keyboard::Modifiers) -> bool {
- if cfg!(target_os = "macos") {
- modifiers.logo()
- } else {
- false
- }
- }
-}
-
fn offset
@@ -25,29 +18,3 @@ Currently, `iced_wgpu` supports the following primitives:
[native platforms]: https://github.com/gfx-rs/wgpu#supported-platforms
[WebGPU API]: https://gpuweb.github.io/gpuweb/
[`wgpu_glyph`]: https://github.com/hecrj/wgpu_glyph
-
-## Installation
-Add `iced_wgpu` as a dependency in your `Cargo.toml`:
-
-```toml
-iced_wgpu = "0.10"
-```
-
-__Iced moves fast and the `master` branch can contain breaking changes!__ If
-you want to learn about a specific release, check out [the release list].
-
-[the release list]: https://github.com/iced-rs/iced/releases
-
-## Current limitations
-
-The current implementation is quite naive; it uses:
-
-- A different pipeline/shader for each primitive
-- A very simplistic layer model: every `Clip` primitive will generate new layers
-- _Many_ render passes instead of preparing everything upfront
-- A glyph cache that is trimmed incorrectly when there are multiple layers (a [`glyph_brush`] limitation)
-
-Some of these issues are already being worked on! If you want to help, [get in touch!]
-
-[get in touch!]: ../CONTRIBUTING.md
-[`glyph_brush`]: https://github.com/alexheretic/glyph-brush
diff --git a/winit/README.md b/winit/README.md
index 91307970..c60e81f9 100644
--- a/winit/README.md
+++ b/winit/README.md
@@ -15,15 +15,3 @@ It exposes a renderer-agnostic `Application` trait that can be implemented and t
[documentation]: https://docs.rs/iced_winit
[`iced_native`]: ../native
[`winit`]: https://github.com/rust-windowing/winit
-
-## Installation
-Add `iced_winit` as a dependency in your `Cargo.toml`:
-
-```toml
-iced_winit = "0.9"
-```
-
-__Iced moves fast and the `master` branch can contain breaking changes!__ If
-you want to learn about a specific release, check out [the release list].
-
-[the release list]: https://github.com/iced-rs/iced/releases
From 37aff42e4711199eef64079636ff808c6fe3124b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?=