]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.28.0/src/Windows/UI/Input/Inking/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys-0.28.0 / src / Windows / UI / Input / Inking / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[cfg(feature = "UI_Input_Inking_Analysis")]
3 pub mod Analysis;
4 #[cfg(feature = "UI_Input_Inking_Core")]
5 pub mod Core;
6 #[cfg(feature = "UI_Input_Inking_Preview")]
7 pub mod Preview;
8 #[link(name = "windows")]
9 extern "system" {}
10 #[repr(transparent)]
11 pub struct HandwritingLineHeight(pub i32);
12 impl HandwritingLineHeight {
13 pub const Small: Self = Self(0i32);
14 pub const Medium: Self = Self(1i32);
15 pub const Large: Self = Self(2i32);
16 }
17 impl ::core::marker::Copy for HandwritingLineHeight {}
18 impl ::core::clone::Clone for HandwritingLineHeight {
19 fn clone(&self) -> Self {
20 *self
21 }
22 }
23 pub type IInkPointFactory = *mut ::core::ffi::c_void;
24 pub type IInkPresenterRulerFactory = *mut ::core::ffi::c_void;
25 pub type IInkPresenterStencil = *mut ::core::ffi::c_void;
26 pub type IInkRecognizerContainer = *mut ::core::ffi::c_void;
27 pub type IInkStrokeContainer = *mut ::core::ffi::c_void;
28 pub type InkDrawingAttributes = *mut ::core::ffi::c_void;
29 #[repr(transparent)]
30 pub struct InkDrawingAttributesKind(pub i32);
31 impl InkDrawingAttributesKind {
32 pub const Default: Self = Self(0i32);
33 pub const Pencil: Self = Self(1i32);
34 }
35 impl ::core::marker::Copy for InkDrawingAttributesKind {}
36 impl ::core::clone::Clone for InkDrawingAttributesKind {
37 fn clone(&self) -> Self {
38 *self
39 }
40 }
41 pub type InkDrawingAttributesPencilProperties = *mut ::core::ffi::c_void;
42 #[repr(transparent)]
43 pub struct InkHighContrastAdjustment(pub i32);
44 impl InkHighContrastAdjustment {
45 pub const UseSystemColorsWhenNecessary: Self = Self(0i32);
46 pub const UseSystemColors: Self = Self(1i32);
47 pub const UseOriginalColors: Self = Self(2i32);
48 }
49 impl ::core::marker::Copy for InkHighContrastAdjustment {}
50 impl ::core::clone::Clone for InkHighContrastAdjustment {
51 fn clone(&self) -> Self {
52 *self
53 }
54 }
55 pub type InkInputConfiguration = *mut ::core::ffi::c_void;
56 pub type InkInputProcessingConfiguration = *mut ::core::ffi::c_void;
57 #[repr(transparent)]
58 pub struct InkInputProcessingMode(pub i32);
59 impl InkInputProcessingMode {
60 pub const None: Self = Self(0i32);
61 pub const Inking: Self = Self(1i32);
62 pub const Erasing: Self = Self(2i32);
63 }
64 impl ::core::marker::Copy for InkInputProcessingMode {}
65 impl ::core::clone::Clone for InkInputProcessingMode {
66 fn clone(&self) -> Self {
67 *self
68 }
69 }
70 #[repr(transparent)]
71 pub struct InkInputRightDragAction(pub i32);
72 impl InkInputRightDragAction {
73 pub const LeaveUnprocessed: Self = Self(0i32);
74 pub const AllowProcessing: Self = Self(1i32);
75 }
76 impl ::core::marker::Copy for InkInputRightDragAction {}
77 impl ::core::clone::Clone for InkInputRightDragAction {
78 fn clone(&self) -> Self {
79 *self
80 }
81 }
82 pub type InkManager = *mut ::core::ffi::c_void;
83 #[repr(transparent)]
84 pub struct InkManipulationMode(pub i32);
85 impl InkManipulationMode {
86 pub const Inking: Self = Self(0i32);
87 pub const Erasing: Self = Self(1i32);
88 pub const Selecting: Self = Self(2i32);
89 }
90 impl ::core::marker::Copy for InkManipulationMode {}
91 impl ::core::clone::Clone for InkManipulationMode {
92 fn clone(&self) -> Self {
93 *self
94 }
95 }
96 pub type InkModelerAttributes = *mut ::core::ffi::c_void;
97 #[repr(transparent)]
98 pub struct InkPersistenceFormat(pub i32);
99 impl InkPersistenceFormat {
100 pub const GifWithEmbeddedIsf: Self = Self(0i32);
101 pub const Isf: Self = Self(1i32);
102 }
103 impl ::core::marker::Copy for InkPersistenceFormat {}
104 impl ::core::clone::Clone for InkPersistenceFormat {
105 fn clone(&self) -> Self {
106 *self
107 }
108 }
109 pub type InkPoint = *mut ::core::ffi::c_void;
110 pub type InkPresenter = *mut ::core::ffi::c_void;
111 #[repr(transparent)]
112 pub struct InkPresenterPredefinedConfiguration(pub i32);
113 impl InkPresenterPredefinedConfiguration {
114 pub const SimpleSinglePointer: Self = Self(0i32);
115 pub const SimpleMultiplePointer: Self = Self(1i32);
116 }
117 impl ::core::marker::Copy for InkPresenterPredefinedConfiguration {}
118 impl ::core::clone::Clone for InkPresenterPredefinedConfiguration {
119 fn clone(&self) -> Self {
120 *self
121 }
122 }
123 pub type InkPresenterProtractor = *mut ::core::ffi::c_void;
124 pub type InkPresenterRuler = *mut ::core::ffi::c_void;
125 #[repr(transparent)]
126 pub struct InkPresenterStencilKind(pub i32);
127 impl InkPresenterStencilKind {
128 pub const Other: Self = Self(0i32);
129 pub const Ruler: Self = Self(1i32);
130 pub const Protractor: Self = Self(2i32);
131 }
132 impl ::core::marker::Copy for InkPresenterStencilKind {}
133 impl ::core::clone::Clone for InkPresenterStencilKind {
134 fn clone(&self) -> Self {
135 *self
136 }
137 }
138 pub type InkRecognitionResult = *mut ::core::ffi::c_void;
139 #[repr(transparent)]
140 pub struct InkRecognitionTarget(pub i32);
141 impl InkRecognitionTarget {
142 pub const All: Self = Self(0i32);
143 pub const Selected: Self = Self(1i32);
144 pub const Recent: Self = Self(2i32);
145 }
146 impl ::core::marker::Copy for InkRecognitionTarget {}
147 impl ::core::clone::Clone for InkRecognitionTarget {
148 fn clone(&self) -> Self {
149 *self
150 }
151 }
152 pub type InkRecognizer = *mut ::core::ffi::c_void;
153 pub type InkRecognizerContainer = *mut ::core::ffi::c_void;
154 pub type InkStroke = *mut ::core::ffi::c_void;
155 pub type InkStrokeBuilder = *mut ::core::ffi::c_void;
156 pub type InkStrokeContainer = *mut ::core::ffi::c_void;
157 pub type InkStrokeInput = *mut ::core::ffi::c_void;
158 pub type InkStrokeRenderingSegment = *mut ::core::ffi::c_void;
159 pub type InkStrokesCollectedEventArgs = *mut ::core::ffi::c_void;
160 pub type InkStrokesErasedEventArgs = *mut ::core::ffi::c_void;
161 pub type InkSynchronizer = *mut ::core::ffi::c_void;
162 pub type InkUnprocessedInput = *mut ::core::ffi::c_void;
163 pub type PenAndInkSettings = *mut ::core::ffi::c_void;
164 #[repr(transparent)]
165 pub struct PenHandedness(pub i32);
166 impl PenHandedness {
167 pub const Right: Self = Self(0i32);
168 pub const Left: Self = Self(1i32);
169 }
170 impl ::core::marker::Copy for PenHandedness {}
171 impl ::core::clone::Clone for PenHandedness {
172 fn clone(&self) -> Self {
173 *self
174 }
175 }
176 #[repr(transparent)]
177 pub struct PenTipShape(pub i32);
178 impl PenTipShape {
179 pub const Circle: Self = Self(0i32);
180 pub const Rectangle: Self = Self(1i32);
181 }
182 impl ::core::marker::Copy for PenTipShape {}
183 impl ::core::clone::Clone for PenTipShape {
184 fn clone(&self) -> Self {
185 *self
186 }
187 }