diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
commit | 698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch) | |
tree | 173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/UI/WindowManagement | |
parent | Initial commit. (diff) | |
download | rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip |
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/UI/WindowManagement')
-rw-r--r-- | vendor/windows-sys/src/Windows/UI/WindowManagement/Preview/mod.rs | 1 | ||||
-rw-r--r-- | vendor/windows-sys/src/Windows/UI/WindowManagement/mod.rs | 88 |
2 files changed, 89 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/UI/WindowManagement/Preview/mod.rs b/vendor/windows-sys/src/Windows/UI/WindowManagement/Preview/mod.rs new file mode 100644 index 000000000..1b3084ce6 --- /dev/null +++ b/vendor/windows-sys/src/Windows/UI/WindowManagement/Preview/mod.rs @@ -0,0 +1 @@ +pub type WindowManagementPreview = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/UI/WindowManagement/mod.rs b/vendor/windows-sys/src/Windows/UI/WindowManagement/mod.rs new file mode 100644 index 000000000..559b7bf46 --- /dev/null +++ b/vendor/windows-sys/src/Windows/UI/WindowManagement/mod.rs @@ -0,0 +1,88 @@ +#[cfg(feature = "UI_WindowManagement_Preview")] +pub mod Preview; +pub type AppWindow = *mut ::core::ffi::c_void; +pub type AppWindowChangedEventArgs = *mut ::core::ffi::c_void; +pub type AppWindowCloseRequestedEventArgs = *mut ::core::ffi::c_void; +pub type AppWindowClosedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_WindowManagement\"`*"] +#[repr(transparent)] +pub struct AppWindowClosedReason(pub i32); +impl AppWindowClosedReason { + pub const Other: Self = Self(0i32); + pub const AppInitiated: Self = Self(1i32); + pub const UserInitiated: Self = Self(2i32); +} +impl ::core::marker::Copy for AppWindowClosedReason {} +impl ::core::clone::Clone for AppWindowClosedReason { + fn clone(&self) -> Self { + *self + } +} +pub type AppWindowFrame = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_WindowManagement\"`*"] +#[repr(transparent)] +pub struct AppWindowFrameStyle(pub i32); +impl AppWindowFrameStyle { + pub const Default: Self = Self(0i32); + pub const NoFrame: Self = Self(1i32); +} +impl ::core::marker::Copy for AppWindowFrameStyle {} +impl ::core::clone::Clone for AppWindowFrameStyle { + fn clone(&self) -> Self { + *self + } +} +pub type AppWindowPlacement = *mut ::core::ffi::c_void; +pub type AppWindowPresentationConfiguration = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_WindowManagement\"`*"] +#[repr(transparent)] +pub struct AppWindowPresentationKind(pub i32); +impl AppWindowPresentationKind { + pub const Default: Self = Self(0i32); + pub const CompactOverlay: Self = Self(1i32); + pub const FullScreen: Self = Self(2i32); +} +impl ::core::marker::Copy for AppWindowPresentationKind {} +impl ::core::clone::Clone for AppWindowPresentationKind { + fn clone(&self) -> Self { + *self + } +} +pub type AppWindowPresenter = *mut ::core::ffi::c_void; +pub type AppWindowTitleBar = *mut ::core::ffi::c_void; +pub type AppWindowTitleBarOcclusion = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_WindowManagement\"`*"] +#[repr(transparent)] +pub struct AppWindowTitleBarVisibility(pub i32); +impl AppWindowTitleBarVisibility { + pub const Default: Self = Self(0i32); + pub const AlwaysHidden: Self = Self(1i32); +} +impl ::core::marker::Copy for AppWindowTitleBarVisibility {} +impl ::core::clone::Clone for AppWindowTitleBarVisibility { + fn clone(&self) -> Self { + *self + } +} +pub type CompactOverlayPresentationConfiguration = *mut ::core::ffi::c_void; +pub type DefaultPresentationConfiguration = *mut ::core::ffi::c_void; +pub type DisplayRegion = *mut ::core::ffi::c_void; +pub type FullScreenPresentationConfiguration = *mut ::core::ffi::c_void; +pub type WindowingEnvironment = *mut ::core::ffi::c_void; +pub type WindowingEnvironmentAddedEventArgs = *mut ::core::ffi::c_void; +pub type WindowingEnvironmentChangedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"UI_WindowManagement\"`*"] +#[repr(transparent)] +pub struct WindowingEnvironmentKind(pub i32); +impl WindowingEnvironmentKind { + pub const Unknown: Self = Self(0i32); + pub const Overlapped: Self = Self(1i32); + pub const Tiled: Self = Self(2i32); +} +impl ::core::marker::Copy for WindowingEnvironmentKind {} +impl ::core::clone::Clone for WindowingEnvironmentKind { + fn clone(&self) -> Self { + *self + } +} +pub type WindowingEnvironmentRemovedEventArgs = *mut ::core::ffi::c_void; |