From 983d8682656cf0e7d41828b9e237b9336f3c7556 Mon Sep 17 00:00:00 2001 From: houguobiao Date: Tue, 26 Nov 2024 22:17:49 +0800 Subject: [PATCH] =?UTF-8?q?TimePicker=E7=BB=84=E4=BB=B6=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=BA=A7=E8=88=B1=E6=96=87=E6=9C=AC=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: houguobiao Change-Id: I33b3ab0366f1ebfdf9fc2c568e49b6e5947085d8 --- arkui/ace_engine/native/native_node.h | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index f83f1a181..5db1f4de5 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -3662,6 +3662,38 @@ typedef enum { * */ NODE_TIME_PICKER_SELECTED_TEXT_STYLE, + /** + * @brief Defines the show option count of the time picker. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: show option count.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * value[0].i32: show option count.\n + * + * @since 16 + */ + NODE_TIME_PICKER_SHOW_OPTION_COUNT = 14008, + /** + * @brief Defines the background color, and border radius of the selected item in the time picker. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .string: array of five parameters of the string type, separated by semicolons (;).\n + * Parameter 1: background color, in #ARGB format.\n + * Parameter 2: radius of the four corners.\n + * Example: "#ff182431;8".\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .string: array of five parameters of the string type, separated by semicolons (;).\n + * Parameter 1: background color, in #ARGB format.\n + * Parameter 2: radius of the four corners.\n + * Example: "#ff182431;8".\n + * + * @since 16 + */ + NODE_TIME_PICKER_SELECTED_TEXT_BACKGROUND_STYLE = 14009, /** * @brief Defines the data selection range of the text picker. -- Gitee