]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #[cfg(feature = "UI_WindowManagement_Preview")] |
2 | pub mod Preview; | |
3 | pub type AppWindow = *mut ::core::ffi::c_void; | |
4 | pub type AppWindowChangedEventArgs = *mut ::core::ffi::c_void; | |
5 | pub type AppWindowCloseRequestedEventArgs = *mut ::core::ffi::c_void; | |
6 | pub type AppWindowClosedEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 7 | #[doc = "*Required features: `\"UI_WindowManagement\"`*"] |
5e7ed085 FG |
8 | #[repr(transparent)] |
9 | pub struct AppWindowClosedReason(pub i32); | |
10 | impl AppWindowClosedReason { | |
11 | pub const Other: Self = Self(0i32); | |
12 | pub const AppInitiated: Self = Self(1i32); | |
13 | pub const UserInitiated: Self = Self(2i32); | |
14 | } | |
15 | impl ::core::marker::Copy for AppWindowClosedReason {} | |
16 | impl ::core::clone::Clone for AppWindowClosedReason { | |
17 | fn clone(&self) -> Self { | |
18 | *self | |
19 | } | |
20 | } | |
21 | pub type AppWindowFrame = *mut ::core::ffi::c_void; | |
04454e1e | 22 | #[doc = "*Required features: `\"UI_WindowManagement\"`*"] |
5e7ed085 FG |
23 | #[repr(transparent)] |
24 | pub struct AppWindowFrameStyle(pub i32); | |
25 | impl AppWindowFrameStyle { | |
26 | pub const Default: Self = Self(0i32); | |
27 | pub const NoFrame: Self = Self(1i32); | |
28 | } | |
29 | impl ::core::marker::Copy for AppWindowFrameStyle {} | |
30 | impl ::core::clone::Clone for AppWindowFrameStyle { | |
31 | fn clone(&self) -> Self { | |
32 | *self | |
33 | } | |
34 | } | |
35 | pub type AppWindowPlacement = *mut ::core::ffi::c_void; | |
36 | pub type AppWindowPresentationConfiguration = *mut ::core::ffi::c_void; | |
04454e1e | 37 | #[doc = "*Required features: `\"UI_WindowManagement\"`*"] |
5e7ed085 FG |
38 | #[repr(transparent)] |
39 | pub struct AppWindowPresentationKind(pub i32); | |
40 | impl AppWindowPresentationKind { | |
41 | pub const Default: Self = Self(0i32); | |
42 | pub const CompactOverlay: Self = Self(1i32); | |
43 | pub const FullScreen: Self = Self(2i32); | |
44 | } | |
45 | impl ::core::marker::Copy for AppWindowPresentationKind {} | |
46 | impl ::core::clone::Clone for AppWindowPresentationKind { | |
47 | fn clone(&self) -> Self { | |
48 | *self | |
49 | } | |
50 | } | |
51 | pub type AppWindowPresenter = *mut ::core::ffi::c_void; | |
52 | pub type AppWindowTitleBar = *mut ::core::ffi::c_void; | |
53 | pub type AppWindowTitleBarOcclusion = *mut ::core::ffi::c_void; | |
04454e1e | 54 | #[doc = "*Required features: `\"UI_WindowManagement\"`*"] |
5e7ed085 FG |
55 | #[repr(transparent)] |
56 | pub struct AppWindowTitleBarVisibility(pub i32); | |
57 | impl AppWindowTitleBarVisibility { | |
58 | pub const Default: Self = Self(0i32); | |
59 | pub const AlwaysHidden: Self = Self(1i32); | |
60 | } | |
61 | impl ::core::marker::Copy for AppWindowTitleBarVisibility {} | |
62 | impl ::core::clone::Clone for AppWindowTitleBarVisibility { | |
63 | fn clone(&self) -> Self { | |
64 | *self | |
65 | } | |
66 | } | |
67 | pub type CompactOverlayPresentationConfiguration = *mut ::core::ffi::c_void; | |
68 | pub type DefaultPresentationConfiguration = *mut ::core::ffi::c_void; | |
69 | pub type DisplayRegion = *mut ::core::ffi::c_void; | |
70 | pub type FullScreenPresentationConfiguration = *mut ::core::ffi::c_void; | |
71 | pub type WindowingEnvironment = *mut ::core::ffi::c_void; | |
72 | pub type WindowingEnvironmentAddedEventArgs = *mut ::core::ffi::c_void; | |
73 | pub type WindowingEnvironmentChangedEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 74 | #[doc = "*Required features: `\"UI_WindowManagement\"`*"] |
5e7ed085 FG |
75 | #[repr(transparent)] |
76 | pub struct WindowingEnvironmentKind(pub i32); | |
77 | impl WindowingEnvironmentKind { | |
78 | pub const Unknown: Self = Self(0i32); | |
79 | pub const Overlapped: Self = Self(1i32); | |
80 | pub const Tiled: Self = Self(2i32); | |
81 | } | |
82 | impl ::core::marker::Copy for WindowingEnvironmentKind {} | |
83 | impl ::core::clone::Clone for WindowingEnvironmentKind { | |
84 | fn clone(&self) -> Self { | |
85 | *self | |
86 | } | |
87 | } | |
88 | pub type WindowingEnvironmentRemovedEventArgs = *mut ::core::ffi::c_void; |