From 2d98c0e7be8e0803de4b4e8e9ba03635bcef91c8 Mon Sep 17 00:00:00 2001 From: yangfasheng Date: Tue, 12 Dec 2017 19:46:38 +0800 Subject: gui 引擎代码更新; MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/gui/include/rtgui/rtgui.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'components/gui/include/rtgui/rtgui.h') diff --git a/components/gui/include/rtgui/rtgui.h b/components/gui/include/rtgui/rtgui.h index 2ee2503c53..8f8fecb086 100644 --- a/components/gui/include/rtgui/rtgui.h +++ b/components/gui/include/rtgui/rtgui.h @@ -158,6 +158,7 @@ enum RTGUI_ALIGN RTGUI_ALIGN_CENTER = RTGUI_ALIGN_CENTER_HORIZONTAL | RTGUI_ALIGN_CENTER_VERTICAL, RTGUI_ALIGN_EXPAND = 0x10, RTGUI_ALIGN_STRETCH = 0x20, + RTGUI_ALIGN_TTF_SIZE = 0x40, }; enum RTGUI_TEXTSTYLE @@ -172,7 +173,7 @@ enum RTGUI_MODAL_CODE { RTGUI_MODAL_OK, RTGUI_MODAL_CANCEL, - RTGUI_MODAL_MAX = 0xFFFF, + RTGUI_MODAL_MAX = 0xFFFFFFFF, }; typedef enum RTGUI_MODAL_CODE rtgui_modal_code_t; -- cgit v1.3.1