mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
export scroll_bar_hide_by_opacity_animation
This commit is contained in:
parent
c88f62e08a
commit
1bb92f9a1d
@ -2,6 +2,7 @@
|
||||
|
||||
2022/11/16
|
||||
* 完善README,添加进入微信群的方法(感谢雨欣提供补丁)
|
||||
* 公开函数scroll\_bar\_hide\_by\_opacity\_animation(感谢兆坤提供补丁)
|
||||
|
||||
2022/11/15
|
||||
* 修复使用combo\_box控件打开下拉列表的同时调用window\_manager\_switch\_to改变窗口顺序导致popup无法正常显示的问题(感谢泽武提供补丁)
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user