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