Skip to content

widget_animator_event_t

概述

控件动画事件。

函数

函数名称说明
widget_animator_event_cast把event对象转widget_animator_event_t对象。
widget_animator_event_init初始化事件。

属性

属性名称类型说明
animatorvoid*控件动画句柄。
widgetwidget_t*控件对象。

widget_animator_event_cast 函数

  • 函数功能:

把event对象转widget_animator_event_t对象。

  • 函数原型:
widget_animator_event_t* widget_animator_event_cast (event_t* event);
  • 参数说明:
参数类型说明
返回值widget_animator_event_t*event对象。
eventevent_t*event对象。

widget_animator_event_init 函数

  • 函数功能:

初始化事件。

  • 函数原型:
event_t* widget_animator_event_init (widget_animator_event_t* event, uint32_t type, widget_t* widget, void* animator);
  • 参数说明:
参数类型说明
返回值event_t*event对象。
eventwidget_animator_event_t*event对象。
typeuint32_t类型。
widgetwidget_t*控件对象。
animatorvoid*控件动画句柄。

animator 属性

控件动画句柄。

  • 类型:void*
特性是否支持
可直接读取
可直接修改
可脚本化

widget 属性

控件对象。

  • 类型:widget_t*
特性是否支持
可直接读取
可直接修改
可脚本化