From db857338dde10ae1f56ae8bc9ac5d8b86d86bacd Mon Sep 17 00:00:00 2001 From: mayunteng_1 Date: Tue, 13 Sep 2022 17:24:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=B3=A8=E9=87=8A=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: mayunteng_1 Change-Id: If0b8415cd300cb331971f87e3950b5462a955834 --- ....multimodalInput.inputDeviceCooperate.d.ts | 2 +- api/@ohos.multimodalInput.pointer.d.ts | 51 ++++++++++--------- 2 files changed, 29 insertions(+), 24 deletions(-) diff --git a/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts b/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts index c7e8abcecf..8ad8018d76 100755 --- a/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts +++ b/api/@ohos.multimodalInput.inputDeviceCooperate.d.ts @@ -21,7 +21,7 @@ declare namespace inputDeviceCooperate { * Enumerates mouse traversal events. * * @since 9 - * @syscap SystemCapability.MultimodalInput.Input.Cooperator. + * @syscap SystemCapability.MultimodalInput.Input.Cooperator * @systemapi hide for inner use. */ enum EventMsg { diff --git a/api/@ohos.multimodalInput.pointer.d.ts b/api/@ohos.multimodalInput.pointer.d.ts index 63636fd133..f600e047dd 100644 --- a/api/@ohos.multimodalInput.pointer.d.ts +++ b/api/@ohos.multimodalInput.pointer.d.ts @@ -24,6 +24,11 @@ import { AsyncCallback } from "./basic"; */ declare namespace pointer { + /** + * Pointer style. + * @since 9 + * @syscap SystemCapability.MultimodalInput.Input.Pointer + */ enum PointerStyle { /** * Default @@ -81,27 +86,27 @@ declare namespace pointer { SOUTH_WEST, /** - * North-east and south-west arrow + * Northeast and southwest adjustment */ NORTH_EAST_SOUTH_WEST, /** - * North-west and south-east arrow + * Northwest and southeast adjustment */ NORTH_WEST_SOUTH_EAST, /** - * Cross + * Cross (accurate selection) */ CROSS, /** - * Copy cursor + * Copy */ CURSOR_COPY, /** - * Forbid cursor + * Forbid */ CURSOR_FORBID, @@ -111,17 +116,17 @@ declare namespace pointer { COLOR_SUCKER, /** - * Hand grabbing + * Grabbing hand */ HAND_GRABBING, /** - * Hand open + * Opening hand */ HAND_OPEN, /** - * Hand pointing + * Hand-shaped pointer */ HAND_POINTING, @@ -136,27 +141,27 @@ declare namespace pointer { MOVE, /** - * Resize left and right + * Left and right resizing */ RESIZE_LEFT_RIGHT, /** - * Resize up and down + * Up and down resizing */ RESIZE_UP_DOWN, /** - * Screenshot selection + * Screenshot crosshair */ SCREENSHOT_CHOOSE, /** - * Screenshot cursor + * Screenshot */ SCREENSHOT_CURSOR, /** - * Text cursor + * Text selection */ TEXT_CURSOR, @@ -171,52 +176,52 @@ declare namespace pointer { ZOOM_OUT, /** - * East arrow of the middle mouse button + * Scrolling east */ MIDDLE_BTN_EAST, /** - * West arrow of the middle mouse button + * Scrolling west */ MIDDLE_BTN_WEST, /** - * South arrow of the middle mouse button + * Scrolling west */ MIDDLE_BTN_SOUTH, /** - * North arrow of the middle mouse button + * Scrolling north */ MIDDLE_BTN_NORTH, /** - * North-south arrow of the middle mouse button + * Scrolling north and south */ MIDDLE_BTN_NORTH_SOUTH, /** - * North-east arrow of the middle mouse button + * Scrolling northeast */ MIDDLE_BTN_NORTH_EAST, /** - * North-west arrow of the middle mouse button + * Scrolling northwest */ MIDDLE_BTN_NORTH_WEST, /** - * South-east arrow of the middle mouse button + * Scrolling southeast */ MIDDLE_BTN_SOUTH_EAST, /** - * South-west arrow of the middle mouse button + * Scrolling southwest */ MIDDLE_BTN_SOUTH_WEST, /** - * North-west and south-east arrow of the middle mouse button + * Moving as a cone in four directions */ MIDDLE_BTN_NORTH_SOUTH_WEST_EAST, } -- Gitee