File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Sources/SwiftWin32/Views and Controls Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -378,6 +378,24 @@ extension View {
378
378
}
379
379
}
380
380
381
+ extension View {
382
+ /// The tint adjustment mode for the view.
383
+ public enum TintAdjustmentMode : Int {
384
+ /// The tint adjustment mode of the view is the same as its superview's tint
385
+ /// adjustment mode (or `ViewTintAdjustmentModeNormal` if the view has no
386
+ /// superview).
387
+ case automatic
388
+
389
+ /// The view's tintColor property returns the completely unmodified tint
390
+ /// color of the view.
391
+ case normal
392
+
393
+ /// The view's `tintColor` property returns a desaturated, dimmed version
394
+ /// of the view's original tint color.
395
+ case dimmed
396
+ }
397
+ }
398
+
381
399
/// An object that manages the content for a rectangular area on the screen.
382
400
public class View : Responder {
383
401
private static let `class` : WindowClass =
You can’t perform that action at this time.
0 commit comments