diff options
| author | yangfasheng <[email protected]> | 2018-01-19 10:20:02 +0800 |
|---|---|---|
| committer | yangfasheng <[email protected]> | 2018-01-19 10:20:02 +0800 |
| commit | ceefcb9732e9df0d71dfa12d913addb2f90c0aa3 (patch) | |
| tree | 213ff9e5de916b36ad7c9a09aef7d3e3753af1e4 /components/gui/include | |
| parent | 973a5fb885cb7edc55d5aed6ce2445cb457d7f6c (diff) | |
gui 引擎优化;
Diffstat (limited to 'components/gui/include')
| -rw-r--r-- | components/gui/include/rtgui/event.h | 6 | ||||
| -rw-r--r-- | components/gui/include/rtgui/rtgui.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/components/gui/include/rtgui/event.h b/components/gui/include/rtgui/event.h index 78f269a239..d1a8070af4 100644 --- a/components/gui/include/rtgui/event.h +++ b/components/gui/include/rtgui/event.h @@ -343,7 +343,7 @@ struct rtgui_event_gesture enum rtgui_gesture_type type; - rt_uint32_t win_acti_cnt; /* win id */ + rt_uint32_t win_acti_cnt; /* window activate count */ }; /* @@ -362,7 +362,7 @@ struct rtgui_event_mouse * different id. id should never be 0. */ rt_uint32_t id; - rt_uint32_t win_acti_cnt; /* win id */ + rt_uint32_t win_acti_cnt; /* window activate count */ }; #define RTGUI_MOUSE_BUTTON_LEFT 0x01 #define RTGUI_MOUSE_BUTTON_RIGHT 0x02 @@ -383,7 +383,7 @@ struct rtgui_event_kbd { _RTGUI_EVENT_WIN_ELEMENTS - rt_uint32_t win_acti_cnt; /* win id */ + rt_uint32_t win_acti_cnt; /* window activate count */ rt_uint16_t type; /* key down or up */ rt_uint16_t key; /* current key */ diff --git a/components/gui/include/rtgui/rtgui.h b/components/gui/include/rtgui/rtgui.h index 8f8fecb086..b918c78be1 100644 --- a/components/gui/include/rtgui/rtgui.h +++ b/components/gui/include/rtgui/rtgui.h @@ -173,7 +173,7 @@ enum RTGUI_MODAL_CODE { RTGUI_MODAL_OK, RTGUI_MODAL_CANCEL, - RTGUI_MODAL_MAX = 0xFFFFFFFF, + RTGUI_MODAL_MAX = 0xFFFF, }; typedef enum RTGUI_MODAL_CODE rtgui_modal_code_t; |
