From 2d1bc239093159bdb8d8b8f566edccdb5beafe0d Mon Sep 17 00:00:00 2001 From: zhengqiyi Date: Thu, 28 Nov 2024 11:33:10 +0800 Subject: [PATCH] add NODE_HITTEST_FILTER Signed-off-by: zhengqiyi --- arkui/ace_engine/native/native_node.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index f83f1a181..6666c0283 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -5420,8 +5420,20 @@ typedef enum { * .value[0].i32: number of cached items in the grid adapter. \n */ NODE_GRID_CACHED_COUNT, + + NODE_HITTEST_FILTER, } ArkUI_NodeAttributeType; +/** + * @brief Defines Enumerates the hit test mode. + * + * @since 16 + */ +typedef struct { + HTF_NONE = 0, + HTF_DEPEND_FATHER_REGION = 1, +} HITTESTFILTER; + #define MAX_COMPONENT_EVENT_ARG_NUM 12 /** * @brief Defines the parameter type of the component callback event. -- Gitee