update docs

This commit is contained in:
xianjimli 2019-03-06 10:03:27 +08:00
parent cc5c244da2
commit e473255a6c

View File

@ -259,121 +259,127 @@ BEGIN_C_DECLS
/** /**
* @const WIDGET_PROP_MIN * @const WIDGET_PROP_MIN
* *
*/ */
#define WIDGET_PROP_MIN "min" #define WIDGET_PROP_MIN "min"
/** /**
* @const WIDGET_PROP_TIPS * @const WIDGET_PROP_TIPS
* *
*/ */
#define WIDGET_PROP_TIPS "tips" #define WIDGET_PROP_TIPS "tips"
/** /**
* @const WIDGET_PROP_INPUT_TYPE * @const WIDGET_PROP_INPUT_TYPE
* *
*/ */
#define WIDGET_PROP_INPUT_TYPE "input_type" #define WIDGET_PROP_INPUT_TYPE "input_type"
/** /**
* @const WIDGET_PROP_READONLY * @const WIDGET_PROP_READONLY
* *
*/ */
#define WIDGET_PROP_READONLY "readonly" #define WIDGET_PROP_READONLY "readonly"
/** /**
* @const WIDGET_PROP_PASSWORD_VISIBLE * @const WIDGET_PROP_PASSWORD_VISIBLE
* *
*/ */
#define WIDGET_PROP_PASSWORD_VISIBLE "password_visible" #define WIDGET_PROP_PASSWORD_VISIBLE "password_visible"
/** /**
* @const WIDGET_PROP_ACTIVE * @const WIDGET_PROP_ACTIVE
* * active状态
*/ */
#define WIDGET_PROP_ACTIVE "active" #define WIDGET_PROP_ACTIVE "active"
/** /**
* @const WIDGET_PROP_VERTICAL * @const WIDGET_PROP_VERTICAL
* *
*/ */
#define WIDGET_PROP_VERTICAL "vertical" #define WIDGET_PROP_VERTICAL "vertical"
/** /**
* @const WIDGET_PROP_SHOW_TEXT * @const WIDGET_PROP_SHOW_TEXT
* *
*/ */
#define WIDGET_PROP_SHOW_TEXT "show_text" #define WIDGET_PROP_SHOW_TEXT "show_text"
/** /**
* @const WIDGET_PROP_XOFFSET * @const WIDGET_PROP_XOFFSET
* * X方向的偏移
*/ */
#define WIDGET_PROP_XOFFSET "xoffset" #define WIDGET_PROP_XOFFSET "xoffset"
/** /**
* @const WIDGET_PROP_YOFFSET * @const WIDGET_PROP_YOFFSET
* * Y方向的偏移
*/ */
#define WIDGET_PROP_YOFFSET "yoffset" #define WIDGET_PROP_YOFFSET "yoffset"
/** /**
* @const WIDGET_PROP_ALIGN_V * @const WIDGET_PROP_ALIGN_V
* *
*/ */
#define WIDGET_PROP_ALIGN_V "align_v" #define WIDGET_PROP_ALIGN_V "align_v"
/** /**
* @const WIDGET_PROP_ALIGN_H * @const WIDGET_PROP_ALIGN_H
* *
*/ */
#define WIDGET_PROP_ALIGN_H "align_h" #define WIDGET_PROP_ALIGN_H "align_h"
/** /**
* @const WIDGET_PROP_AUTO_PLAY * @const WIDGET_PROP_AUTO_PLAY
* *
*/ */
#define WIDGET_PROP_AUTO_PLAY "auto_play" #define WIDGET_PROP_AUTO_PLAY "auto_play"
/**
* @const WIDGET_PROP_LOOP
*
*/
#define WIDGET_PROP_LOOP "loop"
/** /**
* @const WIDGET_PROP_AUTO_FIX * @const WIDGET_PROP_AUTO_FIX
* *
*/ */
#define WIDGET_PROP_AUTO_FIX "auto_fix" #define WIDGET_PROP_AUTO_FIX "auto_fix"
/** /**
* @const WIDGET_PROP_X_MIN * @const WIDGET_PROP_X_MIN
* * X最小值
*/ */
#define WIDGET_PROP_X_MIN "x_min" #define WIDGET_PROP_X_MIN "x_min"
/** /**
* @const WIDGET_PROP_X_MAX * @const WIDGET_PROP_X_MAX
* * X最大值
*/ */
#define WIDGET_PROP_X_MAX "x_max" #define WIDGET_PROP_X_MAX "x_max"
/** /**
* @const WIDGET_PROP_Y_MIN * @const WIDGET_PROP_Y_MIN
* * Y最小值
*/ */
#define WIDGET_PROP_Y_MIN "y_min" #define WIDGET_PROP_Y_MIN "y_min"
/** /**
* @const WIDGET_PROP_Y_MAX * @const WIDGET_PROP_Y_MAX
* * Y最大值
*/ */
#define WIDGET_PROP_Y_MAX "y_max" #define WIDGET_PROP_Y_MAX "y_max"
/** /**
* @const WIDGET_PROP_MAX * @const WIDGET_PROP_MAX
* *
*/ */
#define WIDGET_PROP_MAX "max" #define WIDGET_PROP_MAX "max"
/** /**
* @const WIDGET_PROP_ROW * @const WIDGET_PROP_ROW
* *
*/ */
#define WIDGET_PROP_ROW "row" #define WIDGET_PROP_ROW "row"
@ -427,97 +433,97 @@ BEGIN_C_DECLS
/** /**
* @const WIDGET_PROP_ITEM_WIDTH * @const WIDGET_PROP_ITEM_WIDTH
* *
*/ */
#define WIDGET_PROP_ITEM_WIDTH "item_width" #define WIDGET_PROP_ITEM_WIDTH "item_width"
/** /**
* @const WIDGET_PROP_ITEM_HEIGHT * @const WIDGET_PROP_ITEM_HEIGHT
* *
*/ */
#define WIDGET_PROP_ITEM_HEIGHT "item_height" #define WIDGET_PROP_ITEM_HEIGHT "item_height"
/** /**
* @const WIDGET_PROP_DEFAULT_ITEM_HEIGHT * @const WIDGET_PROP_DEFAULT_ITEM_HEIGHT
* *
*/ */
#define WIDGET_PROP_DEFAULT_ITEM_HEIGHT "default_item_height" #define WIDGET_PROP_DEFAULT_ITEM_HEIGHT "default_item_height"
/** /**
* @const WIDGET_PROP_XSLIDABLE * @const WIDGET_PROP_XSLIDABLE
* * X方向是否可拖动
*/ */
#define WIDGET_PROP_XSLIDABLE "xslidable" #define WIDGET_PROP_XSLIDABLE "xslidable"
/** /**
* @const WIDGET_PROP_YSLIDABLE * @const WIDGET_PROP_YSLIDABLE
* * Y方向是否可拖动
*/ */
#define WIDGET_PROP_YSLIDABLE "yslidable" #define WIDGET_PROP_YSLIDABLE "yslidable"
/** /**
* @const WIDGET_PROP_REPEAT * @const WIDGET_PROP_REPEAT
* *
*/ */
#define WIDGET_PROP_REPEAT "repeat" #define WIDGET_PROP_REPEAT "repeat"
/** /**
* @const WIDGET_PROP_ENABLE_LONG_PRESS * @const WIDGET_PROP_ENABLE_LONG_PRESS
* *
*/ */
#define WIDGET_PROP_ENABLE_LONG_PRESS "enable_long_press" #define WIDGET_PROP_ENABLE_LONG_PRESS "enable_long_press"
/** /**
* @const WIDGET_PROP_ANIMATABLE * @const WIDGET_PROP_ANIMATABLE
* *
*/ */
#define WIDGET_PROP_ANIMATABLE "animatable" #define WIDGET_PROP_ANIMATABLE "animatable"
/** /**
* @const WIDGET_PROP_AUTO_HIDE_SCROLL_BAR * @const WIDGET_PROP_AUTO_HIDE_SCROLL_BAR
* *
*/ */
#define WIDGET_PROP_AUTO_HIDE_SCROLL_BAR "auto_hide_scroll_bar" #define WIDGET_PROP_AUTO_HIDE_SCROLL_BAR "auto_hide_scroll_bar"
/** /**
* @const WIDGET_PROP_IMAGE * @const WIDGET_PROP_IMAGE
* *
*/ */
#define WIDGET_PROP_IMAGE "image" #define WIDGET_PROP_IMAGE "image"
/** /**
* @const WIDGET_PROP_FORMAT * @const WIDGET_PROP_FORMAT
* *
*/ */
#define WIDGET_PROP_FORMAT "format" #define WIDGET_PROP_FORMAT "format"
/** /**
* @const WIDGET_PROP_DRAW_TYPE * @const WIDGET_PROP_DRAW_TYPE
* *
*/ */
#define WIDGET_PROP_DRAW_TYPE "draw_type" #define WIDGET_PROP_DRAW_TYPE "draw_type"
/** /**
* @const WIDGET_PROP_SELECTABLE * @const WIDGET_PROP_SELECTABLE
* *
*/ */
#define WIDGET_PROP_SELECTABLE "selectable" #define WIDGET_PROP_SELECTABLE "selectable"
/** /**
* @const WIDGET_PROP_CLICKABLE * @const WIDGET_PROP_CLICKABLE
* *
*/ */
#define WIDGET_PROP_CLICKABLE "clickable" #define WIDGET_PROP_CLICKABLE "clickable"
/** /**
* @const WIDGET_PROP_SCALE_X * @const WIDGET_PROP_SCALE_X
* * X方向缩放比例
*/ */
#define WIDGET_PROP_SCALE_X "scale_x" #define WIDGET_PROP_SCALE_X "scale_x"
/** /**
* @const WIDGET_PROP_SCALE_Y * @const WIDGET_PROP_SCALE_Y
* * Y方向缩放比例
*/ */
#define WIDGET_PROP_SCALE_Y "scale_y" #define WIDGET_PROP_SCALE_Y "scale_y"
@ -632,37 +638,37 @@ BEGIN_C_DECLS
/** /**
* @const WIDGET_TYPE_NONE * @const WIDGET_TYPE_NONE
* *
*/ */
#define WIDGET_TYPE_NONE "widget" #define WIDGET_TYPE_NONE "widget"
/** /**
* @const WIDGET_TYPE_WINDOW_MANAGER * @const WIDGET_TYPE_WINDOW_MANAGER
* *
*/ */
#define WIDGET_TYPE_WINDOW_MANAGER "window_manager" #define WIDGET_TYPE_WINDOW_MANAGER "window_manager"
/** /**
* @const WIDGET_TYPE_NORMAL_WINDOW * @const WIDGET_TYPE_NORMAL_WINDOW
* *
*/ */
#define WIDGET_TYPE_NORMAL_WINDOW "window" #define WIDGET_TYPE_NORMAL_WINDOW "window"
/** /**
* @const WIDGET_TYPE_TOOL_BAR * @const WIDGET_TYPE_TOOL_BAR
* *
*/ */
#define WIDGET_TYPE_TOOL_BAR "tool_bar" #define WIDGET_TYPE_TOOL_BAR "tool_bar"
/** /**
* @const WIDGET_TYPE_DIALOG * @const WIDGET_TYPE_DIALOG
* *
*/ */
#define WIDGET_TYPE_DIALOG "dialog" #define WIDGET_TYPE_DIALOG "dialog"
/** /**
* @const WIDGET_TYPE_POPUP * @const WIDGET_TYPE_POPUP
* popup window *
*/ */
#define WIDGET_TYPE_POPUP "popup" #define WIDGET_TYPE_POPUP "popup"
@ -674,259 +680,259 @@ BEGIN_C_DECLS
/** /**
* @const WIDGET_TYPE_SPRITE * @const WIDGET_TYPE_SPRITE
* *
*/ */
#define WIDGET_TYPE_SPRITE "sprite" #define WIDGET_TYPE_SPRITE "sprite"
/** /**
* @const WIDGET_TYPE_KEYBOARD * @const WIDGET_TYPE_KEYBOARD
* *
*/ */
#define WIDGET_TYPE_KEYBOARD "keyboard" #define WIDGET_TYPE_KEYBOARD "keyboard"
/** /**
* @const WIDGET_TYPE_DND * @const WIDGET_TYPE_DND
* *
*/ */
#define WIDGET_TYPE_DND "dnd" #define WIDGET_TYPE_DND "dnd"
/** /**
* @const WIDGET_TYPE_LABEL * @const WIDGET_TYPE_LABEL
* *
*/ */
#define WIDGET_TYPE_LABEL "label" #define WIDGET_TYPE_LABEL "label"
/** /**
* @const WIDGET_TYPE_BUTTON * @const WIDGET_TYPE_BUTTON
* *
*/ */
#define WIDGET_TYPE_BUTTON "button" #define WIDGET_TYPE_BUTTON "button"
/** /**
* @const WIDGET_TYPE_IMAGE * @const WIDGET_TYPE_IMAGE
* *
*/ */
#define WIDGET_TYPE_IMAGE "image" #define WIDGET_TYPE_IMAGE "image"
/** /**
* @const WIDGET_TYPE_EDIT * @const WIDGET_TYPE_EDIT
* *
*/ */
#define WIDGET_TYPE_EDIT "edit" #define WIDGET_TYPE_EDIT "edit"
/** /**
* @const WIDGET_TYPE_PROGRESS_BAR * @const WIDGET_TYPE_PROGRESS_BAR
* *
*/ */
#define WIDGET_TYPE_PROGRESS_BAR "progress_bar" #define WIDGET_TYPE_PROGRESS_BAR "progress_bar"
/** /**
* @const WIDGET_TYPE_GROUP_BOX * @const WIDGET_TYPE_GROUP_BOX
* *
*/ */
#define WIDGET_TYPE_GROUP_BOX "group_box" #define WIDGET_TYPE_GROUP_BOX "group_box"
/** /**
* @const WIDGET_TYPE_CHECK_BUTTON * @const WIDGET_TYPE_CHECK_BUTTON
* *
*/ */
#define WIDGET_TYPE_CHECK_BUTTON "check_button" #define WIDGET_TYPE_CHECK_BUTTON "check_button"
/** /**
* @const WIDGET_TYPE_RADIO_BUTTON * @const WIDGET_TYPE_RADIO_BUTTON
* *
*/ */
#define WIDGET_TYPE_RADIO_BUTTON "radio_button" #define WIDGET_TYPE_RADIO_BUTTON "radio_button"
/** /**
* @const WIDGET_TYPE_DIALOG_TITLE * @const WIDGET_TYPE_DIALOG_TITLE
* *
*/ */
#define WIDGET_TYPE_DIALOG_TITLE "dialog_title" #define WIDGET_TYPE_DIALOG_TITLE "dialog_title"
/** /**
* @const WIDGET_TYPE_DIALOG_CLIENT * @const WIDGET_TYPE_DIALOG_CLIENT
* *
*/ */
#define WIDGET_TYPE_DIALOG_CLIENT "dialog_client" #define WIDGET_TYPE_DIALOG_CLIENT "dialog_client"
/** /**
* @const WIDGET_TYPE_SLIDER * @const WIDGET_TYPE_SLIDER
* *
*/ */
#define WIDGET_TYPE_SLIDER "slider" #define WIDGET_TYPE_SLIDER "slider"
/** /**
* @const WIDGET_TYPE_VIEW * @const WIDGET_TYPE_VIEW
* *
*/ */
#define WIDGET_TYPE_VIEW "view" #define WIDGET_TYPE_VIEW "view"
/** /**
* @const WIDGET_TYPE_COMBO_BOX * @const WIDGET_TYPE_COMBO_BOX
* *
*/ */
#define WIDGET_TYPE_COMBO_BOX "combo_box" #define WIDGET_TYPE_COMBO_BOX "combo_box"
/** /**
* @const WIDGET_TYPE_COMBO_BOX_ITEM * @const WIDGET_TYPE_COMBO_BOX_ITEM
* *
*/ */
#define WIDGET_TYPE_COMBO_BOX_ITEM "combo_box_item" #define WIDGET_TYPE_COMBO_BOX_ITEM "combo_box_item"
/** /**
* @const WIDGET_TYPE_SLIDE_VIEW * @const WIDGET_TYPE_SLIDE_VIEW
* *
*/ */
#define WIDGET_TYPE_SLIDE_VIEW "slide_view" #define WIDGET_TYPE_SLIDE_VIEW "slide_view"
/** /**
* @const WIDGET_TYPE_PAGES * @const WIDGET_TYPE_PAGES
* *
*/ */
#define WIDGET_TYPE_PAGES "pages" #define WIDGET_TYPE_PAGES "pages"
/** /**
* @const WIDGET_TYPE_TAB_BUTTON * @const WIDGET_TYPE_TAB_BUTTON
* *
*/ */
#define WIDGET_TYPE_TAB_BUTTON "tab_button" #define WIDGET_TYPE_TAB_BUTTON "tab_button"
/** /**
* @const WIDGET_TYPE_TAB_CONTROL * @const WIDGET_TYPE_TAB_CONTROL
* *
*/ */
#define WIDGET_TYPE_TAB_CONTROL "tab_control" #define WIDGET_TYPE_TAB_CONTROL "tab_control"
/** /**
* @const WIDGET_TYPE_TAB_BUTTON_GROUP * @const WIDGET_TYPE_TAB_BUTTON_GROUP
* *
*/ */
#define WIDGET_TYPE_TAB_BUTTON_GROUP "tab_button_group" #define WIDGET_TYPE_TAB_BUTTON_GROUP "tab_button_group"
/** /**
* @const WIDGET_TYPE_BUTTON_GROUP * @const WIDGET_TYPE_BUTTON_GROUP
* *
*/ */
#define WIDGET_TYPE_BUTTON_GROUP "button_group" #define WIDGET_TYPE_BUTTON_GROUP "button_group"
/** /**
* @const WIDGET_TYPE_CANDIDATES * @const WIDGET_TYPE_CANDIDATES
* *
*/ */
#define WIDGET_TYPE_CANDIDATES "candidates" #define WIDGET_TYPE_CANDIDATES "candidates"
/** /**
* @const WIDGET_TYPE_SPIN_BOX * @const WIDGET_TYPE_SPIN_BOX
* *
*/ */
#define WIDGET_TYPE_SPIN_BOX "spin_box" #define WIDGET_TYPE_SPIN_BOX "spin_box"
/** /**
* @const WIDGET_TYPE_DRAGGER * @const WIDGET_TYPE_DRAGGER
* *
*/ */
#define WIDGET_TYPE_DRAGGER "dragger" #define WIDGET_TYPE_DRAGGER "dragger"
/** /**
* @const WIDGET_TYPE_SCROLL_BAR * @const WIDGET_TYPE_SCROLL_BAR
* *
*/ */
#define WIDGET_TYPE_SCROLL_BAR "scroll_bar" #define WIDGET_TYPE_SCROLL_BAR "scroll_bar"
/** /**
* @const WIDGET_TYPE_SCROLL_BAR_DESKTOP * @const WIDGET_TYPE_SCROLL_BAR_DESKTOP
* *
*/ */
#define WIDGET_TYPE_SCROLL_BAR_DESKTOP "scroll_bar_d" #define WIDGET_TYPE_SCROLL_BAR_DESKTOP "scroll_bar_d"
/** /**
* @const WIDGET_TYPE_SCROLL_BAR_MOBILE * @const WIDGET_TYPE_SCROLL_BAR_MOBILE
* *
*/ */
#define WIDGET_TYPE_SCROLL_BAR_MOBILE "scroll_bar_m" #define WIDGET_TYPE_SCROLL_BAR_MOBILE "scroll_bar_m"
/** /**
* @const WIDGET_TYPE_SCROLL_VIEW * @const WIDGET_TYPE_SCROLL_VIEW
* *
*/ */
#define WIDGET_TYPE_SCROLL_VIEW "scroll_view" #define WIDGET_TYPE_SCROLL_VIEW "scroll_view"
/** /**
* @const WIDGET_TYPE_LIST_VIEW * @const WIDGET_TYPE_LIST_VIEW
* *
*/ */
#define WIDGET_TYPE_LIST_VIEW "list_view" #define WIDGET_TYPE_LIST_VIEW "list_view"
/** /**
* @const WIDGET_TYPE_LIST_VIEW_H * @const WIDGET_TYPE_LIST_VIEW_H
* *
*/ */
#define WIDGET_TYPE_LIST_VIEW_H "list_view_h" #define WIDGET_TYPE_LIST_VIEW_H "list_view_h"
/** /**
* @const WIDGET_TYPE_LIST_ITEM * @const WIDGET_TYPE_LIST_ITEM
* *
*/ */
#define WIDGET_TYPE_LIST_ITEM "list_item" #define WIDGET_TYPE_LIST_ITEM "list_item"
/** /**
* @const WIDGET_TYPE_COLOR_PICKER * @const WIDGET_TYPE_COLOR_PICKER
* *
*/ */
#define WIDGET_TYPE_COLOR_PICKER "color_picker" #define WIDGET_TYPE_COLOR_PICKER "color_picker"
/** /**
* @const WIDGET_TYPE_COLOR_COMPONENT * @const WIDGET_TYPE_COLOR_COMPONENT
* *
*/ */
#define WIDGET_TYPE_COLOR_COMPONENT "color_component" #define WIDGET_TYPE_COLOR_COMPONENT "color_component"
/** /**
* @const WIDGET_TYPE_COLOR_TILE * @const WIDGET_TYPE_COLOR_TILE
* *
*/ */
#define WIDGET_TYPE_COLOR_TILE "color_tile" #define WIDGET_TYPE_COLOR_TILE "color_tile"
/** /**
* @const WIDGET_TYPE_RICH_TEXT * @const WIDGET_TYPE_RICH_TEXT
* *
*/ */
#define WIDGET_TYPE_RICH_TEXT "rich_text" #define WIDGET_TYPE_RICH_TEXT "rich_text"
/** /**
* @const WIDGET_TYPE_APP_BAR * @const WIDGET_TYPE_APP_BAR
* * AppBar控件
*/ */
#define WIDGET_TYPE_APP_BAR "app_bar" #define WIDGET_TYPE_APP_BAR "app_bar"
/** /**
* @const WIDGET_TYPE_GRID * @const WIDGET_TYPE_GRID
* *
*/ */
#define WIDGET_TYPE_GRID "grid" #define WIDGET_TYPE_GRID "grid"
/** /**
* @const WIDGET_TYPE_GRID_ITEM * @const WIDGET_TYPE_GRID_ITEM
* *
*/ */
#define WIDGET_TYPE_GRID_ITEM "grid_item" #define WIDGET_TYPE_GRID_ITEM "grid_item"
/** /**
* @const WIDGET_TYPE_ROW * @const WIDGET_TYPE_ROW
* *
*/ */
#define WIDGET_TYPE_ROW "row" #define WIDGET_TYPE_ROW "row"
/** /**
* @const WIDGET_TYPE_COLUMN * @const WIDGET_TYPE_COLUMN
* *
*/ */
#define WIDGET_TYPE_COLUMN "column" #define WIDGET_TYPE_COLUMN "column"
/** /**
* @const WIDGET_TYPE_CALIBRATION_WIN * @const WIDGET_TYPE_CALIBRATION_WIN
* *
*/ */
#define WIDGET_TYPE_CALIBRATION_WIN "calibration_win" #define WIDGET_TYPE_CALIBRATION_WIN "calibration_win"