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/widgets/window.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'components/gui/include/rtgui/widgets/window.h') diff --git a/components/gui/include/rtgui/widgets/window.h b/components/gui/include/rtgui/widgets/window.h index 3623426296..d9a0d2447b 100644 --- a/components/gui/include/rtgui/widgets/window.h +++ b/components/gui/include/rtgui/widgets/window.h @@ -88,6 +88,9 @@ struct rtgui_win /* inherit from container */ rtgui_container_t parent; + /* update count */ + rt_base_t update; + /* drawing count */ rt_base_t drawing; struct rtgui_rect drawing_rect; @@ -137,6 +140,11 @@ struct rtgui_win /* Private data. */ rt_base_t (*_do_show)(struct rtgui_win *win); + + /* app ref_count */ + rt_uint16_t app_ref_count; + /* win magic flag, magic value is 0xA5A55A5A */ + rt_uint32_t magic; }; rtgui_win_t *rtgui_win_create(struct rtgui_win *parent_window, const char *title, -- cgit v1.3.1