From 78f1f0db1b0ead2f6b80c2a0420c331276def457 Mon Sep 17 00:00:00 2001 From: hct95 Date: Sat, 30 Nov 2024 18:12:19 +0800 Subject: [PATCH] child touch test filter Signed-off-by: hct95 --- arkui/ace_engine/native/native_node.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index f83f1a181..4c89d894b 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -1839,7 +1839,9 @@ typedef enum { * @since 14 */ NODE_TAB_STOP = 98, - + + NODE_HITTEST_FILTER_OPTION = 99, + /** * @brief Defines the text content attribute, which can be set, reset, and obtained as required through APIs. * @@ -5422,6 +5424,16 @@ typedef enum { NODE_GRID_CACHED_COUNT, } ArkUI_NodeAttributeType; +/** + * @brief Defines Enumerates the hit test filter. + * + * @since 16 + */ +typedef struct { + HTF_NONE = 0, + HTF_DEPEND_ON_PARENT_REGION = 1, +} HitTestFilterOption; + #define MAX_COMPONENT_EVENT_ARG_NUM 12 /** * @brief Defines the parameter type of the component callback event. -- Gitee