mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 18:48:09 +08:00
update docs
This commit is contained in:
parent
4d73c63bd7
commit
c251883d97
@ -157,7 +157,7 @@ struct _bitmap_t {
|
||||
*/
|
||||
uint16_t format;
|
||||
/**
|
||||
* @property {char*} name
|
||||
* @property {const char*} name
|
||||
* @annotation ["readable", "scriptable"]
|
||||
* 名称。
|
||||
*/
|
||||
|
@ -280,21 +280,21 @@ struct _vgcanvas_t {
|
||||
*/
|
||||
float_t miter_limit;
|
||||
/**
|
||||
* @property {char*} line_cap
|
||||
* @property {const char*} line_cap
|
||||
* @annotation ["readable", "scriptable"]
|
||||
* line\_cap。
|
||||
* @see http://www.w3school.com.cn/tags/canvas_linecap.asp
|
||||
*/
|
||||
const char* line_cap;
|
||||
/**
|
||||
* @property {char*} line_join
|
||||
* @property {const char*} line_join
|
||||
* @annotation ["readable", "scriptable"]
|
||||
* line\_join。
|
||||
* @see http://www.w3school.com.cn/tags/canvas_linejoin.asp
|
||||
*/
|
||||
const char* line_join;
|
||||
/**
|
||||
* @property {char*} font
|
||||
* @property {const char*} font
|
||||
* @annotation ["readable", "scriptable"]
|
||||
* 字体。
|
||||
*/
|
||||
@ -306,7 +306,7 @@ struct _vgcanvas_t {
|
||||
*/
|
||||
float_t font_size;
|
||||
/**
|
||||
* @property {char*} text_align
|
||||
* @property {const char*} text_align
|
||||
* @annotation ["readable", "scriptable"]
|
||||
* 文本对齐方式。
|
||||
*
|
||||
@ -314,7 +314,7 @@ struct _vgcanvas_t {
|
||||
*/
|
||||
char* text_align;
|
||||
/**
|
||||
* @property {char*} text_baseline
|
||||
* @property {const char*} text_baseline
|
||||
* @annotation ["readable", "scriptable"]
|
||||
* 文本基线。
|
||||
*
|
||||
|
@ -156,13 +156,13 @@ event_t event_init(uint32_t type, void* target);
|
||||
typedef struct _prop_change_event_t {
|
||||
event_t e;
|
||||
/**
|
||||
* @property {char*} name
|
||||
* @property {const char*} name
|
||||
* @annotation ["readable", "scriptable"]
|
||||
* 属性的名称。
|
||||
*/
|
||||
const char* name;
|
||||
/**
|
||||
* @property {value_t*} value
|
||||
* @property {const value_t*} value
|
||||
* @annotation ["readable", "scriptable"]
|
||||
* 属性的值。
|
||||
*/
|
||||
|
@ -300,3 +300,8 @@ object_t* object_default_clone(object_default_t* o) {
|
||||
|
||||
return dup;
|
||||
}
|
||||
|
||||
ret_t object_default_unref(object_t* obj) {
|
||||
return object_unref(obj);
|
||||
}
|
||||
|
||||
|
@ -102,7 +102,7 @@ object_t* object_default_clone(object_default_t* o);
|
||||
* @return {ret_t} 返回RET_OK表示成功,否则表示失败。
|
||||
*
|
||||
*/
|
||||
#define object_default_unref object_unref
|
||||
ret_t object_default_unref(object_t* obj);
|
||||
|
||||
#define OBJECT_DEFAULT(obj) ((object_default_t*)(obj))
|
||||
|
||||
|
@ -28,13 +28,14 @@ AWKT_WINDOW_ANIMATORS_FILES=glob.glob(AWTK_SRC_DIR+'/window_animators/*.c')
|
||||
AWKT_DIALOG_HIGHLIGHTERS_FILES=glob.glob(AWTK_SRC_DIR+'/dialog_highlighters/*.c')
|
||||
AWKT_FONT_LOADER_FILES=glob.glob(AWTK_SRC_DIR+'/font_loader/*.c')
|
||||
AWKT_IMAGE_LOADER_FILES=glob.glob(AWTK_SRC_DIR+'/image_loader/*.c')
|
||||
AWKT_DESIGNER_SUPPORT_FILES=glob.glob(AWTK_SRC_DIR+'/designer_support/*.c')
|
||||
AWKT_INPUT_METHOD_FILES=glob.glob(AWTK_SRC_DIR+'/input_methods/input_method_creator.c')
|
||||
AWKT_FONT_GLOBAL_FILES=glob.glob(AWTK_SRC_DIR+'/*.c')
|
||||
|
||||
COMMON_FILES=AWKT_TKC_FILES + AWKT_BASE_FILES + AWKT_WIDGETS_FILES + AWKT_EXT_WIDGETS_FILES + AWKT_UILOADER_FILES + AWKT_LAYOUTERS_FILES + AWKT_SVG_FILES + AWKT_WIDGET_ANIMATORS_FILES + AWKT_WINDOW_ANIMATORS_FILES + AWKT_DIALOG_HIGHLIGHTERS_FILES + AWKT_CLIPBOARD_FILES + AWKT_FONT_GLOBAL_FILES + AWKT_INPUT_METHOD_FILES;
|
||||
|
||||
INFER_FILES=COMMON_FILES
|
||||
WEB_FILES=COMMON_FILES + AWKT_XML_FILES
|
||||
WEB_FILES=COMMON_FILES + AWKT_XML_FILES + AWKT_DESIGNER_SUPPORT_FILES
|
||||
CPPCHECK_FILES=COMMON_FILES + AWKT_XML_FILES + AWKT_FONT_LOADER_FILES + AWKT_IMAGE_LOADER_FILES
|
||||
|
||||
def getCppCheckFiles():
|
||||
|
@ -923,7 +923,7 @@
|
||||
{
|
||||
"name": "name",
|
||||
"desc": " 名称。\n\n",
|
||||
"type": "char*",
|
||||
"type": "const char*",
|
||||
"annotation": {
|
||||
"readable": true,
|
||||
"scriptable": true
|
||||
@ -9001,7 +9001,7 @@
|
||||
{
|
||||
"name": "line_cap",
|
||||
"desc": " line\\_cap。\n @see http://www.w3school.com.cn/tags/canvas_linecap.asp\n\n",
|
||||
"type": "char*",
|
||||
"type": "const char*",
|
||||
"annotation": {
|
||||
"readable": true,
|
||||
"scriptable": true
|
||||
@ -9010,7 +9010,7 @@
|
||||
{
|
||||
"name": "line_join",
|
||||
"desc": " line\\_join。\n @see http://www.w3school.com.cn/tags/canvas_linejoin.asp\n\n",
|
||||
"type": "char*",
|
||||
"type": "const char*",
|
||||
"annotation": {
|
||||
"readable": true,
|
||||
"scriptable": true
|
||||
@ -9019,7 +9019,7 @@
|
||||
{
|
||||
"name": "font",
|
||||
"desc": " 字体。\n\n",
|
||||
"type": "char*",
|
||||
"type": "const char*",
|
||||
"annotation": {
|
||||
"readable": true,
|
||||
"scriptable": true
|
||||
@ -9037,7 +9037,7 @@
|
||||
{
|
||||
"name": "text_align",
|
||||
"desc": " 文本对齐方式。\n\n @see http://www.w3school.com.cn/tags/canvas_textalign.asp\n\n",
|
||||
"type": "char*",
|
||||
"type": "const char*",
|
||||
"annotation": {
|
||||
"readable": true,
|
||||
"scriptable": true
|
||||
@ -9046,7 +9046,7 @@
|
||||
{
|
||||
"name": "text_baseline",
|
||||
"desc": " 文本基线。\n\n @see http://www.w3school.com.cn/tags/canvas_textbaseline.asp\n\n",
|
||||
"type": "char*",
|
||||
"type": "const char*",
|
||||
"annotation": {
|
||||
"readable": true,
|
||||
"scriptable": true
|
||||
@ -24768,7 +24768,7 @@
|
||||
{
|
||||
"name": "name",
|
||||
"desc": " 属性的名称。\n\n",
|
||||
"type": "char*",
|
||||
"type": "const char*",
|
||||
"annotation": {
|
||||
"readable": true,
|
||||
"scriptable": true
|
||||
@ -24777,7 +24777,7 @@
|
||||
{
|
||||
"name": "value",
|
||||
"desc": " 属性的值。\n\n",
|
||||
"type": "value_t*",
|
||||
"type": "const value_t*",
|
||||
"annotation": {
|
||||
"readable": true,
|
||||
"scriptable": true
|
||||
|
Loading…
Reference in New Issue
Block a user