update docs

This commit is contained in:
xianjimli 2018-05-04 17:32:02 +08:00
parent 02449e1979
commit 2b31c1efd6

View File

@ -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*/