From 04507c8b7cd4e2cdf88c4a3161c160a2a5d581cc Mon Sep 17 00:00:00 2001 From: Liu Chao Date: Wed, 9 Apr 2014 11:12:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E4=B8=8A=E5=AE=8F=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=EF=BC=8C=E5=8E=BB=E9=99=A4LCUIWidget=5FProcInvalidArea()?= =?UTF-8?q?=E5=89=8D=E7=9A=84LCUI=5FAPI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/LCUI/gui/widget_paint.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/include/LCUI/gui/widget_paint.h b/include/LCUI/gui/widget_paint.h index f16e0e9a..e2d695a9 100644 --- a/include/LCUI/gui/widget_paint.h +++ b/include/LCUI/gui/widget_paint.h @@ -1,4 +1,5 @@ - +#ifndef __WIDGET_PAINT_H__ +#define __WIDGET_PAINT_H__ /** 初始化GUI部件绘制器 */ void LCUIWidgetPainter_Init(void); @@ -19,8 +20,8 @@ LCUI_API int Widget_PushAreaToScreen( LCUI_Widget *widget, LCUI_Rect *area ); /** * 执行重绘部件前的一些任务 - * @param[in] widget 需要重绘的部件 - * @param[out] area 需要进行重绘的区域 + * @param[in] widget 需要重绘的部件 + * @param[out] area 需要进行重绘的区域 * @returns 正常返回TRUE,没有无效区域则返回FALSE */ LCUI_API LCUI_BOOL Widget_BeginPaint( LCUI_Widget *widget, LCUI_Rect *area ); @@ -29,4 +30,6 @@ LCUI_API LCUI_BOOL Widget_BeginPaint( LCUI_Widget *widget, LCUI_Rect *area ); LCUI_API void Widget_EndPaint( LCUI_Widget *widget, LCUI_Rect *area ); /** 更新各个部件的无效区域中的内容 */ -LCUI_API int LCUIWidget_ProcInvalidArea(void); +int LCUIWidget_ProcInvalidArea(void); + +#endif