improve api docs

This commit is contained in:
lixianjing 2023-12-26 20:03:54 +08:00
parent eda88c1148
commit 3796c88422
40 changed files with 93 additions and 93 deletions

View File

@ -87,11 +87,11 @@ ret_t tk_quit(void);
* @alias global_quit_ex
* @annotation ["static", "scriptable"]
*
* @param {uint32_t} delay_ms 退
* @param {uint32_t} delay 退()
*
* @return {ret_t} RET_OK表示成功
*/
ret_t tk_quit_ex(uint32_t delay_ms);
ret_t tk_quit_ex(uint32_t delay);
/**
* @method tk_get_pointer_x

View File

@ -66,7 +66,7 @@ ret_t timer_prepare(timer_get_time_t get_time);
* @annotation ["scriptable:custom", "static"]
* @param {timer_func_t} on_timer timer回调函数
* @param {void*} ctx timer回调函数的上下文
* @param {uint32_t} duration
* @param {uint32_t} duration ()
*
* @return {uint32_t} timer的IDTK_INVALID_ID表示失败
*/
@ -78,7 +78,7 @@ uint32_t timer_add(timer_func_t on_timer, void* ctx, uint32_t duration);
* @annotation ["static"]
* @param {timer_func_t} on_timer timer回调函数RET_REPEAT
* @param {void*} ctx timer回调函数的上下文
* @param {uint32_t} duration
* @param {uint32_t} duration ()
*
* @return {ret_t} RET_OK表示成功
*/
@ -90,7 +90,7 @@ ret_t timer_queue(timer_func_t on_timer, void* ctx, uint32_t duration);
* @annotation ["static"]
* @param {timer_func_t} on_timer timer回调函数RET_REPEAT
* @param {void*} ctx timer回调函数的上下文
* @param {uint32_t} duration
* @param {uint32_t} duration ()
* @param {tk_destroy_t} on_destroy
* @param {void*} on_destroy_ctx
*
@ -154,7 +154,7 @@ ret_t timer_resume(uint32_t timer_id);
* timer的duration
* @annotation ["scriptable", "static"]
* @param {uint32_t} timer_id timerID
* @param {uint32_t} duration
* @param {uint32_t} duration ()
*
* @return {ret_t} RET_OK表示成功
*/
@ -200,10 +200,10 @@ uint32_t timer_count(void);
/**
* @method timer_next_time
* timer到期时间
* timer到期时间()
* @annotation ["static"]
*
* @return {uint32_t} timer到期时间
* @return {uint32_t} timer到期时间()
*/
uint32_t timer_next_time(void);

View File

@ -57,7 +57,7 @@ velocity_t* velocity_reset(velocity_t* v);
*
*
* @param {velocity_t*} v velocity对象
* @param {uint64_t} time
* @param {uint64_t} time ()
* @param {xy_t} x x坐标
* @param {xy_t} y y坐标
*

View File

@ -2372,7 +2372,7 @@ bool_t widget_equal(widget_t* widget, widget_t* other);
* **timer_add**
* @param {widget_t*} widget
* @param {timer_func_t} on_timer timer回调函数
* @param {uint32_t} duration_ms
* @param {uint32_t} duration ()
*
* 使
*
@ -2389,7 +2389,7 @@ bool_t widget_equal(widget_t* widget, widget_t* other);
*
* @return {uint32_t} timer的IDTK_INVALID_ID表示失败
*/
uint32_t widget_add_timer(widget_t* widget, timer_func_t on_timer, uint32_t duration_ms);
uint32_t widget_add_timer(widget_t* widget, timer_func_t on_timer, uint32_t duration);
/**
* @method widget_remove_timer

View File

@ -190,8 +190,8 @@ struct _widget_animator_t {
* 使
* @param {widget_animator_t*} animator
* @param {widget_t*} widget
* @param {uint32_t} duration
* @param {uint32_t} delay
* @param {uint32_t} duration ()
* @param {uint32_t} delay ()
* @param {easing_func_t} easing
*
* @return {ret_t} RET_OK表示成功

View File

@ -585,7 +585,7 @@ BEGIN_C_DECLS
/**
* @const WIDGET_PROP_AUTO_PLAY
*
* ()
*/
#define WIDGET_PROP_AUTO_PLAY "auto_play"
@ -759,7 +759,7 @@ BEGIN_C_DECLS
/**
* @const WIDGET_PROP_LONG_PRESS_TIME
* (ms)
* ()
*/
#define WIDGET_PROP_LONG_PRESS_TIME "long_press_time"
@ -1059,7 +1059,7 @@ BEGIN_C_DECLS
/**
* @const WIDGET_PROP_ANIMATING_TIME
*
* ()
*/
#define WIDGET_PROP_ANIMATING_TIME "animating_time"
@ -1071,7 +1071,7 @@ BEGIN_C_DECLS
/**
* @const WIDGET_PROP_ANIMATE_ANIMATING_TIME
*
* ()
*/
#define WIDGET_PROP_ANIMATE_ANIMATING_TIME "animate:animating_time"
@ -1083,7 +1083,7 @@ BEGIN_C_DECLS
/**
* @const WIDGET_PROP_SCREEN_SAVER_TIME
*
* ()
*/
#define WIDGET_PROP_SCREEN_SAVER_TIME "screen_saver_time"

View File

@ -354,7 +354,7 @@ ret_t window_manager_set_ignore_input_events(widget_t* widget, bool_t ignore_inp
/**
* @method window_manager_set_screen_saver_time
*
* ()
* @annotation ["scriptable"]
* @param {widget_t*} widget
* @param {uint32_t} screen_saver_time (), 0

View File

@ -558,7 +558,7 @@ ret_t debugger_set_current_thread_id(debugger_t* debugger, uint64_t thread_id);
* @method debugger_dispatch_messages
* dispatch_messages()
* @param {debugger_t*} debugger debugger对象
* @param {uint32_t} timeout
* @param {uint32_t} timeout ()
* @param {uint32_t*} ret_num
*
* @return {ret_t} RET_OK表示成功

View File

@ -196,7 +196,7 @@ ret_t image_animation_set_image(widget_t* widget, const char* image);
/**
* @method image_animation_set_interval
*
* ()
* @annotation ["scriptable"]
* @param {widget_t*} widget image_animation对象
* @param {uint32_t} interval ()

View File

@ -94,14 +94,14 @@ typedef struct _hscroll_label_t {
/**
* @property {int32_t} lull
* @annotation ["set_prop","get_prop","readable","persitent","design","scriptable"]
* (ms)3000ms
* ()3000ms
*/
int32_t lull;
/**
* @property {int32_t} duration
* @annotation ["set_prop","get_prop","readable","scriptable"]
* (ms)5000ms
* ()5000ms
*/
int32_t duration;
@ -162,7 +162,7 @@ widget_t* hscroll_label_create(widget_t* parent, xy_t x, xy_t y, wh_t w, wh_t h)
* lull
* @annotation ["scriptable"]
* @param {widget_t*} widget
* @param {int32_t} lull (ms)
* @param {int32_t} lull ()
*
* @return {ret_t} RET_OK表示成功
*/
@ -173,7 +173,7 @@ ret_t hscroll_label_set_lull(widget_t* widget, int32_t lull);
* duration
* @annotation ["scriptable"]
* @param {widget_t*} widget
* @param {int32_t} duration (ms)
* @param {int32_t} duration ()
*
* @return {ret_t} RET_OK表示成功
*/

View File

@ -92,7 +92,7 @@ typedef struct _scroll_bar_t {
/**
* @property {uint32_t} animator_time
* @annotation ["set_prop","get_prop","readable","persitent","design","scriptable"]
*
* ()
*/
uint32_t animator_time;
/**
@ -197,7 +197,7 @@ ret_t scroll_bar_set_params(widget_t* widget, int32_t virtual_size, int32_t row)
* @annotation ["scriptable"]
* @param {widget_t*} widget scroll_bar控件
* @param {int32_t} value
* @param {int32_t} duration
* @param {int32_t} duration ()
*
* @return {ret_t} RET_OK表示成功
*/
@ -273,11 +273,11 @@ bool_t scroll_bar_is_mobile(widget_t* widget);
/**
* @method scroll_bar_set_animator_time
*
* ()
*
* @annotation ["scriptable"]
* @param {widget_t*} widget scroll_bar控件
* @param {uint32_t} animator_time
* @param {uint32_t} animator_time ()
*
* @return {ret_t} RET_OK表示成功
*/
@ -289,8 +289,8 @@ ret_t scroll_bar_set_animator_time(widget_t* widget, uint32_t animator_time);
*
* @annotation ["scriptable"]
* @param {widget_t*} widget scroll_bar控件
* @param {int32_t} duration
* @param {int32_t} delay
* @param {int32_t} duration ()
* @param {int32_t} delay ()
*
* @return {ret_t} RET_OK表示成功
*/
@ -302,8 +302,8 @@ ret_t scroll_bar_hide_by_opacity_animation(widget_t* widget, int32_t duration, i
*
* @annotation ["scriptable"]
* @param {widget_t*} widget scroll_bar控件
* @param {int32_t} duration
* @param {int32_t} delay
* @param {int32_t} duration ()
* @param {int32_t} delay ()
*
* @return {ret_t} RET_OK表示成功
*/

View File

@ -351,7 +351,7 @@ ret_t scroll_view_set_slide_limit_ratio(widget_t* widget, float_t slide_limit_ra
* @param {widget_t*} widget
* @param {int32_t} xoffset_end x偏移量
* @param {int32_t} yoffset_end y偏移量
* @param {int32_t} duration
* @param {int32_t} duration ()
*
* @return {ret_t} RET_OK表示成功
*/
@ -365,7 +365,7 @@ ret_t scroll_view_scroll_to(widget_t* widget, int32_t xoffset_end, int32_t yoffs
* @param {widget_t*} widget
* @param {int32_t} xoffset_delta x偏移量
* @param {int32_t} yoffset_delta y偏移量
* @param {int32_t} duration
* @param {int32_t} duration ()
*
* @return {ret_t} RET_OK表示成功
*/

View File

@ -227,7 +227,7 @@ ret_t serial_widget_set_flowcontrol(widget_t* widget, uint32_t flowcontrol);
/**
* @method serial_widget_set_check_interval
*
* ()
* @annotation ["scriptable"]
* @param {widget_t*} widget widget对象
* @param {uint32_t} check_interval ms

View File

@ -89,7 +89,7 @@ typedef struct _slide_view_t {
/**
* @property {uint16_t} auto_play
* @annotation ["set_prop","get_prop","readable","persitent","design","scriptable"]
* 00
* 00()
*/
uint16_t auto_play;
@ -204,7 +204,7 @@ widget_t* slide_view_cast(widget_t* widget);
*
* @annotation ["scriptable"]
* @param {widget_t*} widget slide_view对象
* @param {uint16_t} auto_play 00
* @param {uint16_t} auto_play 00()
*
* @return {ret_t} RET_OK表示成功
*/
@ -291,10 +291,10 @@ ret_t slide_view_set_drag_threshold(widget_t* widget, uint32_t drag_threshold);
/**
* @method slide_view_set_animating_time
*
* ()
* @annotation ["scriptable"]
* @param {widget_t*} widget slide_view对象
* @param {uint32_t} animating_time
* @param {uint32_t} animating_time ()
*
* @return {ret_t} RET_OK表示成功
*/

View File

@ -56,7 +56,7 @@ typedef struct _timer_widget_t {
/**
* @property {uint32_t} duration
* @annotation ["set_prop","get_prop","readable","persitent","design","scriptable"]
* (ms)
* ()
*/
uint32_t duration;
@ -95,10 +95,10 @@ widget_t* timer_widget_cast(widget_t* widget);
/**
* @method timer_widget_set_duration
* (ms)
* ()
* @annotation ["scriptable"]
* @param {widget_t*} widget widget对象
* @param {uint32_t} duration (ms)
* @param {uint32_t} duration ()
*
* @return {ret_t} RET_OK表示成功
*/

View File

@ -101,10 +101,10 @@ ret_t tk_client_read_resp(tk_client_t* client, tk_msg_header_t* header, wbuffer_
* @method tk_client_read_notify
*
* @param {tk_client_t*} client client对象
* @param {uint32_t} timeout_ms
* @param {uint32_t} timeout ()
* @return {ret_t} RET_OK表示成功
*/
ret_t tk_client_read_notify(tk_client_t* client, uint32_t timeout_ms);
ret_t tk_client_read_notify(tk_client_t* client, uint32_t timeout);
/**
* @method tk_client_request

View File

@ -96,7 +96,7 @@ struct _tk_ostream_retry_t {
/**
* @property {uint32_t} timeout
* @annotation ["readable"]
* (ms)
* ()
*/
uint32_t timeout;
/**

View File

@ -127,7 +127,7 @@ int process_handle_get_fd(process_handle_t handle);
*
*
* @param {process_handle_t} handle
* @param {uint32_t} timeout_ms (ms)
* @param {uint32_t} timeout_ms ()
* @return {ret_t} RET_OK表示成功
*/
ret_t process_wait_for_data(process_handle_t handle, uint32_t timeout_ms);

View File

@ -110,7 +110,7 @@ ret_t tk_iostream_serial_config(tk_iostream_t* iostream, int32_t baudrate, bytes
* @method tk_iostream_serial_wait_for_data
*
* @param {tk_iostream_t*} iostream
* @param {uint32_t} timeout (ms)
* @param {uint32_t} timeout ()
*
* @return {ret_t} RET_OK表示成功
*

View File

@ -44,7 +44,7 @@ struct _tk_istream_shdlc_t {
/**
* @property {uint32_t} timeout
* (ms)
* ()
*/
uint32_t timeout;
/**

View File

@ -43,7 +43,7 @@ struct _tk_ostream_shdlc_t {
/**
* @property {uint32_t} timeout
* (ms)
* ()
*/
uint32_t timeout;
/**

View File

@ -158,7 +158,7 @@ ret_t action_darray_thread_set_strategy(action_darray_thread_t* thread,
* @method action_darray_thread_set_idle_interval
*
* @param {action_darray_thread_t*} thread action_darray_thread对象
* @param {uint32_t} interval (ms)
* @param {uint32_t} interval ()
* @return {ret_t} RET_OK表示成功
*/
ret_t action_darray_thread_set_idle_interval(action_darray_thread_t* thread, uint32_t interval);

View File

@ -54,14 +54,14 @@ ret_t tk_cond_wait(tk_cond_t* cond, tk_mutex_t* mutex);
/**
* @method tk_cond_wait_timeout
*
* ()
* @param {tk_cond_t*} cond cond对象
* @param {tk_mutex_t*} mutex mutex对象
* @param {uint32_t} ms
* @param {uint32_t} timeout ()
*
* @return {ret_t} RET_OK表示成功
*/
ret_t tk_cond_wait_timeout(tk_cond_t* cond, tk_mutex_t* mutex, uint32_t ms);
ret_t tk_cond_wait_timeout(tk_cond_t* cond, tk_mutex_t* mutex, uint32_t timeout);
/**
* @method tk_cond_signal

View File

@ -45,11 +45,11 @@ tk_cond_var_t* tk_cond_var_create(void);
* @method tk_cond_var_wait
*
* @param {tk_cond_var_t*} cond_var cond_var对象
* @param {uint32_t} timeout_ms
* @param {uint32_t} timeout ()
*
* @return {ret_t} RET_OK表示成功
*/
ret_t tk_cond_var_wait(tk_cond_var_t* cond_var, uint32_t timeout_ms);
ret_t tk_cond_var_wait(tk_cond_var_t* cond_var, uint32_t timeout);
/**
* @method tk_cond_var_awake

View File

@ -41,7 +41,7 @@ typedef ret_t (*event_source_on_event_t)(event_source_t* source);
*
*
* * (socket)get_fd返回一个有效的文件描述符
* * get_wakeup_time返回下次唤醒的时间
* * get_wakeup_time返回下次唤醒的时间()
*
*/
struct _event_source_t {
@ -108,11 +108,11 @@ ret_t event_source_check(event_source_t* source);
/**
* @method event_source_get_wakeup_time
*
* (ms)
* ()
*
* @param {event_source_t*} source event_source对象
*
* @return {uint32_t} (ms)
* @return {uint32_t} ()
*
*/
uint32_t event_source_get_wakeup_time(event_source_t* source);

View File

@ -73,11 +73,11 @@ ret_t event_source_manager_deinit(event_source_manager_t* manager);
/**
* @method event_source_manager_get_wakeup_time
*
* wakeup时间(ms)
* wakeup时间()
*
* @param {event_source_manager_t*} manager event_source_manager对象
*
* @return {uint32_t} wakeup时间(ms)
* @return {uint32_t} wakeup时间()
*
*/
uint32_t event_source_manager_get_wakeup_time(event_source_manager_t* manager);
@ -136,7 +136,7 @@ ret_t event_source_manager_remove_by_tag(event_source_manager_t* manager, void*
/**
* @method event_source_manager_set_min_sleep_time
*
*
* ()
*
* @param {event_source_manager_t*} manager event_source_manager对象
* @param {uint32_t} sleep_time ()

View File

@ -113,7 +113,7 @@ bool_t tk_istream_eos(tk_istream_t* stream);
*
*
* @param {tk_istream_t*} stream istream对象
* @param {uint32_t} timeout_ms
* @param {uint32_t} timeout_ms ()
*
* @return {ret_t} RET_OK表示成功
*

View File

@ -47,11 +47,11 @@ tk_semaphore_t* tk_semaphore_create(uint32_t value, const char* name);
* @method tk_semaphore_wait
*
* @param {tk_semaphore_t*} semaphore
* @param {uint32_t} timeout_ms
* @param {uint32_t} timeout ()
*
* @return {ret_t} RET_OK表示成功
*/
ret_t tk_semaphore_wait(tk_semaphore_t* semaphore, uint32_t timeout_ms);
ret_t tk_semaphore_wait(tk_semaphore_t* semaphore, uint32_t timeout);
/**
* @method tk_semaphore_post

View File

@ -285,7 +285,7 @@ ret_t serial_oflush(serial_handle_t handle);
*
*
* @param {serial_handle_t} handle
* @param {uint32_t} timeout_ms (ms)
* @param {uint32_t} timeout_ms ()
* @return {ret_t} RET_OK表示成功
*/
ret_t serial_wait_for_data(serial_handle_t handle, uint32_t timeout_ms);
@ -332,8 +332,8 @@ bytesize_t serial_bytesize_from_str(const char* str);
/*不再使用 begin{*/
typedef struct {
uint32_t rd_timeout; /* 读超时时间(ms) */
uint32_t rd_interval_timeout; /* 码间超时(ms) */
uint32_t rd_timeout; /* 读超时时间(毫秒) */
uint32_t rd_interval_timeout; /* 码间超时(毫秒) */
} serial_timeout_t;
ret_t serial_timeout_set(serial_handle_t handle, serial_timeout_t* timeout);
ret_t serial_timeout_get(serial_handle_t handle, serial_timeout_t* timeout);

View File

@ -167,7 +167,7 @@ bool_t tk_socket_last_io_has_error(void);
*
*
* @param {int} sock socket句柄
* @param {uint32_t} timeout_ms (ms)
* @param {uint32_t} timeout_ms ()
* @return {ret_t} RET_OK表示成功
*/
ret_t tk_socket_wait_for_data(int sock, uint32_t timeout_ms);

View File

@ -30,7 +30,7 @@ BEGIN_C_DECLS
* @class time_now_t
* @annotation ["scriptable", "fake"]
*
*
* ()
*
*/

View File

@ -103,7 +103,7 @@ ret_t timer_manager_destroy(timer_manager_t* timer_manager);
* @param {timer_manager_t*} timer_manager
* @param {timer_func_t} on_timer timer回调函数
* @param {void*} ctx timer回调函数的上下文
* @param {uint32_t} duration
* @param {uint32_t} duration ()
*
* @return {uint32_t} timer的IDTK_INVALID_ID表示失败
*/
@ -117,7 +117,7 @@ uint32_t timer_manager_add(timer_manager_t* timer_manager, timer_func_t on_timer
* @param {uint32_t} id timer_id
* @param {timer_func_t} on_timer timer回调函数
* @param {void*} ctx timer回调函数的上下文
* @param {uint32_t} duration
* @param {uint32_t} duration ()
*
* @return {uint32_t} timer的IDTK_INVALID_ID表示失败
*/
@ -184,10 +184,10 @@ uint32_t timer_manager_count(timer_manager_t* timer_manager);
/**
* @method timer_manager_next_time
*
* ()
* @param {timer_manager_t*} timer_manager
*
* @return {uint64_t} timer到期时间
* @return {uint64_t} timer到期时间()
*/
uint64_t timer_manager_next_time(timer_manager_t* timer_manager);
@ -229,7 +229,7 @@ ret_t timer_manager_all_remove_by_ctx_and_type(timer_manager_t* timer_manager, u
* @param {timer_manager_t*} timer_manager
* @param {timer_func_t} on_timer
* @param {void*} ctx
* @param {uint32_t} duration
* @param {uint32_t} duration ()
* @param {uint16_t} timer_info_type timer_info_type
*
* @return {uint32_t} id
@ -244,7 +244,7 @@ uint32_t timer_manager_add_with_type(timer_manager_t* timer_manager, timer_func_
* @param {uint32_t} id id
* @param {timer_func_t} on_timer
* @param {void*} ctx
* @param {uint32_t} duration
* @param {uint32_t} duration ()
* @param {uint16_t} timer_info_type timer_info_type
* @param {bool_t} is_check_id id
*

View File

@ -59,7 +59,7 @@ waitable_action_darray_t* waitable_action_darray_create(uint16_t capacity);
*
* @param {waitable_action_darray_t*} q waitable_action_darray对象
* @param {qaction_t**} action action对象
* @param {uint32_t} timeout_ms (ms)
* @param {uint32_t} timeout_ms ()
*
* @return {ret_t} RET_OK表示成功
*/
@ -72,7 +72,7 @@ ret_t waitable_action_darray_recv(waitable_action_darray_t* q, qaction_t** actio
*
* @param {waitable_action_darray_t*} q waitable_action_darray对象
* @param {qaction_t*} action action对象
* @param {uint32_t} timeout_ms (ms)
* @param {uint32_t} timeout_ms ()
*
* @return {ret_t} RET_OK表示成功
*/

View File

@ -57,7 +57,7 @@ waitable_action_queue_t* waitable_action_queue_create(uint16_t capacity);
*
* @param {waitable_action_queue_t*} q waitable_action_queue对象
* @param {qaction_t**} action action对象
* @param {uint32_t} timeout_ms (ms)
* @param {uint32_t} timeout_ms ()
*
* @return {ret_t} RET_OK表示成功
*/
@ -70,7 +70,7 @@ ret_t waitable_action_queue_recv(waitable_action_queue_t* q, qaction_t** action,
*
* @param {waitable_action_queue_t*} q waitable_action_queue对象
* @param {qaction_t*} action action对象
* @param {uint32_t} timeout_ms (ms)
* @param {uint32_t} timeout_ms ()
*
* @return {ret_t} RET_OK表示成功
*/

View File

@ -61,7 +61,7 @@ waitable_ring_buffer_t* waitable_ring_buffer_create(uint32_t capacity, uint32_t
* @param {waitable_ring_buffer_t*} rb waitable_ring_buffer对象
* @param {void*} buff buff
* @param {uint32_t} size ( block_size)
* @param {uint32_t} timeout_ms (ms)
* @param {uint32_t} timeout_ms ()
*
* @return {ret_t} RET_OK表示成功
*/
@ -75,7 +75,7 @@ ret_t waitable_ring_buffer_read(waitable_ring_buffer_t* rb, void* buff, uint32_t
* @param {waitable_ring_buffer_t*} rb waitable_ring_buffer对象
* @param {const void*} buff
* @param {uint32_t} size ( block_size)
* @param {uint32_t} timeout_ms (ms)
* @param {uint32_t} timeout_ms ()
*
* @return {ret_t} RET_OK表示成功
*/

View File

@ -42,8 +42,8 @@ typedef struct _widget_animator_prop_t {
* @method widget_animator_prop_create
*
* @param {widget_t*} widget
* @param {uint32_t} duration
* @param {uint32_t} delay
* @param {uint32_t} duration ()
* @param {uint32_t} delay ()
* @param {easing_type_t} easing
* @param {const char*} prop_name
*

View File

@ -45,8 +45,8 @@ typedef struct _widget_animator_prop2_t {
* @method widget_animator_prop2_create
*
* @param {widget_t*} widget
* @param {uint32_t} duration
* @param {uint32_t} delay
* @param {uint32_t} duration ()
* @param {uint32_t} delay ()
* @param {easing_type_t} easing
* @param {const char*} prop1_name 1
* @param {const char*} prop2_name 2

View File

@ -44,8 +44,8 @@ typedef struct _widget_animator_scroll_t {
* @method widget_animator_scroll_create
*
* @param {widget_t*} widget
* @param {uint32_t} duration
* @param {uint32_t} delay
* @param {uint32_t} duration ()
* @param {uint32_t} delay ()
* @param {easing_type_t} easing
*
* @return {widget_animator_t*} NULL

View File

@ -109,7 +109,7 @@ typedef struct _button_t {
/**
* @property {uint32_t} long_press_time
* @annotation ["set_prop","get_prop","readable","persitent","design","scriptable"]
* (ms)
* ()
*
*/
uint32_t long_press_time;
@ -174,7 +174,7 @@ ret_t button_set_repeat(widget_t* widget, int32_t repeat);
/**
* @method button_set_long_press_time
*
* ()
* @annotation ["scriptable"]
* @param {widget_t*} widget
* @param {uint32_t} long_press_time ()

View File

@ -97,7 +97,7 @@ typedef struct _popup_t {
/**
* @property {uint32_t} close_when_timeout
* @annotation ["set_prop","get_prop","readable","persitent","design","scriptable"]
* (ms)
* ()
*/
uint32_t close_when_timeout;
@ -154,10 +154,10 @@ ret_t popup_set_close_when_click_outside(widget_t* widget, bool_t close_when_cli
/**
* @method popup_set_close_when_timeout
* (ms)
* ()
* @annotation ["scriptable"]
* @param {widget_t*} widget
* @param {uint32_t} close_when_timeout 0(ms)
* @param {uint32_t} close_when_timeout 0()
*
* @return {ret_t} RET_OK表示成功
*/