From 6f106a2676b0ef787693682af7018fb4b5baf90a Mon Sep 17 00:00:00 2001 From: changleipeng Date: Mon, 1 Jul 2024 16:16:52 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AD=97=E4=BD=93=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=90=8C=E6=97=B6=E6=98=BE=E7=A4=BA=E5=88=A0=E9=99=A4=E7=BA=BF?= =?UTF-8?q?=E4=B8=8B=E5=88=92=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: changleipeng --- graphic/graphic_2d/native_drawing/drawing_text_typography.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/graphic/graphic_2d/native_drawing/drawing_text_typography.h b/graphic/graphic_2d/native_drawing/drawing_text_typography.h index ac33798bd..a6f2ca7c4 100644 --- a/graphic/graphic_2d/native_drawing/drawing_text_typography.h +++ b/graphic/graphic_2d/native_drawing/drawing_text_typography.h @@ -137,6 +137,8 @@ enum OH_Drawing_TextDecoration { TEXT_DECORATION_OVERLINE = 0x2, /** A strikethrough is used for decoration. */ TEXT_DECORATION_LINE_THROUGH = 0x4, + /** A underline and strikethrough is used for decoration. */ + TEXT_DECORATION_UNDERLINE_LINE_THROUGH = 0x5, }; /** -- Gitee From bf8fa95fc48fae39e714eff4c4911aa1474acf7b Mon Sep 17 00:00:00 2001 From: changleipeng Date: Tue, 2 Jul 2024 11:36:06 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AD=97=E4=BD=93=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=90=8C=E6=97=B6=E6=98=BE=E7=A4=BA=E5=88=A0=E9=99=A4=E7=BA=BF?= =?UTF-8?q?=E4=B8=8B=E5=88=92=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: changleipeng --- graphic/graphic_2d/native_drawing/drawing_text_typography.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphic/graphic_2d/native_drawing/drawing_text_typography.h b/graphic/graphic_2d/native_drawing/drawing_text_typography.h index a6f2ca7c4..5ff46b552 100644 --- a/graphic/graphic_2d/native_drawing/drawing_text_typography.h +++ b/graphic/graphic_2d/native_drawing/drawing_text_typography.h @@ -138,7 +138,7 @@ enum OH_Drawing_TextDecoration { /** A strikethrough is used for decoration. */ TEXT_DECORATION_LINE_THROUGH = 0x4, /** A underline and strikethrough is used for decoration. */ - TEXT_DECORATION_UNDERLINE_LINE_THROUGH = 0x5, + TEXT_DECORATION_UNDERLINE_LINETHROUGH = 0x5, }; /** -- Gitee