2018-12-20 17:33:31 +08:00
|
|
|
## gif\_image\_t
|
|
|
|
### 概述
|
|
|
|
![image](images/gif_image_t_0.png)
|
|
|
|
|
2018-12-21 11:39:05 +08:00
|
|
|
GIF图片控件。
|
2018-12-20 17:33:31 +08:00
|
|
|
### 函数
|
|
|
|
<p id="gif_image_t_methods">
|
|
|
|
|
|
|
|
| 函数名称 | 说明 |
|
|
|
|
| -------- | ------------ |
|
2018-12-21 12:11:40 +08:00
|
|
|
| <a href="#gif_image_t_gif_image_cast">gif\_image\_cast</a> | 转换为gif_image对象(供脚本语言使用)。 |
|
|
|
|
| <a href="#gif_image_t_gif_image_create">gif\_image\_create</a> | 创建gif_image对象 |
|
2018-12-20 17:33:31 +08:00
|
|
|
#### gif\_image\_cast 函数
|
2018-12-21 18:29:29 +08:00
|
|
|
-----------------------
|
|
|
|
|
|
|
|
* 函数功能:
|
|
|
|
|
|
|
|
> <p id="gif_image_t_gif_image_cast"> 转换为gif_image对象(供脚本语言使用)。
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-12-21 11:39:05 +08:00
|
|
|
* 函数原型:
|
|
|
|
|
|
|
|
```
|
|
|
|
widget_t* gif_image_cast (widget_t* widget);
|
|
|
|
```
|
|
|
|
|
|
|
|
* 参数说明:
|
|
|
|
|
2018-12-20 17:33:31 +08:00
|
|
|
| 参数 | 类型 | 说明 |
|
|
|
|
| -------- | ----- | --------- |
|
|
|
|
| 返回值 | widget\_t* | gif\_image对象。 |
|
|
|
|
| widget | widget\_t* | gif\_image对象。 |
|
2018-12-21 18:29:29 +08:00
|
|
|
#### gif\_image\_create 函数
|
|
|
|
-----------------------
|
|
|
|
|
2018-12-21 11:39:05 +08:00
|
|
|
* 函数功能:
|
|
|
|
|
2018-12-21 18:29:29 +08:00
|
|
|
> <p id="gif_image_t_gif_image_create"> 创建gif_image对象
|
2018-12-20 17:33:31 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
2018-12-21 11:39:05 +08:00
|
|
|
* 函数原型:
|
|
|
|
|
|
|
|
```
|
|
|
|
widget_t* gif_image_create (widget_t* parent, xy_t x, xy_t y, wh_t w, wh_t h);
|
|
|
|
```
|
|
|
|
|
|
|
|
* 参数说明:
|
|
|
|
|
2018-12-20 17:33:31 +08:00
|
|
|
| 参数 | 类型 | 说明 |
|
|
|
|
| -------- | ----- | --------- |
|
|
|
|
| 返回值 | widget\_t* | 对象。 |
|
|
|
|
| parent | widget\_t* | 父控件 |
|
|
|
|
| x | xy\_t | x坐标 |
|
|
|
|
| y | xy\_t | y坐标 |
|
|
|
|
| w | wh\_t | 宽度 |
|
|
|
|
| h | wh\_t | 高度 |
|