fix api comments

This commit is contained in:
lixianjing 2020-08-29 11:15:54 +08:00
parent 586981dc61
commit 49844ebf7a
3 changed files with 4 additions and 4 deletions

View File

@ -1991,7 +1991,7 @@ EXPORTS
image_set_draw_type @1989
image_cast @1990
overlay_create @1991
button_set_click_through @1992
overlay_set_click_through @1992
overlay_cast @1993
popup_create @1994
popup_cast @1995

View File

@ -98,7 +98,7 @@ typedef struct _overlay_t {
widget_t* overlay_create(widget_t* parent, xy_t x, xy_t y, wh_t w, wh_t h);
/**
* @method button_set_click_through
* @method overlay_set_click_through
* 穿
* @annotation ["scriptable"]
* @param {widget_t*} widget
@ -106,7 +106,7 @@ widget_t* overlay_create(widget_t* parent, xy_t x, xy_t y, wh_t w, wh_t h);
*
* @return {ret_t} RET_OK表示成功
*/
ret_t button_set_click_through(widget_t* widget, bool_t click_through);
ret_t overlay_set_click_through(widget_t* widget, bool_t click_through);
/**
* @method overlay_cast

View File

@ -60019,7 +60019,7 @@
"scriptable": true
},
"desc": "设置是否启用点击穿透。",
"name": "button_set_click_through",
"name": "overlay_set_click_through",
"return": {
"type": "ret_t",
"desc": "返回RET_OK表示成功否则表示失败。"