Merge branch 'main' into dotnet-linker-tests

This commit is contained in:
Manuel de la Pena 2021-07-20 13:17:47 -07:00 коммит произвёл GitHub
Родитель d30bdc9809 eea8142e6b
Коммит 1bdf96d422
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
11 изменённых файлов: 33 добавлений и 43 удалений

Просмотреть файл

@ -1995,6 +1995,26 @@ namespace GameController {
[Field ("GCInputDirectionalCardinalDpad")]
CardinalDpad,
[TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15,0)]
[Field ("GCInputDirectionalCenterButton")]
CenterButton,
[TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15,0)]
[Field ("GCInputDirectionalTouchSurfaceButton")]
TouchSurfaceButton,
}
[TV (15, 0), Mac (12, 0), iOS (15, 0), MacCatalyst (15,0)]
enum GCInputMicroGamepad {
[Field ("GCInputMicroGamepadDpad")]
Dpad,
[Field ("GCInputMicroGamepadButtonA")]
ButtonA,
[Field ("GCInputMicroGamepadButtonX")]
ButtonX,
}
delegate GCVirtualControllerElementConfiguration GCVirtualControllerElementUpdateBlock (GCVirtualControllerElementConfiguration configuration);
@ -2008,8 +2028,12 @@ namespace GameController {
[Export ("virtualControllerWithConfiguration:")]
GCVirtualController Create (GCVirtualControllerConfiguration configuration);
[Export ("initWithConfiguration:")]
[DesignatedInitializer]
IntPtr Constructor (GCVirtualControllerConfiguration configuration);
[Async]
[Export ("connectWithReply:")]
[Export ("connectWithReplyHandler:")]
void Connect ([NullAllowed] Action<NSError> reply);
[Export ("disconnect")]
@ -2018,8 +2042,8 @@ namespace GameController {
[NullAllowed, Export ("controller", ArgumentSemantic.Weak)]
GCController Controller { get; }
[Export ("changeElement:configuration:")]
void Change (string element, GCVirtualControllerElementUpdateBlock configuration);
[Export ("updateConfigurationForElement:configuration:")]
void UpdateConfiguration (string element, GCVirtualControllerElementUpdateBlock configuration);
}
[NoTV, NoMac, NoWatch, iOS (15,0), MacCatalyst (15,0)]
@ -2035,12 +2059,12 @@ namespace GameController {
interface GCVirtualControllerElementConfiguration
{
[Export ("hidden")]
bool Hidden { get; set; }
bool Hidden { [Bind ("isHidden")] get; set; }
[NullAllowed, Export ("path", ArgumentSemantic.Strong)]
BezierPath Path { get; set; }
[Export ("touchpad")]
bool Touchpad { get; set; }
[Export ("actsAsTouchpad")]
bool ActsAsTouchpad { get; set; }
}
}

Просмотреть файл

@ -576,6 +576,9 @@ namespace ImageIO {
NSString PNGSoftware { get; }
[Field ("kCGImagePropertyPNGTitle")]
NSString PNGTitle { get; }
[Mac (12, 0), iOS (15, 0), TV (15,0), MacCatalyst (15,0), Watch (8,0)]
[Field ("kCGImagePropertyPNGPixelsAspectRatio")]
NSString PNGPixelsAspectRatio { get; }
[iOS (9,0)][Mac (10,11)]
[Field ("kCGImagePropertyPNGCompressionFilter")]

Просмотреть файл

@ -1,11 +0,0 @@
!missing-field! GCInputDirectionalCenterButton not bound
!missing-field! GCInputDirectionalTouchSurfaceButton not bound
!missing-field! GCInputMicroGamepadButtonA not bound
!missing-field! GCInputMicroGamepadButtonX not bound
!missing-field! GCInputMicroGamepadDpad not bound
!missing-selector! GCVirtualController::connectWithReplyHandler: not bound
!missing-selector! GCVirtualController::initWithConfiguration: not bound
!missing-selector! GCVirtualController::updateConfigurationForElement:configuration: not bound
!missing-selector! GCVirtualControllerElementConfiguration::actsAsTouchpad not bound
!missing-selector! GCVirtualControllerElementConfiguration::isHidden not bound
!missing-selector! GCVirtualControllerElementConfiguration::setActsAsTouchpad: not bound

Просмотреть файл

@ -1 +0,0 @@
!missing-field! kCGImagePropertyPNGPixelsAspectRatio not bound

Просмотреть файл

@ -1,11 +0,0 @@
!missing-field! GCInputDirectionalCenterButton not bound
!missing-field! GCInputDirectionalTouchSurfaceButton not bound
!missing-field! GCInputMicroGamepadButtonA not bound
!missing-field! GCInputMicroGamepadButtonX not bound
!missing-field! GCInputMicroGamepadDpad not bound
!missing-selector! GCVirtualController::connectWithReplyHandler: not bound
!missing-selector! GCVirtualController::initWithConfiguration: not bound
!missing-selector! GCVirtualController::updateConfigurationForElement:configuration: not bound
!missing-selector! GCVirtualControllerElementConfiguration::actsAsTouchpad not bound
!missing-selector! GCVirtualControllerElementConfiguration::isHidden not bound
!missing-selector! GCVirtualControllerElementConfiguration::setActsAsTouchpad: not bound

Просмотреть файл

@ -1 +0,0 @@
!missing-field! kCGImagePropertyPNGPixelsAspectRatio not bound

Просмотреть файл

@ -1,5 +0,0 @@
!missing-field! GCInputDirectionalCenterButton not bound
!missing-field! GCInputDirectionalTouchSurfaceButton not bound
!missing-field! GCInputMicroGamepadButtonA not bound
!missing-field! GCInputMicroGamepadButtonX not bound
!missing-field! GCInputMicroGamepadDpad not bound

Просмотреть файл

@ -1 +0,0 @@
!missing-field! kCGImagePropertyPNGPixelsAspectRatio not bound

Просмотреть файл

@ -1,5 +0,0 @@
!missing-field! GCInputDirectionalCenterButton not bound
!missing-field! GCInputDirectionalTouchSurfaceButton not bound
!missing-field! GCInputMicroGamepadButtonA not bound
!missing-field! GCInputMicroGamepadButtonX not bound
!missing-field! GCInputMicroGamepadDpad not bound

Просмотреть файл

@ -1 +0,0 @@
!missing-field! kCGImagePropertyPNGPixelsAspectRatio not bound

Просмотреть файл

@ -1 +0,0 @@
!missing-field! kCGImagePropertyPNGPixelsAspectRatio not bound