Skip to content

Commit c18bb96

Browse files
committed
Merge branch 'master' into uwp
2 parents f545461 + 30a69a4 commit c18bb96

File tree

15 files changed

+764
-1178
lines changed

15 files changed

+764
-1178
lines changed

Cargo.lock

Lines changed: 311 additions & 370 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ authors = ["Robert Mikhayelyan <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
windows = { git = "https://github.com/microsoft/windows-rs" }
8+
windows = "0.18.0"
99
bindings = { path = "bindings" }
10-
rand = "0.7.3"
10+
rand = "0.8.3"
1111

1212
[target.'cfg(target_vendor = "pc")'.dependencies]
13-
winit = "0.22.2"
13+
winit = "0.24.0"
1414
raw-window-handle = "0.3.3"
1515

1616
[features]

bindings/Cargo.lock

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

bindings/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
edition = "2018"
55

66
[dependencies]
7-
windows = { git = "https://github.com/microsoft/windows-rs" }
7+
windows = "0.18.0"
88

99
[build-dependencies]
10-
windows = { git = "https://github.com/microsoft/windows-rs" }
10+
windows = "0.18.0"

bindings/build.rs

Lines changed: 23 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,26 @@
11
fn main() {
2-
windows::build!(
3-
windows::application_model::core::{
4-
CoreApplication,
5-
CoreApplicationView,
6-
IFrameworkViewSource,
7-
IFrameworkView,
8-
}
9-
windows::foundation::numerics::{Vector2, Vector3}
10-
windows::foundation::TimeSpan
11-
windows::graphics::SizeInt32
12-
windows::system::DispatcherQueueController
13-
windows::ui::composition::{
14-
AnimationIterationBehavior,
15-
CompositionBatchTypes,
16-
CompositionBorderMode,
17-
CompositionColorBrush,
18-
CompositionGeometry,
19-
CompositionShape,
20-
CompositionSpriteShape,
21-
Compositor,
22-
ContainerVisual,
23-
SpriteVisual,
24-
}
25-
windows::ui::composition::desktop::DesktopWindowTarget
26-
windows::ui::Colors
27-
windows::ui::core::{
28-
CoreDispatcher,
29-
CoreWindow,
30-
CoreProcessEventsOption,
31-
WindowSizeChangedEventArgs,
2+
windows::build! {
3+
Windows::ApplicationModel::Core::{
4+
CoreApplication, CoreApplicationView, IFrameworkViewSource, IFrameworkView,
5+
},
6+
Windows::Graphics::SizeInt32,
7+
Windows::Win32::System::WinRT::{
8+
CreateDispatcherQueueController, ICompositorDesktopInterop, RoInitialize,
9+
},
10+
Windows::UI::Colors,
11+
Windows::UI::Composition::Desktop::DesktopWindowTarget,
12+
Windows::UI::Composition::{
13+
CompositionColorBrush, CompositionContainerShape, CompositionEllipseGeometry,
14+
CompositionNineGridBrush, CompositionScopedBatch, CompositionShapeCollection,
15+
CompositionSpriteShape, Compositor, ShapeVisual, SpriteVisual,
16+
Vector3KeyFrameAnimation, VisualCollection,
17+
},
18+
Windows::UI::Core::{
19+
CoreDispatcher, CoreWindow, CoreProcessEventsOption, WindowSizeChangedEventArgs,
3220
PointerEventArgs,
33-
}
34-
windows::win32::system_services::CreateDispatcherQueueController
35-
windows::win32::winrt::{ICompositorDesktopInterop, RoInitialize}
36-
);
21+
},
22+
Windows::UI::Input::{
23+
PointerPoint, PointerPointProperties,
24+
},
25+
};
3726
}

0 commit comments

Comments
 (0)