Tasmota/tools/lv_berry/lv_enum.h

578 lines
10 KiB
C
Raw Normal View History

// LV Colors - we store in 24 bits format and will convert at runtime
// This is specific treatment because we keep colors in 24 bits format
COLOR_WHITE=0xFFFFFF
COLOR_SILVER=0xC0C0C0
COLOR_GRAY=0x808080
COLOR_BLACK=0x000000
COLOR_RED=0xFF0000
COLOR_MAROON=0x800000
COLOR_YELLOW=0xFFFF00
COLOR_OLIVE=0x808000
COLOR_LIME=0x00FF00
COLOR_GREEN=0x008000
COLOR_CYAN=0x00FFFF
COLOR_AQUA=0x00FFFF
COLOR_TEAL=0x008080
COLOR_BLUE=0x0000FF
COLOR_NAVY=0x000080
COLOR_MAGENTA=0xFF00FF
COLOR_PURPLE=0x800080
// following are #define, not enum
LV_RADIUS_CIRCLE
LV_TEXTAREA_CURSOR_LAST
LV_STYLE_PROP_ALL
LV_KEY_UP
LV_KEY_DOWN
LV_KEY_RIGHT
LV_KEY_LEFT
LV_KEY_ESC
LV_KEY_DEL
LV_KEY_BACKSPACE
LV_KEY_ENTER
LV_KEY_NEXT
LV_KEY_PREV
LV_KEY_HOME
LV_KEY_END
LV_GROUP_REFOCUS_POLICY_NEXT
LV_GROUP_REFOCUS_POLICY_PREV
LV_DESIGN_DRAW_MAIN
LV_DESIGN_DRAW_POST
LV_DESIGN_COVER_CHK
LV_DESIGN_RES_OK
LV_DESIGN_RES_COVER
LV_DESIGN_RES_NOT_COVER
LV_DESIGN_RES_MASKED
LV_EVENT_PRESSED
LV_EVENT_PRESSING
LV_EVENT_PRESS_LOST
LV_EVENT_SHORT_CLICKED
LV_EVENT_LONG_PRESSED
LV_EVENT_LONG_PRESSED_REPEAT
LV_EVENT_CLICKED
LV_EVENT_RELEASED
LV_EVENT_DRAG_BEGIN
LV_EVENT_DRAG_END
LV_EVENT_DRAG_THROW_BEGIN
LV_EVENT_GESTURE
LV_EVENT_KEY
LV_EVENT_FOCUSED
LV_EVENT_DEFOCUSED
LV_EVENT_LEAVE
LV_EVENT_VALUE_CHANGED
LV_EVENT_INSERT
LV_EVENT_REFRESH
LV_EVENT_APPLY
LV_EVENT_CANCEL
LV_EVENT_DELETE
LV_PROTECT_NONE
LV_PROTECT_CHILD_CHG
LV_PROTECT_PARENT
LV_PROTECT_POS
LV_PROTECT_FOLLOW
LV_PROTECT_PRESS_LOST
LV_PROTECT_CLICK_FOCUS
LV_PROTECT_EVENT_TO_DISABLED
LV_STATE_DEFAULT
LV_STATE_CHECKED
LV_STATE_FOCUSED
LV_STATE_EDITED
LV_STATE_HOVERED
LV_STATE_PRESSED
LV_STATE_DISABLED
LV_OBJ_PART_MAIN
LV_OBJ_PART_ALL
LV_SCR_LOAD_ANIM_NONE
LV_SCR_LOAD_ANIM_OVER_LEFT
LV_SCR_LOAD_ANIM_OVER_RIGHT
LV_SCR_LOAD_ANIM_OVER_TOP
LV_SCR_LOAD_ANIM_OVER_BOTTOM
LV_SCR_LOAD_ANIM_MOVE_LEFT
LV_SCR_LOAD_ANIM_MOVE_RIGHT
LV_SCR_LOAD_ANIM_MOVE_TOP
LV_SCR_LOAD_ANIM_MOVE_BOTTOM
LV_SCR_LOAD_ANIM_FADE_ON
LV_BORDER_SIDE_NONE
LV_BORDER_SIDE_BOTTOM
LV_BORDER_SIDE_TOP
LV_BORDER_SIDE_LEFT
LV_BORDER_SIDE_RIGHT
LV_BORDER_SIDE_FULL
LV_BORDER_SIDE_INTERNAL
LV_GRAD_DIR_NONE
LV_GRAD_DIR_VER
LV_GRAD_DIR_HOR
LV_TEXT_DECOR_NONE
LV_TEXT_DECOR_UNDERLINE
LV_TEXT_DECOR_STRIKETHROUGH
LV_STYLE_RADIUS
LV_STYLE_CLIP_CORNER
LV_STYLE_SIZE
LV_STYLE_TRANSFORM_WIDTH
LV_STYLE_TRANSFORM_HEIGHT
LV_STYLE_TRANSFORM_ANGLE
LV_STYLE_TRANSFORM_ZOOM
LV_STYLE_OPA_SCALE
LV_STYLE_PAD_TOP
LV_STYLE_PAD_BOTTOM
LV_STYLE_PAD_LEFT
LV_STYLE_PAD_RIGHT
LV_STYLE_PAD_INNER
LV_STYLE_MARGIN_TOP
LV_STYLE_MARGIN_BOTTOM
LV_STYLE_MARGIN_LEFT
LV_STYLE_MARGIN_RIGHT
LV_STYLE_BG_BLEND_MODE
LV_STYLE_BG_MAIN_STOP
LV_STYLE_BG_GRAD_STOP
LV_STYLE_BG_GRAD_DIR
LV_STYLE_BG_COLOR
LV_STYLE_BG_GRAD_COLOR
LV_STYLE_BG_OPA
LV_STYLE_BORDER_WIDTH
LV_STYLE_BORDER_SIDE
LV_STYLE_BORDER_BLEND_MODE
LV_STYLE_BORDER_POST
LV_STYLE_BORDER_COLOR
LV_STYLE_BORDER_OPA
LV_STYLE_OUTLINE_WIDTH
LV_STYLE_OUTLINE_PAD
LV_STYLE_OUTLINE_BLEND_MODE
LV_STYLE_OUTLINE_COLOR
LV_STYLE_OUTLINE_OPA
LV_STYLE_SHADOW_WIDTH
LV_STYLE_SHADOW_OFS_X
LV_STYLE_SHADOW_OFS_Y
LV_STYLE_SHADOW_SPREAD
LV_STYLE_SHADOW_BLEND_MODE
LV_STYLE_SHADOW_COLOR
LV_STYLE_SHADOW_OPA
LV_STYLE_PATTERN_BLEND_MODE
LV_STYLE_PATTERN_REPEAT
LV_STYLE_PATTERN_RECOLOR
LV_STYLE_PATTERN_OPA
LV_STYLE_PATTERN_RECOLOR_OPA
LV_STYLE_PATTERN_IMAGE
LV_STYLE_VALUE_LETTER_SPACE
LV_STYLE_VALUE_LINE_SPACE
LV_STYLE_VALUE_BLEND_MODE
LV_STYLE_VALUE_OFS_X
LV_STYLE_VALUE_OFS_Y
LV_STYLE_VALUE_ALIGN
LV_STYLE_VALUE_COLOR
LV_STYLE_VALUE_OPA
LV_STYLE_VALUE_FONT
LV_STYLE_VALUE_STR
LV_STYLE_TEXT_LETTER_SPACE
LV_STYLE_TEXT_LINE_SPACE
LV_STYLE_TEXT_DECOR
LV_STYLE_TEXT_BLEND_MODE
LV_STYLE_TEXT_COLOR
LV_STYLE_TEXT_SEL_COLOR
LV_STYLE_TEXT_SEL_BG_COLOR
LV_STYLE_TEXT_OPA
LV_STYLE_TEXT_FONT
LV_STYLE_LINE_WIDTH
LV_STYLE_LINE_BLEND_MODE
LV_STYLE_LINE_DASH_WIDTH
LV_STYLE_LINE_DASH_GAP
LV_STYLE_LINE_ROUNDED
LV_STYLE_LINE_COLOR
LV_STYLE_LINE_OPA
LV_STYLE_IMAGE_BLEND_MODE
LV_STYLE_IMAGE_RECOLOR
LV_STYLE_IMAGE_OPA
LV_STYLE_IMAGE_RECOLOR_OPA
LV_STYLE_TRANSITION_TIME
LV_STYLE_TRANSITION_DELAY
LV_STYLE_TRANSITION_PROP_1
LV_STYLE_TRANSITION_PROP_2
LV_STYLE_TRANSITION_PROP_3
LV_STYLE_TRANSITION_PROP_4
LV_STYLE_TRANSITION_PROP_5
LV_STYLE_TRANSITION_PROP_6
LV_STYLE_TRANSITION_PATH
LV_STYLE_SCALE_WIDTH
LV_STYLE_SCALE_BORDER_WIDTH
LV_STYLE_SCALE_END_BORDER_WIDTH
LV_STYLE_SCALE_END_LINE_WIDTH
LV_STYLE_SCALE_GRAD_COLOR
LV_STYLE_SCALE_END_COLOR
LV_ANIM_OFF
LV_ANIM_ON
LV_TXT_FLAG_NONE
LV_TXT_FLAG_RECOLOR
LV_TXT_FLAG_EXPAND
LV_TXT_FLAG_CENTER
LV_TXT_FLAG_RIGHT
LV_TXT_FLAG_FIT
LV_TXT_CMD_STATE_WAIT
LV_TXT_CMD_STATE_PAR
LV_TXT_CMD_STATE_IN
LV_RES_INV
LV_RES_OK
LV_FS_RES_OK
LV_FS_RES_HW_ERR
LV_FS_RES_FS_ERR
LV_FS_RES_NOT_EX
LV_FS_RES_FULL
LV_FS_RES_LOCKED
LV_FS_RES_DENIED
LV_FS_RES_BUSY
LV_FS_RES_TOUT
LV_FS_RES_NOT_IMP
LV_FS_RES_OUT_OF_MEM
LV_FS_RES_INV_PARAM
LV_FS_RES_UNKN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ART_KNOB
LV_BAR_TYPE_NORMAL
LV_BAR_TYPE_SYMMETRICAL
LV_BAR_TYPE_CUSTOM
LV_BAR_PART_BG
LV_BAR_PART_INDIC
LV_DROPDOWN_DIR_DOWN
LV_DROPDOWN_DIR_UP
LV_DROPDOWN_DIR_LEFT
LV_DROPDOWN_DIR_RIGHT
LV_DROPDOWN_PART_MAIN
LV_DROPDOWN_PART_LIST
LV_DROPDOWN_PART_SCROLLBAR
LV_DROPDOWN_PART_SELECTED
LV_CANVAS_PART_MAIN
LV_CALENDAR_PART_BG
LV_CALENDAR_PART_HEADER
LV_CALENDAR_PART_DAY_NAMES
LV_CALENDAR_PART_DATE
LV_SWITCH_PART_BG
LV_SWITCH_PART_INDIC
LV_SWITCH_PART_KNOB
LV_TABVIEW_TAB_POS_NONE
LV_TABVIEW_TAB_POS_TOP
LV_TABVIEW_TAB_POS_BOTTOM
LV_TABVIEW_TAB_POS_LEFT
LV_TABVIEW_TAB_POS_RIGHT
LV_TABVIEW_PART_BG
LV_TABVIEW_PART_BG_SCROLLABLE
LV_TABVIEW_PART_TAB_BG
LV_TABVIEW_PART_TAB_BTN
LV_TABVIEW_PART_INDIC
LV_CHECKBOX_PART_BG
LV_CHECKBOX_PART_BULLET
LV_LINE_PART_MAIN
LV_SPINNER_TYPE_SPINNING_ARC
LV_SPINNER_TYPE_FILLSPIN_ARC
LV_SPINNER_TYPE_CONSTANT_ARC
LV_SPINNER_DIR_FORWARD
LV_SPINNER_DIR_BACKWARD
LV_SPINNER_PART_BG
LV_SPINNER_PART_INDIC
LV_LABEL_LONG_EXPAND
LV_LABEL_LONG_BREAK
LV_LABEL_LONG_DOT
LV_LABEL_LONG_SROLL
LV_LABEL_LONG_SROLL_CIRC
LV_LABEL_LONG_CROP
LV_LABEL_ALIGN_LEFT
LV_LABEL_ALIGN_CENTER
LV_LABEL_ALIGN_RIGHT
LV_LABEL_ALIGN_AUTO
LV_LABEL_PART_MAIN
LV_KEYBOARD_MODE_TEXT_LOWER
LV_KEYBOARD_MODE_TEXT_UPPER
LV_KEYBOARD_MODE_SPECIAL
LV_KEYBOARD_MODE_NUM
LV_KEYBOARD_PART_BG
LV_KEYBOARD_PART_BTN
LV_SCROLLBAR_MODE_OFF
LV_SCROLLBAR_MODE_ON
LV_SCROLLBAR_MODE_DRAG
LV_SCROLLBAR_MODE_AUTO
LV_SCROLLBAR_MODE_HIDE
LV_SCROLLBAR_MODE_UNHIDE
LV_PAGE_EDGE_LEFT
LV_PAGE_EDGE_TOP
LV_PAGE_EDGE_RIGHT
LV_PAGE_EDGE_BOTTOM
LV_PAGE_PART_BG
LV_PAGE_PART_SCROLLBAR
LV_PAGE_PART_EDGE_FLASH
LV_PAGE_PART_SCROLLABLE
LV_CPICKER_TYPE_RECT
LV_CPICKER_TYPE_DISC
LV_CPICKER_COLOR_MODE_HUE
LV_CPICKER_COLOR_MODE_SATURATION
LV_CPICKER_COLOR_MODE_VALUE
LV_CPICKER_PART_MAIN
LV_CPICKER_PART_KNOB
LV_GAUGE_PART_MAIN
LV_GAUGE_PART_MAJOR
LV_GAUGE_PART_NEEDLE
LV_WIN_PART_BG
LV_WIN_PART_HEADER
LV_WIN_PART_CONTENT_SCROLLABLE
LV_WIN_PART_SCROLLBAR
LV_BTN_STATE_RELEASED
LV_BTN_STATE_PRESSED
LV_BTN_STATE_DISABLED
LV_BTN_STATE_CHECKED_RELEASED
LV_BTN_STATE_CHECKED_PRESSED
LV_BTN_STATE_CHECKED_DISABLED
LV_BTN_PART_MAIN
LV_ROLLER_MODE_NORMAL
LV_ROLLER_MODE_INFINITE
LV_ROLLER_PART_BG
LV_ROLLER_PART_SELECTED
LV_OBJMASK_PART_MAIN
LV_CHART_TYPE_NONE
LV_CHART_TYPE_LINE
LV_CHART_TYPE_COLUMN
LV_CHART_UPDATE_MODE_SHIFT
LV_CHART_UPDATE_MODE_CIRCULAR
LV_CHART_AXIS_PRIMARY_Y
LV_CHART_AXIS_SECONDARY_Y
LV_CHART_CURSOR_NONE
LV_CHART_CURSOR_RIGHT
LV_CHART_CURSOR_UP
LV_CHART_CURSOR_LEFT
LV_CHART_CURSOR_DOWN
LV_CHART_AXIS_SKIP_LAST_TICK
LV_CHART_AXIS_DRAW_LAST_TICK
LV_CHART_AXIS_INVERSE_LABELS_ORDER
LV_CHART_PART_BG
LV_CHART_PART_SERIES_BG
LV_CHART_PART_SERIES
LV_CHART_PART_CURSOR
LV_TEXTAREA_PART_BG
LV_TEXTAREA_PART_SCROLLBAR
LV_TEXTAREA_PART_EDGE_FLASH
LV_TEXTAREA_PART_CURSOR
LV_TEXTAREA_PART_PLACEHOLDER
LV_MSGBOX_PART_BG
LV_MSGBOX_PART_BTN_BG
LV_MSGBOX_PART_BTN
LV_SPINBOX_PART_BG
LV_SPINBOX_PART_CURSOR
LV_LED_PART_MAIN
LV_TILEVIEW_PART_BG
LV_TILEVIEW_PART_SCROLLBAR
LV_TILEVIEW_PART_EDGE_FLASH
LV_BTNMATRIX_CTRL_HIDDEN
LV_BTNMATRIX_CTRL_NO_REPEAT
LV_BTNMATRIX_CTRL_DISABLED
LV_BTNMATRIX_CTRL_CHECKABLE
LV_BTNMATRIX_CTRL_CHECK_STATE
LV_BTNMATRIX_CTRL_CLICK_TRIG
LV_BTNMATRIX_PART_BG
LV_BTNMATRIX_PART_BTN
LV_LAYOUT_OFF
LV_LAYOUT_CENTER
LV_LAYOUT_COLUMN_LEFT
LV_LAYOUT_COLUMN_MID
LV_LAYOUT_COLUMN_RIGHT
LV_LAYOUT_ROW_TOP
LV_LAYOUT_ROW_MID
LV_LAYOUT_ROW_BOTTOM
LV_LAYOUT_PRETTY_TOP
LV_LAYOUT_PRETTY_MID
LV_LAYOUT_PRETTY_BOTTOM
LV_LAYOUT_GRID
LV_FIT_NONE
LV_FIT_TIGHT
LV_FIT_PARENT
LV_FIT_MAX
LV_CONT_PART_MAIN
LV_INDEV_TYPE_NONE
LV_INDEV_TYPE_POINTER
LV_INDEV_TYPE_KEYPAD
LV_INDEV_TYPE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