update docs

This commit is contained in:
lixianjing 2019-10-06 22:39:06 -07:00
parent 6143fed4d1
commit 2978a756a9
2 changed files with 6200 additions and 5848 deletions

View File

@ -115,42 +115,42 @@ typedef struct _time_clock_t {
char* second_image;
/**
* @property {float_t} anchor_x
* @property {char*} hour_anchor_x
* @annotation ["set_prop","get_prop","readable","persitent","design","scriptable"]
* x坐标(px为像素点px为相对百分比坐标0.0f1.0f)
*/
char* hour_anchor_x;
/**
* @property {float_t} anchor_y
* @property {char*} hour_anchor_y
* @annotation ["set_prop","get_prop","readable","persitent","design","scriptable"]
* y坐标(px为像素点px为相对百分比坐标0.0f1.0f)
*/
char* hour_anchor_y;
/**
* @property {float_t} anchor_x
* @property {char*} minute_anchor_x
* @annotation ["set_prop","get_prop","readable","persitent","design","scriptable"]
* x坐标(px为像素点px为相对百分比坐标0.0f1.0f)
*/
char* minute_anchor_x;
/**
* @property {float_t} anchor_y
* @property {char*} minute_anchor_y
* @annotation ["set_prop","get_prop","readable","persitent","design","scriptable"]
* y坐标(px为像素点px为相对百分比坐标0.0f1.0f)
*/
char* minute_anchor_y;
/**
* @property {float_t} anchor_x
* @property {char*} second_anchor_x
* @annotation ["set_prop","get_prop","readable","persitent","design","scriptable"]
* x坐标(px为像素点px为相对百分比坐标0.0f1.0f)
*/
char* second_anchor_x;
/**
* @property {float_t} anchor_y
* @property {char*} second_anchor_y
* @annotation ["set_prop","get_prop","readable","persitent","design","scriptable"]
* y坐标(px为像素点px为相对百分比坐标0.0f1.0f)
*/
@ -271,42 +271,36 @@ ret_t time_clock_set_bg_image(widget_t* widget, const char* bg_image);
ret_t time_clock_set_image(widget_t* widget, const char* image);
/**
* @method guage_pointer_set_anchor
* @method time_clock_set_hour_anchor
*
* @annotation ["scriptable"]
* @param {widget_t*} widget
* @param {const char*} anchor_x
* x(px为像素点px为相对百分比坐标0.0f1.0f)
* @param {const char*} anchor_y
* y(px为像素点px为相对百分比坐标0.0f1.0f)
* @param {const char*} anchor_x x(px为像素点px为相对百分比坐标0.0f1.0f)
* @param {const char*} anchor_y y(px为像素点px为相对百分比坐标0.0f1.0f)
*
* @return {ret_t} RET_OK表示成功
*/
ret_t time_clock_set_hour_anchor(widget_t* widget, const char* anchor_x, const char* anchor_y);
/**
* @method guage_pointer_set_anchor
* @method time_clock_set_minute_anchor
*
* @annotation ["scriptable"]
* @param {widget_t*} widget
* @param {const char*} anchor_x
* x(px为像素点px为相对百分比坐标0.0f1.0f)
* @param {const char*} anchor_y
* y(px为像素点px为相对百分比坐标0.0f1.0f)
* @param {const char*} anchor_x x(px为像素点px为相对百分比坐标0.0f1.0f)
* @param {const char*} anchor_y y(px为像素点px为相对百分比坐标0.0f1.0f)
*
* @return {ret_t} RET_OK表示成功
*/
ret_t time_clock_set_minute_anchor(widget_t* widget, const char* anchor_x, const char* anchor_y);
/**
* @method guage_pointer_set_anchor
* @method time_clock_set_second_anchor
*
* @annotation ["scriptable"]
* @param {widget_t*} widget
* @param {const char*} anchor_x
* x(px为像素点px为相对百分比坐标0.0f1.0f)
* @param {const char*} anchor_y
* y(px为像素点px为相对百分比坐标0.0f1.0f)
* @param {const char*} anchor_x x(px为像素点px为相对百分比坐标0.0f1.0f)
* @param {const char*} anchor_y y(px为像素点px为相对百分比坐标0.0f1.0f)
*
* @return {ret_t} RET_OK表示成功
*/

File diff suppressed because it is too large Load Diff