export scroll_bar_hide_by_opacity_animation

This commit is contained in:
lixianjing 2022-11-16 17:22:12 +08:00
parent c88f62e08a
commit 1bb92f9a1d
2 changed files with 14 additions and 1 deletions

View File

@ -2,6 +2,7 @@
2022/11/16
* 完善README添加进入微信群的方法(感谢雨欣提供补丁)
* 公开函数scroll\_bar\_hide\_by\_opacity\_animation(感谢兆坤提供补丁)
2022/11/15
* 修复使用combo\_box控件打开下拉列表的同时调用window\_manager\_switch\_to改变窗口顺序导致popup无法正常显示的问题(感谢泽武提供补丁)

View File

@ -283,8 +283,20 @@ bool_t scroll_bar_is_mobile(widget_t* widget);
*/
ret_t scroll_bar_set_animator_time(widget_t* widget, uint32_t animator_time);
/* private */
/**
* @method scroll_bar_hide_by_opacity_animation
*
*
* @annotation ["scriptable"]
* @param {widget_t*} widget scroll_bar控件
* @param {int32_t} duration
* @param {int32_t} delay
*
* @return {ret_t} RET_OK表示成功
*/
ret_t scroll_bar_hide_by_opacity_animation(widget_t* widget, int32_t duration, int32_t delay);
/* private */
ret_t scroll_bar_show_by_opacity_animation(widget_t* widget, int32_t duration, int32_t delay);
#define SCROLL_BAR_PROP_IS_MOBILE "is_mobile"