awtk/docs/manual/style_const_t.md
2021-05-11 15:50:24 +08:00

33 lines
769 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## style\_const\_t
### 概述
![image](images/style_const_t_0.png)
只读的style从theme\_t中获取数据。
tools/theme_gen用于把XML的窗体样式数据转换成常量数据。
----------------------------------
### 函数
<p id="style_const_t_methods">
| 函数名称 | 说明 |
| -------- | ------------ |
| <a href="#style_const_t_style_const_create">style\_const\_create</a> | 创建只读的style对象。 |
#### style\_const\_create 函数
-----------------------
* 函数功能:
> <p id="style_const_t_style_const_create">创建只读的style对象。
* 函数原型:
```
style_t* style_const_create ();
```
* 参数说明:
| 参数 | 类型 | 说明 |
| -------- | ----- | --------- |
| 返回值 | style\_t* | 返回style对象。 |