Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9e3ad0e

Browse files
committed
Use crates.io release forwinit
1 parentc76a9eb commit9e3ad0e

File tree

7 files changed

+2
-129
lines changed

7 files changed

+2
-129
lines changed

‎Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,4 @@ web-time = "0.2"
161161
wgpu ="0.19"
162162
winapi ="0.3"
163163
window_clipboard ="0.4.1"
164-
winit ={git ="https://github.com/iced-rs/winit.git",rev ="b91e39ece2c0d378c3b80da7f3ab50e17bb798a5" }
164+
winit ="0.29"

‎core/src/event.rs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,6 @@ pub enum Event {
2323

2424
/// A touch event
2525
Touch(touch::Event),
26-
27-
/// A platform specific event
28-
PlatformSpecific(PlatformSpecific),
29-
}
30-
31-
/// A platform specific event
32-
#[derive(Debug,Clone,PartialEq,Eq)]
33-
pubenumPlatformSpecific{
34-
/// A MacOS specific event
35-
MacOS(MacOS),
36-
}
37-
38-
/// Describes an event specific to MacOS
39-
#[derive(Debug,Clone,PartialEq,Eq)]
40-
pubenumMacOS{
41-
/// Triggered when the app receives an URL from the system
42-
///
43-
/// _**Note:** For this event to be triggered, the executable needs to be properly [bundled]!_
44-
///
45-
/// [bundled]: https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html#//apple_ref/doc/uid/10000123i-CH101-SW19
46-
ReceivedUrl(String),
4726
}
4827

4928
/// The status of an [`Event`] after being processed.

‎examples/url_handler/Cargo.toml

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎examples/url_handler/src/main.rs

Lines changed: 0 additions & 70 deletions
This file was deleted.

‎src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ pub mod font {
230230

231231
pubmod event{
232232
//! Handle events of a user interface.
233-
pubusecrate::core::event::{Event,MacOS,PlatformSpecific,Status};
233+
pubusecrate::core::event::{Event,Status};
234234
pubuse iced_futures::event::{listen, listen_raw, listen_with};
235235
}
236236

‎winit/src/application.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -349,17 +349,6 @@ async fn run_instance<A, E, C>(
349349
window.request_redraw();
350350
redraw_pending =true;
351351
}
352-
event::Event::PlatformSpecific(event::PlatformSpecific::MacOS(
353-
event::MacOS::ReceivedUrl(url),
354-
)) =>{
355-
usecrate::core::event;
356-
357-
events.push(Event::PlatformSpecific(
358-
event::PlatformSpecific::MacOS(event::MacOS::ReceivedUrl(
359-
url,
360-
)),
361-
));
362-
}
363352
event::Event::UserEvent(message) =>{
364353
messages.push(message);
365354
}

‎winit/src/multi_window.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -459,22 +459,6 @@ async fn run_instance<A, E, C>(
459459
window.raw.request_redraw();
460460
}
461461
}
462-
event::Event::PlatformSpecific(
463-
event::PlatformSpecific::MacOS(
464-
event::MacOS::ReceivedUrl(url),
465-
),
466-
) =>{
467-
usecrate::core::event;
468-
469-
events.push((
470-
None,
471-
event::Event::PlatformSpecific(
472-
event::PlatformSpecific::MacOS(
473-
event::MacOS::ReceivedUrl(url),
474-
),
475-
),
476-
));
477-
}
478462
event::Event::UserEvent(message) =>{
479463
messages.push(message);
480464
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp