Ovis_Decoration_State_Get()
摘要
返回 Ovis 装饰的客户端状态指针。
语法
Ovis_Decoration_State_Get (dec_ptr)
| 参数 | 类型 | 说明 |
|---|---|---|
dec_ptr |
OvisT_Decoration * |
Ovis 装饰 |
返回类型
void *
状态
头文件
ovis_decoration.h
详情
该函数返回装饰的客户端状态指针。
示例
OvisT_2D_Text * text;
void * state;
/* … text created at some point */
state = Ovis_Decoration_State_Get (text);
错误
- 装饰为 NIL。
参考
- 使用 Ovis_Decoration_State_Set() 函数指定装饰的客户端状态。