From cb9f682da23ef60db7c8805ea23b856f8a661219 Mon Sep 17 00:00:00 2001 From: Liu Chao Date: Mon, 31 Mar 2014 22:22:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E7=94=A8LCUI=5FDirtyRectList=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=B1=BB=E5=9E=8B=E5=AD=98=E5=82=A8=E8=84=8F=E7=9F=A9?= =?UTF-8?q?=E5=BD=A2=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 改用LinkedList数据类型存储TextLayer_Update()函数导出的脏矩形记录。 --- include/LCUI/font/textlayer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/LCUI/font/textlayer.h b/include/LCUI/font/textlayer.h index 0052c0be..2bdde261 100755 --- a/include/LCUI/font/textlayer.h +++ b/include/LCUI/font/textlayer.h @@ -111,7 +111,7 @@ typedef struct TextLayerRec_ { LCUI_BOOL is_autowrap_mode; /* 是否启用自动换行模式 */ LCUI_BOOL is_using_style_tags; /* 是否使用文本样式标签 */ LCUI_BOOL is_using_buffer; /* 是否使用缓存空间来存储文本位图 */ - LCUI_Queue dirty_rect; /* 脏矩形记录 */ + LCUI_DirtyRectList dirty_rect; /* 脏矩形记录 */ TextAlignType text_align; /* 文本的对齐方式 */ TextRowList row_list; /* 文本行列表 */ @@ -265,7 +265,7 @@ LCUI_API int TextLayer_GetHeight( LCUI_TextLayer* layer ); LCUI_API void TextLayer_ReloadCharBitmap( LCUI_TextLayer* layer ); /** 更新数据 */ -LCUI_API void TextLayer_Update( LCUI_TextLayer* layer, LCUI_Queue *rect_list ); +LCUI_API void TextLayer_Update( LCUI_TextLayer* layer, LinkedList *rect_list ); /** * 将文本图层中的指定区域的内容绘制至目标图像缓存中