mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
update docs
This commit is contained in:
parent
02449e1979
commit
2b31c1efd6
@ -26,15 +26,49 @@
|
||||
|
||||
BEGIN_C_DECLS
|
||||
|
||||
/**
|
||||
* @class system_info_t
|
||||
* 当前系统的信息。
|
||||
*/
|
||||
typedef struct _system_info_t {
|
||||
/**
|
||||
* @property {uint32_t} lcd_w
|
||||
* @readonly
|
||||
* 显示屏的宽度。
|
||||
*/
|
||||
uint32_t lcd_w;
|
||||
|
||||
/**
|
||||
* @property {uint32_t} lcd_h
|
||||
* @readonly
|
||||
* 显示屏的高度。
|
||||
*/
|
||||
uint32_t lcd_h;
|
||||
|
||||
/**
|
||||
* @property {lcd_type_t} lcd_type
|
||||
* @readonly
|
||||
* 显示屏的类型。
|
||||
*/
|
||||
lcd_type_t lcd_type;
|
||||
|
||||
/**
|
||||
* @property {float_t} device_pixel_ratio
|
||||
* @readonly
|
||||
* 显示屏的密度。
|
||||
*/
|
||||
float_t device_pixel_ratio;
|
||||
} system_info_t;
|
||||
|
||||
/**
|
||||
* @method system_info
|
||||
* 获取system_info对象。
|
||||
* @constructor
|
||||
* @return {system_info_t*} 返回system_info对象。
|
||||
*/
|
||||
system_info_t* system_info(void);
|
||||
|
||||
END_C_DECLS
|
||||
|
||||
#endif /*TK_SYSTEM_INFO_H*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user