Skip to main content

Crate lightvgl_sys

Crate lightvgl_sys 

Source

Re-exports§

pub use self::_lvimage_flags_t as lv_image_flags_t;
pub use self::lv_result_t as lv_res_t;
pub use self::lv_display_render_mode_t as lv_disp_render_t;
pub use self::lv_display_rotation_t as lv_disp_rotation_t;
pub use self::lv_buttonmatrix_ctrl_t as lv_btnmatrix_ctrl_t;
pub use self::lv_screen_load_anim_t as lv_scr_load_anim_t;

Structs§

__BindgenBitfieldUnit
__fsid_t
__va_list_tag
_lv_3dtexture_t
_lv_anim_t
Describes an animation
_lv_anim_timeline_dsc_t
TYPEDEFS
_lv_anim_timeline_t
_lv_animimg_t
Data of the animimage
_lv_arc_t
TYPEDEFS
_lv_arclabel_t
_lv_array_t
Description of a array
_lv_bar_anim_t
TYPEDEFS
_lv_bar_t
_lv_barcode_t
_lv_button_t
TYPEDEFS
_lv_buttonmatrix_t
Data of button matrix
_lv_cache_class_t
Cache class struct for building custom cache classes
_lv_cache_entry_t
TYPEDEFS
_lv_cache_ops_t
The cache operations struct
_lv_cache_slot_size_t
Cache entry slot struct
_lv_cache_t
The cache entry struct
_lv_calendar_t
Data of calendar
_lv_canvas_t
Canvas data
_lv_chart_cursor_t
_lv_chart_series_t
Descriptor a chart series
_lv_chart_t
_lv_checkbox_t
TYPEDEFS
_lv_circle_buf_t
_lv_color_filter_dsc_t
TYPEDEFS
_lv_cover_check_info_t
Used as the event parameter of ::LV_EVENT_COVER_CHECK to check if an area is covered by the object or not. In the event use const lv_area_t * area = lv_event_get_cover_area(e) to get the area to check and lv_event_set_cover_res(e, res) to set the result.
_lv_display_t
TYPEDEFS
_lv_draw_buf_handlers_t
TYPEDEFS
_lv_draw_buf_t
_lv_draw_glyph_dsc_t
_lv_draw_image_dsc_t
MACROS
_lv_draw_image_sup_t
TYPEDEFS
_lv_draw_label_hint_t
Store some info to speed up drawing of very large texts It takes a lot of time to get the first visible character because all the previous characters needs to be checked to calculate the positions. This structure stores an earlier (e.g. at -1000 px) coordinate and the index of that line. Therefore the calculations can start from here.
_lv_draw_mask_rect_dsc_t
TYPEDEFS
_lv_draw_mask_t
_lv_draw_sw_blend_dsc_t
TYPEDEFS
_lv_draw_sw_blend_fill_dsc_t
_lv_draw_sw_blend_image_dsc_t
_lv_draw_sw_mask_angle_param_t
_lv_draw_sw_mask_angle_param_t__bindgen_ty_1
_lv_draw_sw_mask_common_dsc_t
_lv_draw_sw_mask_fade_param_t
_lv_draw_sw_mask_fade_param_t__bindgen_ty_1
_lv_draw_sw_mask_line_param_t
_lv_draw_sw_mask_line_param_t__bindgen_ty_1
_lv_draw_sw_mask_map_param_t
_lv_draw_sw_mask_map_param_t__bindgen_ty_1
_lv_draw_sw_mask_radius_param_t
_lv_draw_sw_mask_radius_param_t__bindgen_ty_1
_lv_draw_sw_unit_t
_lv_draw_task_t
TYPEDEFS
_lv_draw_unit_t
_lv_draw_vector_dsc_t
_lv_dropdown_list_t
_lv_dropdown_t
TYPEDEFS
_lv_event_dsc_t
TYPEDEFS
_lv_event_t
_lv_ffmpeg_player_t
_lv_file_explorer_t
_lv_font_class_t
_lv_font_info_t
_lv_font_manager_t
_lv_font_t
Describe the properties of a font
_lv_fpoint_t
_lv_fragment_class_t
_lv_fragment_managed_states_t
_lv_fragment_t
_lv_freetype_outline_event_param_t
_lv_freetype_outline_vector_t
_lv_fs_drv_t
_lv_fs_file_cache_t
TYPEDEFS
_lv_global_t
_lv_gltf_environment
_lv_gltf_ibl_sampler
_lv_gltf_model_node_t
_lv_gltf_model_t
_lv_gltf_t
_lv_group_t
Groups can be used to logically hold objects so that they can be individually focused. They are NOT for laying out objects on a screen (try layouts for that).
_lv_hit_test_info_t
Used as the event parameter of ::LV_EVENT_HIT_TEST to check if an point can click the object or not. res should be set like this:
_lv_image_cache_data_t
_lv_image_decoder_args_t
Image decoder args. It determines how to decoder an image, e.g. whether to premultiply the alpha or not. It should be passed to lv_img_decoder_open() function. If NULL is provided, default args are used.
_lv_image_decoder_dsc_t
Describe an image decoding session. Stores data about the decoding
_lv_image_decoder_t
_lv_image_header_cache_data_t
_lv_image_t
Data of image
_lv_imagebutton_src_info_t
TYPEDEFS
_lv_imagebutton_t
Data of image button
_lv_ime_pinyin_t
_lv_indev_t
TYPEDEFS
_lv_indev_t__bindgen_ty_1
_lv_indev_t__bindgen_ty_2
_lv_iter_t
_lv_keyboard_t
Data of keyboard
_lv_label_t
TYPEDEFS
_lv_layer_t
_lv_led_t
Data of led
_lv_libinput_event_t
_lv_libinput_t
_lv_line_t
Data of line
_lv_matrix_t
_lv_menu_history_t
_lv_menu_load_page_event_data_t
TYPEDEFS
_lv_menu_page_t
_lv_menu_t
_lv_monkey_config_t
_lv_msgbox_t
TYPEDEFS
_lv_obj_class_t
Describe the common methods of every object. Similar to a C++ class.
_lv_obj_spec_attr_t
Special, rarely used attributes. They are allocated automatically if any elements is set.
_lv_obj_style_t
TYPEDEFS
_lv_obj_style_transition_dsc_t
_lv_obj_t
_lv_observer_t
The observer object: a descriptor returned when subscribing LVGL widgets to subjects
_lv_opengles_window_t
_lv_opengles_window_texture_t
_lv_profiler_builtin_config_t
_lv_qrcode_t
_lv_rb_node_t
TYPEDEFS
_lv_rb_t
_lv_rlottie_t
_lv_roller_t
TYPEDEFS
_lv_scale_section_t
TYPEDEFS
_lv_scale_t
_lv_slider_t
TYPEDEFS
_lv_span_coords_t
Coords of a span
_lv_span_t
TYPEDEFS
_lv_spangroup_t
Data of label
_lv_spinbox_t
Data of spinbox
_lv_spinner_t
_lv_subject_increment_dsc_t
Descriptor created by lv_obj_add_subject_increment_event()
_lv_subject_t
The Subject (an observable value)
_lv_switch_t
TYPEDEFS
_lv_table_cell_t
Cell data
_lv_table_t
Table data
_lv_tabview_t
TYPEDEFS
_lv_textarea_t
Data of text area
_lv_textarea_t__bindgen_ty_1
_lv_theme_t
TYPEDEFS
_lv_tileview_t
TYPEDEFS
_lv_tileview_tile_t
_lv_timer_t
Descriptor of a lv_timer
_lv_tree_class_t
Describe the common methods of every object. Similar to a C++ class.
_lv_tree_node_t
Description of a tree node
_lv_vector_fill_dsc_t
_lv_vector_gradient_t
_lv_vector_path_ctx_t
_lv_vector_path_t
_lv_vector_stroke_dsc_t
_lv_win_t
TYPEDEFS
_lv_xkb_t
_silence_gcc_warning
DEFINES
_snippet_stack
imaxdiv_t
lv_anim_bezier3_para_t
Parameter used when path is custom_bezier
lv_anim_state_t
TYPEDEFS
lv_area_t
Represents an area of the screen.
lv_binfont_font_src_t
TYPEDEFS
lv_builtin_font_src_t
lv_calendar_date_t
Represents a date on the calendar object (platform-agnostic).
lv_color16_t
lv_color16a_t
lv_color32_t
lv_color_hsv_t
lv_color_t
TYPEDEFS
lv_draw_arc_dsc_t
TYPEDEFS
lv_draw_blur_dsc_t
TYPEDEFS
lv_draw_border_dsc_t
lv_draw_box_shadow_dsc_t
lv_draw_dsc_base_t
lv_draw_fill_dsc_t
lv_draw_global_info_t
lv_draw_label_dsc_t
TYPEDEFS
lv_draw_letter_dsc_t
lv_draw_line_dsc_t
TYPEDEFS
lv_draw_rect_dsc_t
TYPEDEFS
lv_draw_sw_custom_blend_handler_t
lv_draw_sw_mask_radius_circle_dsc_t
TYPEDEFS
lv_draw_sw_thread_dsc_t
TYPEDEFS
lv_draw_triangle_dsc_t
TYPEDEFS
lv_event_list_t
lv_font_fmt_txt_cmap_t
Map codepoints to a glyph_dscs Several formats are supported to optimize memory usage See https://github.com/lvgl/lv_font_conv/blob/master/doc/font_spec.md
lv_font_fmt_txt_dsc_t
Describe store for additional data for fonts
lv_font_fmt_txt_glyph_dsc_t
This describes a glyph.
lv_font_fmt_txt_kern_classes_t
More complex but more optimal class based kern value storage
lv_font_fmt_txt_kern_pair_t
A simple mapping of kern values from pairs
lv_font_glyph_dsc_t
Describes the properties of a glyph.
lv_fs_dir_t
lv_fs_file_t
lv_fs_path_ex_t
Extended path object to specify buffer for memory-mapped files
lv_grad_dsc_t
A descriptor of a gradient.
lv_grad_dsc_t__bindgen_ty_1__bindgen_ty_1
lv_grad_dsc_t__bindgen_ty_1__bindgen_ty_2
lv_grad_dsc_t__bindgen_ty_1__bindgen_ty_3
lv_grad_stop_t
A gradient stop definition. This matches a color and a position in a virtual 0-255 scale.
lv_image_colorkey_t
A image colorkey definition. The transparency within the color range of [low, high] will be set to LV_OPA_TRANSP If the “enable” flag is set to true.
lv_image_dsc_t
Struct to describe a constant image resource. It’s similar to lv_draw_buf_t, but the data is constant.
lv_image_header_t
lv_indev_data_t
Data structure passed to an input driver to fill
lv_layout_callbacks_t
lv_layout_dsc_t
TYPEDEFS
lv_linux_proc_stat_t__bindgen_ty_1
lv_ll_t
Description of a linked list
lv_mem_monitor_t
Heap information structure.
lv_point_precise_t
lv_point_t
Represents a point on the screen.
lv_scale_needle_t
lv_sqrt_res_t
TYPEDEFS
lv_style_const_prop_t
Descriptor of a constant style property.
lv_style_t
Descriptor of a style (a collection of properties and values).
lv_style_transition_dsc_t
Descriptor for style transitions
lv_text_attributes_t
lv_tick_state_t
TYPEDEFS
lv_timer_state_t
lv_tlsf_state_t
TYPEDEFS
lv_yuv_buf_t__bindgen_ty_1
lv_yuv_buf_t__bindgen_ty_2
lv_yuv_plane_t
max_align_t

Constants§

AIO_PRIO_DELTA_MAX
ARG_MAX
BC_BASE_MAX
BC_DIM_MAX
BC_SCALE_MAX
BC_STRING_MAX
CHARCLASS_NAME_MAX
COLL_WEIGHTS_MAX
DELAYTIMER_MAX
EXPR_NEST_MAX
HOST_NAME_MAX
INT8_MAX
INT8_MIN
INT16_MAX
INT16_MIN
INT32_MAX
INT32_MIN
INTPTR_MAX
INTPTR_MIN
INT_FAST8_MAX
INT_FAST8_MIN
INT_FAST16_MAX
INT_FAST16_MIN
INT_FAST32_MAX
INT_FAST32_MIN
INT_LEAST8_MAX
INT_LEAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_MIN
LINE_MAX
LINK_MAX
LOGIN_NAME_MAX
LVGL_VERSION_INFO
LVGL_VERSION_MAJOR
LVGL_VERSION_MINOR
LVGL_VERSION_PATCH
LV_ANIM_OFF
LV_ANIM_ON
LV_ANIM_PAUSE_FOREVER
LV_ANIM_PLAYTIME_INFINITE
LV_ANIM_REPEAT_INFINITE
LV_ANIM_TIMELINE_PROGRESS_MAX
LV_ARCLABEL_DEFAULT_TEXT
LV_ARCLABEL_DOT_NUM
LV_ARRAY_DEFAULT_CAPACITY
LV_ARRAY_DEFAULT_SHRINK_RATIO
LV_ATTRIBUTE_MEM_ALIGN_SIZE
LV_BEZIER_VAL_MAX
LV_BEZIER_VAL_SHIFT
LV_BIDI_LRO
LV_BIDI_RLO
LV_BIG_ENDIAN_SYSTEM
LV_BIN_DECODER_RAM_LOAD
LV_BTNMATRIX_BTN_NONE
LV_BUILD_DEMOS
LV_BUILD_EXAMPLES
LV_BUTTONMATRIX_BUTTON_NONE
LV_CACHE_DEF_SIZE
LV_CACHE_ENTRY_FLAG_CLASS_CUSTOM
LV_CACHE_ENTRY_FLAG_DISABLE_DELETE
LV_CACHE_ENTRY_FLAG_INVALID
LV_CALENDAR_WEEK_STARTS_MONDAY
LV_CHART_POINT_NONE
LV_COLOR_DEPTH
LV_COLOR_MIX_ROUND_OFS
LV_COLOR_NATIVE_WITH_ALPHA_SIZE
LV_COORD_MAX
LV_COORD_MIN
LV_COORD_TYPE_MASK
LV_COORD_TYPE_PX
LV_COORD_TYPE_PX_NEG
LV_COORD_TYPE_SHIFT
LV_COORD_TYPE_SPEC
LV_DEF_REFR_PERIOD
LV_DPI_DEF
LV_DRAW_BUF_ALIGN
LV_DRAW_BUF_STRIDE_ALIGN
LV_DRAW_LABEL_NO_TXT_SEL
LV_DRAW_LAYER_MAX_MEMORY
LV_DRAW_LAYER_SIMPLE_BUF_SIZE
LV_DRAW_LINE_POINT_NONE
LV_DRAW_SW_ASM_CUSTOM
LV_DRAW_SW_ASM_HELIUM
LV_DRAW_SW_ASM_NEON
LV_DRAW_SW_ASM_NONE
LV_DRAW_SW_ASM_RISCV_V
LV_DRAW_SW_CIRCLE_CACHE_SIZE
LV_DRAW_SW_COMPLEX
LV_DRAW_SW_DRAW_UNIT_CNT
LV_DRAW_SW_I1_LUM_THRESHOLD
LV_DRAW_SW_SHADOW_CACHE_SIZE
LV_DRAW_SW_SUPPORT_A8
LV_DRAW_SW_SUPPORT_AL88
LV_DRAW_SW_SUPPORT_ARGB8888
LV_DRAW_SW_SUPPORT_ARGB8888_PREMULTIPLIED
LV_DRAW_SW_SUPPORT_I1
LV_DRAW_SW_SUPPORT_L8
LV_DRAW_SW_SUPPORT_RGB565
LV_DRAW_SW_SUPPORT_RGB888
LV_DRAW_SW_SUPPORT_RGB565A8
LV_DRAW_SW_SUPPORT_RGB565_SWAPPED
LV_DRAW_SW_SUPPORT_XRGB8888
LV_DRAW_THREAD_STACK_SIZE
LV_DRAW_TRANSFORM_USE_MATRIX
LV_DRAW_UNIT_IDLE
LV_DRAW_UNIT_NONE
LV_DROPDOWN_POS_LAST
LV_ENABLE_GLOBAL_CUSTOM
LV_FLEX_COLUMN
LV_FLEX_REVERSE
LV_FLEX_WRAP
LV_FONT_DEJAVU_16_PERSIAN_HEBREW
LV_FONT_FMT_TXT_LARGE
LV_FONT_MONTSERRAT_8
LV_FONT_MONTSERRAT_10
LV_FONT_MONTSERRAT_12
LV_FONT_MONTSERRAT_14
LV_FONT_MONTSERRAT_16
LV_FONT_MONTSERRAT_18
LV_FONT_MONTSERRAT_20
LV_FONT_MONTSERRAT_22
LV_FONT_MONTSERRAT_24
LV_FONT_MONTSERRAT_26
LV_FONT_MONTSERRAT_28
LV_FONT_MONTSERRAT_30
LV_FONT_MONTSERRAT_32
LV_FONT_MONTSERRAT_34
LV_FONT_MONTSERRAT_36
LV_FONT_MONTSERRAT_38
LV_FONT_MONTSERRAT_40
LV_FONT_MONTSERRAT_42
LV_FONT_MONTSERRAT_44
LV_FONT_MONTSERRAT_46
LV_FONT_MONTSERRAT_48
LV_FONT_MONTSERRAT_28_COMPRESSED
LV_FONT_SOURCE_HAN_SANS_SC_14_CJK
LV_FONT_SOURCE_HAN_SANS_SC_16_CJK
LV_FONT_UNSCII_8
LV_FONT_UNSCII_16
LV_FS_CACHE_FROM_BUFFER
LV_FS_DEFAULT_DRIVER_LETTER
LV_FS_MAX_FN_LENGTH
LV_FS_MAX_PATH_LEN
LV_FS_MAX_PATH_LENGTH
LV_FS_STDIO_CACHE_SIZE
LV_FS_STDIO_LETTER
LV_FS_STDIO_PATH
LV_GRADIENT_MAX_STOPS
LV_GRID_CONTENT
LV_GRID_TEMPLATE_LAST
LV_IMAGE_FLAGS_USER_MASK
LV_IMAGE_HEADER_CACHE_DEF_CNT
LV_IMAGE_HEADER_MAGIC
LV_INDEV_VECT_HIST_SIZE
LV_INV_BUF_SIZE
LV_LABEL_DEFAULT_TEXT
LV_LABEL_DOT_NUM
LV_LABEL_LONG_TXT_HINT
LV_LABEL_POS_LAST
LV_LABEL_TEXT_SELECTION
LV_LABEL_TEXT_SELECTION_OFF
LV_LABEL_WAIT_CHAR_COUNT
LV_LED_BRIGHT_MAX
LV_LED_BRIGHT_MIN
LV_LINUX_DRM_USE_EGL
LV_LOG_LEVEL_ERROR
LV_LOG_LEVEL_INFO
LV_LOG_LEVEL_NONE
LV_LOG_LEVEL_NUM
LV_LOG_LEVEL_TRACE
LV_LOG_LEVEL_USER
LV_LOG_LEVEL_WARN
LV_LOG_PRINTF
LV_LOG_TRACE_ANIM
LV_LOG_TRACE_CACHE
LV_LOG_TRACE_DISP_REFR
LV_LOG_TRACE_EVENT
LV_LOG_TRACE_INDEV
LV_LOG_TRACE_LAYOUT
LV_LOG_TRACE_MEM
LV_LOG_TRACE_OBJ_CREATE
LV_LOG_TRACE_TIMER
LV_LOG_USE_FILE_LINE
LV_LOG_USE_TIMESTAMP
LV_MASK_ID_INV
LV_MASK_MAX_NUM
LV_MEM_ADR
LV_MEM_POOL_EXPAND_SIZE
LV_MEM_SIZE
LV_NANOVG_BACKEND_GL2
LV_NANOVG_BACKEND_GL3
LV_NANOVG_BACKEND_GLES2
LV_NANOVG_BACKEND_GLES3
LV_NEMA_HAL_CUSTOM
LV_NEMA_HAL_STM32
LV_NEMA_LIB_M7
LV_NEMA_LIB_M55
LV_NEMA_LIB_M33_NEMAPVG
LV_NEMA_LIB_M33_REVC
LV_NEMA_LIB_NONE
LV_NO_TIMER_READY
LV_OBJ_ID_AUTO_ASSIGN
LV_OBJ_STYLE_CACHE
LV_OPA_MAX
LV_OPA_MIN
LV_OS_CMSIS_RTOS2
LV_OS_CUSTOM
LV_OS_FREERTOS
LV_OS_MQX
LV_OS_NONE
LV_OS_PTHREAD
LV_OS_RTTHREAD
LV_OS_SDL2
LV_OS_WINDOWS
LV_PCT_POS_MAX
LV_PCT_STORED_MAX
LV_PRIX32
LV_PRIX64
LV_PRId32
LV_PRId64
LV_PRIu32
LV_PRIu64
LV_PRIx32
LV_PRIx64
LV_PROC_STAT_PARAMS_LEN
LV_RADIUS_CIRCLE
LV_SCALE_LABEL_ENABLED_DEFAULT
LV_SCALE_LABEL_ROTATE_KEEP_UPRIGHT
LV_SCALE_LABEL_ROTATE_MATCH_TICKS
LV_SCALE_MAJOR_TICK_EVERY_DEFAULT
LV_SCALE_NONE
LV_SCALE_ROTATION_ANGLE_MASK
LV_SCALE_TOTAL_TICK_COUNT_DEFAULT
LV_SDL_USE_EGL
LV_SPAN_SNIPPET_STACK_SIZE
LV_SPINBOX_MAX_DIGIT_COUNT
LV_STDLIB_BUILTIN
LV_STDLIB_CLIB
LV_STDLIB_CUSTOM
LV_STDLIB_MICROPYTHON
LV_STDLIB_RTTHREAD
LV_STRIDE_AUTO
LV_STYLE_PROP_FLAG_ALL
LV_STYLE_PROP_FLAG_EXT_DRAW_UPDATE
LV_STYLE_PROP_FLAG_INHERITABLE
LV_STYLE_PROP_FLAG_LAYER_UPDATE
LV_STYLE_PROP_FLAG_LAYOUT_UPDATE
LV_STYLE_PROP_FLAG_NONE
LV_STYLE_PROP_FLAG_PARENT_LAYOUT_UPDATE
LV_STYLE_PROP_FLAG_TRANSFORM
LV_STYLE_SENTINEL_VALUE
LV_SWITCH_KNOB_EXT_AREA_CORRECTION
LV_SYMBOL_AUDIO
LV_SYMBOL_BACKSPACE
LV_SYMBOL_BARS
LV_SYMBOL_BATTERY_1
LV_SYMBOL_BATTERY_2
LV_SYMBOL_BATTERY_3
LV_SYMBOL_BATTERY_EMPTY
LV_SYMBOL_BATTERY_FULL
LV_SYMBOL_BELL
LV_SYMBOL_BLUETOOTH
LV_SYMBOL_BULLET
LV_SYMBOL_CALL
LV_SYMBOL_CHARGE
LV_SYMBOL_CLOSE
LV_SYMBOL_COPY
LV_SYMBOL_CUT
LV_SYMBOL_DIRECTORY
LV_SYMBOL_DOWN
LV_SYMBOL_DOWNLOAD
LV_SYMBOL_DRIVE
LV_SYMBOL_DUMMY
LV_SYMBOL_EDIT
LV_SYMBOL_EJECT
LV_SYMBOL_ENVELOPE
LV_SYMBOL_EYE_CLOSE
LV_SYMBOL_EYE_OPEN
LV_SYMBOL_FILE
LV_SYMBOL_GPS
LV_SYMBOL_HOME
LV_SYMBOL_IMAGE
LV_SYMBOL_KEYBOARD
LV_SYMBOL_LEFT
LV_SYMBOL_LIST
LV_SYMBOL_LOOP
LV_SYMBOL_MINUS
LV_SYMBOL_MUTE
LV_SYMBOL_NEW_LINE
LV_SYMBOL_NEXT
LV_SYMBOL_OK
LV_SYMBOL_PASTE
LV_SYMBOL_PAUSE
LV_SYMBOL_PLAY
LV_SYMBOL_PLUS
LV_SYMBOL_POWER
LV_SYMBOL_PREV
LV_SYMBOL_REFRESH
LV_SYMBOL_RIGHT
LV_SYMBOL_SAVE
LV_SYMBOL_SD_CARD
LV_SYMBOL_SETTINGS
LV_SYMBOL_SHUFFLE
LV_SYMBOL_STOP
LV_SYMBOL_TINT
LV_SYMBOL_TRASH
LV_SYMBOL_UP
LV_SYMBOL_UPLOAD
LV_SYMBOL_USB
LV_SYMBOL_VIDEO
LV_SYMBOL_VOLUME_MAX
LV_SYMBOL_VOLUME_MID
LV_SYMBOL_WARNING
LV_SYMBOL_WIFI
LV_SYSMON_PROC_IDLE_AVAILABLE
LV_TABLE_CELL_NONE
LV_TEXTAREA_CURSOR_LAST
LV_TEXTAREA_DEF_PWD_SHOW_TIME
LV_TEXT_LEN_MAX
LV_THEME_DEFAULT_DARK
LV_THEME_DEFAULT_GROW
LV_THEME_DEFAULT_TRANSITION_TIME
LV_TRIGO_SHIFT
LV_TRIGO_SIN_MAX
LV_TXT_BREAK_CHARS
LV_TXT_COLOR_CMD
LV_TXT_ENC_ASCII
LV_TXT_ENC_UTF8
LV_TXT_LINE_BREAK_LONG_LEN
LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN
LV_TXT_LINE_BREAK_LONG_PRE_MIN_LEN
LV_USE_3DTEXTURE
LV_USE_ANIMIMAGE
LV_USE_ANIMIMG
LV_USE_ARABIC_PERSIAN_CHARS
LV_USE_ARC
LV_USE_ARCLABEL
LV_USE_ASSERT_MALLOC
LV_USE_ASSERT_MEM_INTEGRITY
LV_USE_ASSERT_NULL
LV_USE_ASSERT_OBJ
LV_USE_ASSERT_STYLE
LV_USE_BAR
LV_USE_BARCODE
LV_USE_BIDI
LV_USE_BMP
LV_USE_BUTTON
LV_USE_BUTTONMATRIX
LV_USE_CALENDAR
LV_USE_CALENDAR_CHINESE
LV_USE_CALENDAR_HEADER_ARROW
LV_USE_CALENDAR_HEADER_DROPDOWN
LV_USE_CANVAS
LV_USE_CHART
LV_USE_CHECKBOX
LV_USE_COLOR_FILTER
LV_USE_DEMO_BENCHMARK
LV_USE_DEMO_EBIKE
LV_USE_DEMO_FLEX_LAYOUT
LV_USE_DEMO_GLTF
LV_USE_DEMO_HIGH_RES
LV_USE_DEMO_KEYPAD_AND_ENCODER
LV_USE_DEMO_MULTILANG
LV_USE_DEMO_MUSIC
LV_USE_DEMO_RENDER
LV_USE_DEMO_SCROLL
LV_USE_DEMO_SMARTWATCH
LV_USE_DEMO_STRESS
LV_USE_DEMO_TRANSFORM
LV_USE_DEMO_VECTOR_GRAPHIC
LV_USE_DEMO_WIDGETS
LV_USE_DRAW_ARM2D_SYNC
LV_USE_DRAW_DAVE2D
LV_USE_DRAW_DMA2D
LV_USE_DRAW_EVE
LV_USE_DRAW_NANOVG
LV_USE_DRAW_OPENGLES
LV_USE_DRAW_SDL
LV_USE_DRAW_SW
LV_USE_DRAW_SW_ASM
LV_USE_DRAW_SW_COMPLEX_GRADIENTS
LV_USE_DRAW_VG_LITE
LV_USE_DROPDOWN
LV_USE_EGL
LV_USE_EVDEV
LV_USE_EXT_DATA
LV_USE_FFMPEG
LV_USE_FILE_EXPLORER
LV_USE_FLEX
LV_USE_FLOAT
LV_USE_FONT_COMPRESSED
LV_USE_FONT_MANAGER
LV_USE_FONT_PLACEHOLDER
LV_USE_FRAGMENT
LV_USE_FREETYPE
LV_USE_FS_ARDUINO_ESP_LITTLEFS
LV_USE_FS_ARDUINO_SD
LV_USE_FS_FATFS
LV_USE_FS_FROGFS
LV_USE_FS_LITTLEFS
LV_USE_FS_MEMFS
LV_USE_FS_POSIX
LV_USE_FS_STDIO
LV_USE_FS_UEFI
LV_USE_FS_WIN32
LV_USE_FT81X
LV_USE_G2D
LV_USE_GENERIC_MIPI
LV_USE_GESTURE_RECOGNITION
LV_USE_GIF
LV_USE_GLFW
LV_USE_GLTF
LV_USE_GRID
LV_USE_GRIDNAV
LV_USE_GSTREAMER
LV_USE_ILI9341
LV_USE_IMAGE
LV_USE_IMAGEBUTTON
LV_USE_IME_PINYIN
LV_USE_IMGFONT
LV_USE_KEYBOARD
LV_USE_LABEL
LV_USE_LAYER_DEBUG
LV_USE_LED
LV_USE_LIBINPUT
LV_USE_LIBJPEG_TURBO
LV_USE_LIBPNG
LV_USE_LIBWEBP
LV_USE_LINE
LV_USE_LINUX_DRM
LV_USE_LINUX_FBDEV
LV_USE_LIST
LV_USE_LODEPNG
LV_USE_LOG
LV_USE_LOTTIE
LV_USE_LOVYAN_GFX
LV_USE_LZ4
LV_USE_LZ4_EXTERNAL
LV_USE_LZ4_INTERNAL
LV_USE_MATRIX
LV_USE_MEM_MONITOR
LV_USE_MENU
LV_USE_MONKEY
LV_USE_MSGBOX
LV_USE_NANOVG
LV_USE_NATIVE_HELIUM_ASM
LV_USE_NEMA_GFX
LV_USE_NUTTX
LV_USE_NV3007
LV_USE_NXP_ELCDIF
LV_USE_OBJ_ID
LV_USE_OBJ_ID_BUILTIN
LV_USE_OBJ_NAME
LV_USE_OBJ_PROPERTY
LV_USE_OBJ_PROPERTY_NAME
LV_USE_OBSERVER
LV_USE_OPENGLES
LV_USE_OS
LV_USE_PARALLEL_DRAW_DEBUG
LV_USE_PERF_MONITOR
LV_USE_PERF_MONITOR_LOG_MODE
LV_USE_PPA
LV_USE_PROFILER
LV_USE_PXP
LV_USE_QNX
LV_USE_QRCODE
LV_USE_REFR_DEBUG
LV_USE_RENESAS_GLCDC
LV_USE_RLE
LV_USE_RLOTTIE
LV_USE_ROLLER
LV_USE_SCALE
LV_USE_SDL
LV_USE_SLIDER
LV_USE_SNAPSHOT
LV_USE_SPAN
LV_USE_SPINBOX
LV_USE_SPINNER
LV_USE_ST7735
LV_USE_ST7789
LV_USE_ST7796
LV_USE_STDLIB_MALLOC
LV_USE_STDLIB_SPRINTF
LV_USE_STDLIB_STRING
LV_USE_ST_LTDC
LV_USE_SVG
LV_USE_SVG_ANIMATION
LV_USE_SVG_DEBUG
LV_USE_SWITCH
LV_USE_SYSMON
LV_USE_TABLE
LV_USE_TABVIEW
LV_USE_TEST
LV_USE_TEXTAREA
LV_USE_TFT_ESPI
LV_USE_THEME_DEFAULT
LV_USE_THEME_MONO
LV_USE_THEME_SIMPLE
LV_USE_THORVG
LV_USE_THORVG_EXTERNAL
LV_USE_THORVG_INTERNAL
LV_USE_TILEVIEW
LV_USE_TINY_TTF
LV_USE_TJPGD
LV_USE_TRANSLATION
LV_USE_UEFI
LV_USE_VECTOR_GRAPHIC
LV_USE_VG_LITE_DRIVER
LV_USE_VG_LITE_THORVG
LV_USE_WAYLAND
LV_USE_WIN
LV_USE_WINDOWS
LV_USE_X11
LV_USE_XML
LV_WAYLAND_USE_EGL
LV_WAYLAND_USE_G2D
LV_WAYLAND_USE_SHM
LV_WIDGETS_HAS_DEFAULT_VALUE
LV_ZOOM_NONE
MAX_CANON
MAX_INPUT
MB_LEN_MAX
MQ_PRIO_MAX
NAME_MAX
NGROUPS_MAX
NR_OPEN
PATH_MAX
PIPE_BUF
PRIX8
PRIX16
PRIX32
PRIX64
PRIXFAST8
PRIXFAST16
PRIXFAST32
PRIXFAST64
PRIXLEAST8
PRIXLEAST16
PRIXLEAST32
PRIXLEAST64
PRIXMAX
PRIXPTR
PRId8
PRId16
PRId32
PRId64
PRIdFAST8
PRIdFAST16
PRIdFAST32
PRIdFAST64
PRIdLEAST8
PRIdLEAST16
PRIdLEAST32
PRIdLEAST64
PRIdMAX
PRIdPTR
PRIi8
PRIi16
PRIi32
PRIi64
PRIiFAST8
PRIiFAST16
PRIiFAST32
PRIiFAST64
PRIiLEAST8
PRIiLEAST16
PRIiLEAST32
PRIiLEAST64
PRIiMAX
PRIiPTR
PRIo8
PRIo16
PRIo32
PRIo64
PRIoFAST8
PRIoFAST16
PRIoFAST32
PRIoFAST64
PRIoLEAST8
PRIoLEAST16
PRIoLEAST32
PRIoLEAST64
PRIoMAX
PRIoPTR
PRIu8
PRIu16
PRIu32
PRIu64
PRIuFAST8
PRIuFAST16
PRIuFAST32
PRIuFAST64
PRIuLEAST8
PRIuLEAST16
PRIuLEAST32
PRIuLEAST64
PRIuMAX
PRIuPTR
PRIx8
PRIx16
PRIx32
PRIx64
PRIxFAST8
PRIxFAST16
PRIxFAST32
PRIxFAST64
PRIxLEAST8
PRIxLEAST16
PRIxLEAST32
PRIxLEAST64
PRIxMAX
PRIxPTR
PTHREAD_DESTRUCTOR_ITERATIONS
PTHREAD_KEYS_MAX
PTHREAD_STACK_MIN
PTRDIFF_MAX
PTRDIFF_MIN
RE_DUP_MAX
RTSIG_MAX
SCNd8
SCNd16
SCNd32
SCNd64
SCNdFAST8
SCNdFAST16
SCNdFAST32
SCNdFAST64
SCNdLEAST8
SCNdLEAST16
SCNdLEAST32
SCNdLEAST64
SCNdMAX
SCNdPTR
SCNi8
SCNi16
SCNi32
SCNi64
SCNiFAST8
SCNiFAST16
SCNiFAST32
SCNiFAST64
SCNiLEAST8
SCNiLEAST16
SCNiLEAST32
SCNiLEAST64
SCNiMAX
SCNiPTR
SCNo8
SCNo16
SCNo32
SCNo64
SCNoFAST8
SCNoFAST16
SCNoFAST32
SCNoFAST64
SCNoLEAST8
SCNoLEAST16
SCNoLEAST32
SCNoLEAST64
SCNoMAX
SCNoPTR
SCNu8
SCNu16
SCNu32
SCNu64
SCNuFAST8
SCNuFAST16
SCNuFAST32
SCNuFAST64
SCNuLEAST8
SCNuLEAST16
SCNuLEAST32
SCNuLEAST64
SCNuMAX
SCNuPTR
SCNx8
SCNx16
SCNx32
SCNx64
SCNxFAST8
SCNxFAST16
SCNxFAST32
SCNxFAST64
SCNxLEAST8
SCNxLEAST16
SCNxLEAST32
SCNxLEAST64
SCNxMAX
SCNxPTR
SEM_VALUE_MAX
SIG_ATOMIC_MAX
SIG_ATOMIC_MIN
SIZE_MAX
TTY_NAME_MAX
UINT8_MAX
UINT16_MAX
UINT32_MAX
UINTPTR_MAX
UINT_FAST8_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
WINT_MAX
WINT_MIN
XATTR_LIST_MAX
XATTR_NAME_MAX
XATTR_SIZE_MAX
ZERO_MEM_SENTINEL
_ATFILE_SOURCE
_BITS_POSIX1_LIM_H
_BITS_POSIX2_LIM_H
_BITS_STDINT_INTN_H
_BITS_STDINT_LEAST_H
_BITS_STDINT_UINTN_H
_BITS_TIME64_H
_BITS_TYPESIZES_H
_BITS_TYPES_H
_BITS_WCHAR_H
_DEFAULT_SOURCE
_FEATURES_H
_INTTYPES_H
_LIBC_LIMITS_H_
_LV_FLEX_COLUMN
_LV_FLEX_REVERSE
_LV_FLEX_WRAP
_POSIX2_BC_BASE_MAX
_POSIX2_BC_DIM_MAX
_POSIX2_BC_SCALE_MAX
_POSIX2_BC_STRING_MAX
_POSIX2_CHARCLASS_NAME_MAX
_POSIX2_COLL_WEIGHTS_MAX
_POSIX2_EXPR_NEST_MAX
_POSIX2_LINE_MAX
_POSIX2_RE_DUP_MAX
_POSIX_AIO_LISTIO_MAX
_POSIX_AIO_MAX
_POSIX_ARG_MAX
_POSIX_CHILD_MAX
_POSIX_CLOCKRES_MIN
_POSIX_C_SOURCE
_POSIX_DELAYTIMER_MAX
_POSIX_HOST_NAME_MAX
_POSIX_LINK_MAX
_POSIX_LOGIN_NAME_MAX
_POSIX_MAX_CANON
_POSIX_MAX_INPUT
_POSIX_MQ_OPEN_MAX
_POSIX_MQ_PRIO_MAX
_POSIX_NAME_MAX
_POSIX_NGROUPS_MAX
_POSIX_OPEN_MAX
_POSIX_PATH_MAX
_POSIX_PIPE_BUF
_POSIX_RE_DUP_MAX
_POSIX_RTSIG_MAX
_POSIX_SEM_NSEMS_MAX
_POSIX_SEM_VALUE_MAX
_POSIX_SIGQUEUE_MAX
_POSIX_SOURCE
_POSIX_SSIZE_MAX
_POSIX_STREAM_MAX
_POSIX_SYMLINK_MAX
_POSIX_SYMLOOP_MAX
_POSIX_THREAD_DESTRUCTOR_ITERATIONS
_POSIX_THREAD_KEYS_MAX
_POSIX_THREAD_THREADS_MAX
_POSIX_TIMER_MAX
_POSIX_TTY_NAME_MAX
_POSIX_TZNAME_MAX
_STDC_PREDEF_H
_STDINT_H
_SYS_CDEFS_H
__FD_SETSIZE
__GLIBC_MINOR__
__GLIBC_USE_C2X_STRTOL
__GLIBC_USE_DEPRECATED_GETS
__GLIBC_USE_DEPRECATED_SCANF
__GLIBC_USE_IEC_60559_BFP_EXT
__GLIBC_USE_IEC_60559_BFP_EXT_C2X
__GLIBC_USE_IEC_60559_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X
__GLIBC_USE_IEC_60559_TYPES_EXT
__GLIBC_USE_ISOC2X
__GLIBC_USE_LIB_EXT2
__GLIBC__
__GNU_LIBRARY__
__HAVE_GENERIC_SELECTION
__INO_T_MATCHES_INO64_T
__KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64
__LDOUBLE_REDIRECTS_TO_FLOAT128_ABI
__OFF_T_MATCHES_OFF64_T
__PRI64_PREFIX
__PRIPTR_PREFIX
__RLIM_T_MATCHES_RLIM64_T
__STATFS_MATCHES_STATFS64
__STDC_IEC_559_COMPLEX__
__STDC_IEC_559__
__STDC_IEC_60559_BFP__
__STDC_IEC_60559_COMPLEX__
__STDC_ISO_10646__
__SYSCALL_WORDSIZE
__TIMESIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
____gwchar_t_defined
__bool_true_false_are_defined
__glibc_c99_flexarr_available
_lv_opacity_level_t_LV_OPA_0
_lv_opacity_level_t_LV_OPA_10
_lv_opacity_level_t_LV_OPA_20
_lv_opacity_level_t_LV_OPA_30
_lv_opacity_level_t_LV_OPA_40
_lv_opacity_level_t_LV_OPA_50
_lv_opacity_level_t_LV_OPA_60
_lv_opacity_level_t_LV_OPA_70
_lv_opacity_level_t_LV_OPA_80
_lv_opacity_level_t_LV_OPA_90
_lv_opacity_level_t_LV_OPA_100
_lv_opacity_level_t_LV_OPA_COVER
_lv_opacity_level_t_LV_OPA_TRANSP
_lv_str_symbol_id_t_LV_STR_SYMBOL_AUDIO
_lv_str_symbol_id_t_LV_STR_SYMBOL_BACKSPACE
_lv_str_symbol_id_t_LV_STR_SYMBOL_BARS
_lv_str_symbol_id_t_LV_STR_SYMBOL_BATTERY_1
_lv_str_symbol_id_t_LV_STR_SYMBOL_BATTERY_2
_lv_str_symbol_id_t_LV_STR_SYMBOL_BATTERY_3
_lv_str_symbol_id_t_LV_STR_SYMBOL_BATTERY_EMPTY
_lv_str_symbol_id_t_LV_STR_SYMBOL_BATTERY_FULL
_lv_str_symbol_id_t_LV_STR_SYMBOL_BELL
_lv_str_symbol_id_t_LV_STR_SYMBOL_BLUETOOTH
_lv_str_symbol_id_t_LV_STR_SYMBOL_BULLET
_lv_str_symbol_id_t_LV_STR_SYMBOL_CALL
_lv_str_symbol_id_t_LV_STR_SYMBOL_CHARGE
_lv_str_symbol_id_t_LV_STR_SYMBOL_CLOSE
_lv_str_symbol_id_t_LV_STR_SYMBOL_COPY
_lv_str_symbol_id_t_LV_STR_SYMBOL_CUT
_lv_str_symbol_id_t_LV_STR_SYMBOL_DIRECTORY
_lv_str_symbol_id_t_LV_STR_SYMBOL_DOWN
_lv_str_symbol_id_t_LV_STR_SYMBOL_DOWNLOAD
_lv_str_symbol_id_t_LV_STR_SYMBOL_DRIVE
_lv_str_symbol_id_t_LV_STR_SYMBOL_DUMMY
_lv_str_symbol_id_t_LV_STR_SYMBOL_EDIT
_lv_str_symbol_id_t_LV_STR_SYMBOL_EJECT
_lv_str_symbol_id_t_LV_STR_SYMBOL_ENVELOPE
_lv_str_symbol_id_t_LV_STR_SYMBOL_EYE_CLOSE
_lv_str_symbol_id_t_LV_STR_SYMBOL_EYE_OPEN
_lv_str_symbol_id_t_LV_STR_SYMBOL_FILE
_lv_str_symbol_id_t_LV_STR_SYMBOL_GPS
_lv_str_symbol_id_t_LV_STR_SYMBOL_HOME
_lv_str_symbol_id_t_LV_STR_SYMBOL_IMAGE
_lv_str_symbol_id_t_LV_STR_SYMBOL_KEYBOARD
_lv_str_symbol_id_t_LV_STR_SYMBOL_LEFT
_lv_str_symbol_id_t_LV_STR_SYMBOL_LIST
_lv_str_symbol_id_t_LV_STR_SYMBOL_LOOP
_lv_str_symbol_id_t_LV_STR_SYMBOL_MINUS
_lv_str_symbol_id_t_LV_STR_SYMBOL_MUTE
_lv_str_symbol_id_t_LV_STR_SYMBOL_NEW_LINE
_lv_str_symbol_id_t_LV_STR_SYMBOL_NEXT
_lv_str_symbol_id_t_LV_STR_SYMBOL_OK
_lv_str_symbol_id_t_LV_STR_SYMBOL_PASTE
_lv_str_symbol_id_t_LV_STR_SYMBOL_PAUSE
_lv_str_symbol_id_t_LV_STR_SYMBOL_PLAY
_lv_str_symbol_id_t_LV_STR_SYMBOL_PLUS
_lv_str_symbol_id_t_LV_STR_SYMBOL_POWER
_lv_str_symbol_id_t_LV_STR_SYMBOL_PREV
_lv_str_symbol_id_t_LV_STR_SYMBOL_REFRESH
_lv_str_symbol_id_t_LV_STR_SYMBOL_RIGHT
_lv_str_symbol_id_t_LV_STR_SYMBOL_SAVE
_lv_str_symbol_id_t_LV_STR_SYMBOL_SD_CARD
_lv_str_symbol_id_t_LV_STR_SYMBOL_SETTINGS
_lv_str_symbol_id_t_LV_STR_SYMBOL_SHUFFLE
_lv_str_symbol_id_t_LV_STR_SYMBOL_STOP
_lv_str_symbol_id_t_LV_STR_SYMBOL_TINT
_lv_str_symbol_id_t_LV_STR_SYMBOL_TRASH
_lv_str_symbol_id_t_LV_STR_SYMBOL_UP
_lv_str_symbol_id_t_LV_STR_SYMBOL_UPLOAD
_lv_str_symbol_id_t_LV_STR_SYMBOL_USB
_lv_str_symbol_id_t_LV_STR_SYMBOL_VIDEO
_lv_str_symbol_id_t_LV_STR_SYMBOL_VOLUME_MAX
_lv_str_symbol_id_t_LV_STR_SYMBOL_VOLUME_MID
_lv_str_symbol_id_t_LV_STR_SYMBOL_WARNING
_lv_str_symbol_id_t_LV_STR_SYMBOL_WIFI
_lv_style_id_t_LV_STYLE_ALIGN
_lv_style_id_t_LV_STYLE_ANIM
_lv_style_id_t_LV_STYLE_ANIM_DURATION
_lv_style_id_t_LV_STYLE_ARC_COLOR
_lv_style_id_t_LV_STYLE_ARC_IMAGE_SRC
_lv_style_id_t_LV_STYLE_ARC_OPA
_lv_style_id_t_LV_STYLE_ARC_ROUNDED
_lv_style_id_t_LV_STYLE_ARC_WIDTH
_lv_style_id_t_LV_STYLE_BASE_DIR
_lv_style_id_t_LV_STYLE_BG_COLOR
_lv_style_id_t_LV_STYLE_BG_GRAD
_lv_style_id_t_LV_STYLE_BG_GRAD_COLOR
_lv_style_id_t_LV_STYLE_BG_GRAD_DIR
_lv_style_id_t_LV_STYLE_BG_GRAD_OPA
_lv_style_id_t_LV_STYLE_BG_GRAD_STOP
_lv_style_id_t_LV_STYLE_BG_IMAGE_OPA
_lv_style_id_t_LV_STYLE_BG_IMAGE_RECOLOR
_lv_style_id_t_LV_STYLE_BG_IMAGE_RECOLOR_OPA
_lv_style_id_t_LV_STYLE_BG_IMAGE_SRC
_lv_style_id_t_LV_STYLE_BG_IMAGE_TILED
_lv_style_id_t_LV_STYLE_BG_MAIN_OPA
_lv_style_id_t_LV_STYLE_BG_MAIN_STOP
_lv_style_id_t_LV_STYLE_BG_OPA
_lv_style_id_t_LV_STYLE_BITMAP_MASK_SRC
_lv_style_id_t_LV_STYLE_BLEND_MODE
_lv_style_id_t_LV_STYLE_BLUR_BACKDROP
_lv_style_id_t_LV_STYLE_BLUR_QUALITY
_lv_style_id_t_LV_STYLE_BLUR_RADIUS
_lv_style_id_t_LV_STYLE_BORDER_COLOR
_lv_style_id_t_LV_STYLE_BORDER_OPA
_lv_style_id_t_LV_STYLE_BORDER_POST
_lv_style_id_t_LV_STYLE_BORDER_SIDE
_lv_style_id_t_LV_STYLE_BORDER_WIDTH
_lv_style_id_t_LV_STYLE_CLIP_CORNER
_lv_style_id_t_LV_STYLE_COLOR_FILTER_DSC
_lv_style_id_t_LV_STYLE_COLOR_FILTER_OPA
_lv_style_id_t_LV_STYLE_DROP_SHADOW_COLOR
_lv_style_id_t_LV_STYLE_DROP_SHADOW_OFFSET_X
_lv_style_id_t_LV_STYLE_DROP_SHADOW_OFFSET_Y
_lv_style_id_t_LV_STYLE_DROP_SHADOW_OPA
_lv_style_id_t_LV_STYLE_DROP_SHADOW_QUALITY
_lv_style_id_t_LV_STYLE_DROP_SHADOW_RADIUS
_lv_style_id_t_LV_STYLE_FLEX_CROSS_PLACE
_lv_style_id_t_LV_STYLE_FLEX_FLOW
_lv_style_id_t_LV_STYLE_FLEX_GROW
_lv_style_id_t_LV_STYLE_FLEX_MAIN_PLACE
_lv_style_id_t_LV_STYLE_FLEX_TRACK_PLACE
_lv_style_id_t_LV_STYLE_GRID_CELL_COLUMN_POS
_lv_style_id_t_LV_STYLE_GRID_CELL_COLUMN_SPAN
_lv_style_id_t_LV_STYLE_GRID_CELL_ROW_POS
_lv_style_id_t_LV_STYLE_GRID_CELL_ROW_SPAN
_lv_style_id_t_LV_STYLE_GRID_CELL_X_ALIGN
_lv_style_id_t_LV_STYLE_GRID_CELL_Y_ALIGN
_lv_style_id_t_LV_STYLE_GRID_COLUMN_ALIGN
_lv_style_id_t_LV_STYLE_GRID_COLUMN_DSC_ARRAY
_lv_style_id_t_LV_STYLE_GRID_ROW_ALIGN
_lv_style_id_t_LV_STYLE_GRID_ROW_DSC_ARRAY
_lv_style_id_t_LV_STYLE_HEIGHT
_lv_style_id_t_LV_STYLE_IMAGE_COLORKEY
_lv_style_id_t_LV_STYLE_IMAGE_OPA
_lv_style_id_t_LV_STYLE_IMAGE_RECOLOR
_lv_style_id_t_LV_STYLE_IMAGE_RECOLOR_OPA
_lv_style_id_t_LV_STYLE_LAST_BUILT_IN_PROP
_lv_style_id_t_LV_STYLE_LAYOUT
_lv_style_id_t_LV_STYLE_LENGTH
_lv_style_id_t_LV_STYLE_LINE_COLOR
_lv_style_id_t_LV_STYLE_LINE_DASH_GAP
_lv_style_id_t_LV_STYLE_LINE_DASH_WIDTH
_lv_style_id_t_LV_STYLE_LINE_OPA
_lv_style_id_t_LV_STYLE_LINE_ROUNDED
_lv_style_id_t_LV_STYLE_LINE_WIDTH
_lv_style_id_t_LV_STYLE_MARGIN_BOTTOM
_lv_style_id_t_LV_STYLE_MARGIN_LEFT
_lv_style_id_t_LV_STYLE_MARGIN_RIGHT
_lv_style_id_t_LV_STYLE_MARGIN_TOP
_lv_style_id_t_LV_STYLE_MAX_HEIGHT
_lv_style_id_t_LV_STYLE_MAX_WIDTH
_lv_style_id_t_LV_STYLE_MIN_HEIGHT
_lv_style_id_t_LV_STYLE_MIN_WIDTH
_lv_style_id_t_LV_STYLE_NUM_BUILT_IN_PROPS
_lv_style_id_t_LV_STYLE_OPA
_lv_style_id_t_LV_STYLE_OPA_LAYERED
_lv_style_id_t_LV_STYLE_OUTLINE_COLOR
_lv_style_id_t_LV_STYLE_OUTLINE_OPA
_lv_style_id_t_LV_STYLE_OUTLINE_PAD
_lv_style_id_t_LV_STYLE_OUTLINE_WIDTH
_lv_style_id_t_LV_STYLE_PAD_BOTTOM
_lv_style_id_t_LV_STYLE_PAD_COLUMN
_lv_style_id_t_LV_STYLE_PAD_LEFT
_lv_style_id_t_LV_STYLE_PAD_RADIAL
_lv_style_id_t_LV_STYLE_PAD_RIGHT
_lv_style_id_t_LV_STYLE_PAD_ROW
_lv_style_id_t_LV_STYLE_PAD_TOP
_lv_style_id_t_LV_STYLE_PROP_ANY
_lv_style_id_t_LV_STYLE_PROP_CONST
_lv_style_id_t_LV_STYLE_PROP_INV
_lv_style_id_t_LV_STYLE_RADIAL_OFFSET
_lv_style_id_t_LV_STYLE_RADIUS
_lv_style_id_t_LV_STYLE_RECOLOR
_lv_style_id_t_LV_STYLE_RECOLOR_OPA
_lv_style_id_t_LV_STYLE_ROTARY_SENSITIVITY
_lv_style_id_t_LV_STYLE_SHADOW_COLOR
_lv_style_id_t_LV_STYLE_SHADOW_OFFSET_X
_lv_style_id_t_LV_STYLE_SHADOW_OFFSET_Y
_lv_style_id_t_LV_STYLE_SHADOW_OPA
_lv_style_id_t_LV_STYLE_SHADOW_SPREAD
_lv_style_id_t_LV_STYLE_SHADOW_WIDTH
_lv_style_id_t_LV_STYLE_TEXT_ALIGN
_lv_style_id_t_LV_STYLE_TEXT_COLOR
_lv_style_id_t_LV_STYLE_TEXT_DECOR
_lv_style_id_t_LV_STYLE_TEXT_FONT
_lv_style_id_t_LV_STYLE_TEXT_LETTER_SPACE
_lv_style_id_t_LV_STYLE_TEXT_LINE_SPACE
_lv_style_id_t_LV_STYLE_TEXT_OPA
_lv_style_id_t_LV_STYLE_TEXT_OUTLINE_STROKE_COLOR
_lv_style_id_t_LV_STYLE_TEXT_OUTLINE_STROKE_OPA
_lv_style_id_t_LV_STYLE_TEXT_OUTLINE_STROKE_WIDTH
_lv_style_id_t_LV_STYLE_TRANSFORM_HEIGHT
_lv_style_id_t_LV_STYLE_TRANSFORM_PIVOT_X
_lv_style_id_t_LV_STYLE_TRANSFORM_PIVOT_Y
_lv_style_id_t_LV_STYLE_TRANSFORM_ROTATION
_lv_style_id_t_LV_STYLE_TRANSFORM_SCALE_X
_lv_style_id_t_LV_STYLE_TRANSFORM_SCALE_Y
_lv_style_id_t_LV_STYLE_TRANSFORM_SKEW_X
_lv_style_id_t_LV_STYLE_TRANSFORM_SKEW_Y
_lv_style_id_t_LV_STYLE_TRANSFORM_WIDTH
_lv_style_id_t_LV_STYLE_TRANSITION
_lv_style_id_t_LV_STYLE_TRANSLATE_RADIAL
_lv_style_id_t_LV_STYLE_TRANSLATE_X
_lv_style_id_t_LV_STYLE_TRANSLATE_Y
_lv_style_id_t_LV_STYLE_WIDTH
_lv_style_id_t_LV_STYLE_X
_lv_style_id_t_LV_STYLE_Y
_lv_tree_walk_mode_t_LV_TREE_WALK_POST_ORDER
_lv_tree_walk_mode_t_LV_TREE_WALK_PRE_ORDER
_lvimage_flags_t_LV_IMAGE_FLAGS_ALLOCATED
The image is allocated from heap, thus should be freed after use.
_lvimage_flags_t_LV_IMAGE_FLAGS_COMPRESSED
The image data is compressed, so decoder needs to decode image firstly. If this flag is set, the whole image will be decompressed upon decode, and get_area_cb won’t be necessary.
_lvimage_flags_t_LV_IMAGE_FLAGS_CUSTOM_DRAW
The image has custom drawing methods.
_lvimage_flags_t_LV_IMAGE_FLAGS_MODIFIABLE
If the image data is malloced and can be processed in place. In image decoder post processing, this flag means we modify it in-place.
_lvimage_flags_t_LV_IMAGE_FLAGS_PREMULTIPLIED
For RGB map of the image data, mark if it’s pre-multiplied with alpha. For indexed image, this bit indicated palette data is pre-multiplied with alpha.
_lvimage_flags_t_LV_IMAGE_FLAGS_USER1
Flags reserved for user, lvgl won’t use these bits.
_lvimage_flags_t_LV_IMAGE_FLAGS_USER2
Flags reserved for user, lvgl won’t use these bits.
_lvimage_flags_t_LV_IMAGE_FLAGS_USER3
Flags reserved for user, lvgl won’t use these bits.
_lvimage_flags_t_LV_IMAGE_FLAGS_USER4
Flags reserved for user, lvgl won’t use these bits.
_lvimage_flags_t_LV_IMAGE_FLAGS_USER5
Flags reserved for user, lvgl won’t use these bits.
_lvimage_flags_t_LV_IMAGE_FLAGS_USER6
Flags reserved for user, lvgl won’t use these bits.
_lvimage_flags_t_LV_IMAGE_FLAGS_USER7
Flags reserved for user, lvgl won’t use these bits.
_lvimage_flags_t_LV_IMAGE_FLAGS_USER8
Flags reserved for user, lvgl won’t use these bits.
false_
lv_align_t_LV_ALIGN_BOTTOM_LEFT
lv_align_t_LV_ALIGN_BOTTOM_MID
lv_align_t_LV_ALIGN_BOTTOM_RIGHT
lv_align_t_LV_ALIGN_CENTER
lv_align_t_LV_ALIGN_DEFAULT
lv_align_t_LV_ALIGN_LEFT_MID
lv_align_t_LV_ALIGN_OUT_BOTTOM_LEFT
lv_align_t_LV_ALIGN_OUT_BOTTOM_MID
lv_align_t_LV_ALIGN_OUT_BOTTOM_RIGHT
lv_align_t_LV_ALIGN_OUT_LEFT_BOTTOM
lv_align_t_LV_ALIGN_OUT_LEFT_MID
lv_align_t_LV_ALIGN_OUT_LEFT_TOP
lv_align_t_LV_ALIGN_OUT_RIGHT_BOTTOM
lv_align_t_LV_ALIGN_OUT_RIGHT_MID
lv_align_t_LV_ALIGN_OUT_RIGHT_TOP
lv_align_t_LV_ALIGN_OUT_TOP_LEFT
lv_align_t_LV_ALIGN_OUT_TOP_MID
lv_align_t_LV_ALIGN_OUT_TOP_RIGHT
lv_align_t_LV_ALIGN_RIGHT_MID
lv_align_t_LV_ALIGN_TOP_LEFT
lv_align_t_LV_ALIGN_TOP_MID
lv_align_t_LV_ALIGN_TOP_RIGHT
lv_animimg_part_t_LV_ANIM_IMAGE_PART_MAIN
lv_arc_mode_t_LV_ARC_MODE_NORMAL
< Clock-wise
lv_arc_mode_t_LV_ARC_MODE_REVERSE
< Counterclock-wise
lv_arc_mode_t_LV_ARC_MODE_SYMMETRICAL
< Left/right from the midpoint
lv_arclabel_dir_t_LV_ARCLABEL_DIR_CLOCKWISE
lv_arclabel_dir_t_LV_ARCLABEL_DIR_COUNTER_CLOCKWISE
lv_arclabel_overflow_t_LV_ARCLABEL_OVERFLOW_CLIP
< Clip text at arc boundary
lv_arclabel_overflow_t_LV_ARCLABEL_OVERFLOW_ELLIPSIS
< Show ellipsis (…) when text overflows
lv_arclabel_overflow_t_LV_ARCLABEL_OVERFLOW_VISIBLE
< Show full text, may overflow object area
lv_arclabel_text_align_t_LV_ARCLABEL_TEXT_ALIGN_CENTER
lv_arclabel_text_align_t_LV_ARCLABEL_TEXT_ALIGN_DEFAULT
lv_arclabel_text_align_t_LV_ARCLABEL_TEXT_ALIGN_LEADING
lv_arclabel_text_align_t_LV_ARCLABEL_TEXT_ALIGN_TRAILING
lv_bar_mode_t_LV_BAR_MODE_NORMAL
lv_bar_mode_t_LV_BAR_MODE_RANGE
lv_bar_mode_t_LV_BAR_MODE_SYMMETRICAL
lv_bar_orientation_t_LV_BAR_ORIENTATION_AUTO
lv_bar_orientation_t_LV_BAR_ORIENTATION_HORIZONTAL
lv_bar_orientation_t_LV_BAR_ORIENTATION_VERTICAL
lv_base_dir_t_LV_BASE_DIR_AUTO
lv_base_dir_t_LV_BASE_DIR_LTR
lv_base_dir_t_LV_BASE_DIR_NEUTRAL
lv_base_dir_t_LV_BASE_DIR_RTL
lv_base_dir_t_LV_BASE_DIR_WEAK
lv_blend_mode_t_LV_BLEND_MODE_ADDITIVE
< Add the respective color channels
lv_blend_mode_t_LV_BLEND_MODE_DIFFERENCE
< Absolute difference between foreground and background
lv_blend_mode_t_LV_BLEND_MODE_MULTIPLY
< Multiply the foreground and background
lv_blend_mode_t_LV_BLEND_MODE_NORMAL
< Simply mix according to the opacity value
lv_blend_mode_t_LV_BLEND_MODE_SUBTRACTIVE
< Subtract the foreground from the background
lv_blur_quality_t_LV_BLUR_QUALITY_AUTO
< Set the quality automatically
lv_blur_quality_t_LV_BLUR_QUALITY_PRECISION
< Prefer precision over speed
lv_blur_quality_t_LV_BLUR_QUALITY_SPEED
< Prefer speed over precision
lv_border_side_t_LV_BORDER_SIDE_BOTTOM
lv_border_side_t_LV_BORDER_SIDE_FULL
lv_border_side_t_LV_BORDER_SIDE_INTERNAL
< FOR matrix-like objects (e.g. Button matrix)
lv_border_side_t_LV_BORDER_SIDE_LEFT
lv_border_side_t_LV_BORDER_SIDE_NONE
lv_border_side_t_LV_BORDER_SIDE_RIGHT
lv_border_side_t_LV_BORDER_SIDE_TOP
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_CHECKABLE
< Enable toggling of LV_STATE_CHECKED when clicked.
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_CHECKED
< Make the button checked. It will use the :cpp:enumerator:LV_STATE_CHECHKED styles.
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_CLICK_TRIG
< 1: Enables sending LV_EVENT_VALUE_CHANGE on CLICK, 0: sends LV_EVENT_VALUE_CHANGE on PRESS.
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_CUSTOM_1
< Custom free-to-use flag
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_CUSTOM_2
< Custom free-to-use flag
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_DISABLED
< Disables button like LV_STATE_DISABLED on normal Widgets.
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_HIDDEN
< Hides button; it continues to hold its space in layout.
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_NONE
< No extra control, use the default settings
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_NO_REPEAT
< Do not emit LV_EVENT_LONG_PRESSED_REPEAT events while button is long-pressed.
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_POPOVER
< Show button text in a pop-over while being pressed.
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_RECOLOR
< Enable text recoloring with #color
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_RESERVED_1
< Reserved for later use
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_RESERVED_2
< Reserved for later use
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_1
< Set the width to 1 relative to the other buttons in the same row
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_2
< Set the width to 2 relative to the other buttons in the same row
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_3
< Set the width to 3 relative to the other buttons in the same row
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_4
< Set the width to 4 relative to the other buttons in the same row
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_5
< Set the width to 5 relative to the other buttons in the same row
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_6
< Set the width to 6 relative to the other buttons in the same row
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_7
< Set the width to 7 relative to the other buttons in the same row
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_8
< Set the width to 8 relative to the other buttons in the same row
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_9
< Set the width to 9 relative to the other buttons in the same row
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_10
< Set the width to 10 relative to the other buttons in the same row
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_11
< Set the width to 11 relative to the other buttons in the same row
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_12
< Set the width to 12 relative to the other buttons in the same row
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_13
< Set the width to 13 relative to the other buttons in the same row
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_14
< Set the width to 14 relative to the other buttons in the same row
lv_buttonmatrix_ctrl_t_LV_BUTTONMATRIX_CTRL_WIDTH_15
< Set the width to 15 relative to the other buttons in the same row
lv_cache_reserve_cond_res_t_LV_CACHE_RESERVE_COND_ERROR
< An error occurred while checking the condition
lv_cache_reserve_cond_res_t_LV_CACHE_RESERVE_COND_NEED_VICTIM
< The condition is not met and a victim is needed to be evicted
lv_cache_reserve_cond_res_t_LV_CACHE_RESERVE_COND_OK
< The condition is met and no entries need to be evicted
lv_cache_reserve_cond_res_t_LV_CACHE_RESERVE_COND_TOO_LARGE
< The condition is not met and the reserve size is too large
lv_chart_axis_t_LV_CHART_AXIS_LAST
lv_chart_axis_t_LV_CHART_AXIS_PRIMARY_X
lv_chart_axis_t_LV_CHART_AXIS_PRIMARY_Y
lv_chart_axis_t_LV_CHART_AXIS_SECONDARY_X
lv_chart_axis_t_LV_CHART_AXIS_SECONDARY_Y
lv_chart_type_t_LV_CHART_TYPE_BAR
< Draw bars for each series
lv_chart_type_t_LV_CHART_TYPE_CURVE
< Connect the points with curves
lv_chart_type_t_LV_CHART_TYPE_LINE
< Connect the points with lines
lv_chart_type_t_LV_CHART_TYPE_NONE
< Don’t draw the series
lv_chart_type_t_LV_CHART_TYPE_SCATTER
< Draw points and lines in 2D (x,y coordinates)
lv_chart_type_t_LV_CHART_TYPE_STACKED
< Draw a single stacked bar for each data point. Supports only positive values
lv_chart_update_mode_t_LV_CHART_UPDATE_MODE_CIRCULAR
< Add the new data in a circular way
lv_chart_update_mode_t_LV_CHART_UPDATE_MODE_SHIFT
< Shift old data to the left and add the new one the right
lv_color_format_t_LV_COLOR_FORMAT_A1
lv_color_format_t_LV_COLOR_FORMAT_A2
lv_color_format_t_LV_COLOR_FORMAT_A4
lv_color_format_t_LV_COLOR_FORMAT_A8
lv_color_format_t_LV_COLOR_FORMAT_AL88
< L8 with alpha >
lv_color_format_t_LV_COLOR_FORMAT_ARGB1555
lv_color_format_t_LV_COLOR_FORMAT_ARGB2222
lv_color_format_t_LV_COLOR_FORMAT_ARGB4444
lv_color_format_t_LV_COLOR_FORMAT_ARGB8565
< Not supported by sw renderer yet.
lv_color_format_t_LV_COLOR_FORMAT_ARGB8888
lv_color_format_t_LV_COLOR_FORMAT_ARGB8888_PREMULTIPLIED
lv_color_format_t_LV_COLOR_FORMAT_I1
lv_color_format_t_LV_COLOR_FORMAT_I2
lv_color_format_t_LV_COLOR_FORMAT_I4
lv_color_format_t_LV_COLOR_FORMAT_I8
lv_color_format_t_LV_COLOR_FORMAT_I400
lv_color_format_t_LV_COLOR_FORMAT_I420
lv_color_format_t_LV_COLOR_FORMAT_I422
lv_color_format_t_LV_COLOR_FORMAT_I444
lv_color_format_t_LV_COLOR_FORMAT_L8
lv_color_format_t_LV_COLOR_FORMAT_NATIVE
lv_color_format_t_LV_COLOR_FORMAT_NATIVE_WITH_ALPHA
lv_color_format_t_LV_COLOR_FORMAT_NEMA_TSC4
lv_color_format_t_LV_COLOR_FORMAT_NEMA_TSC6
lv_color_format_t_LV_COLOR_FORMAT_NEMA_TSC6A
lv_color_format_t_LV_COLOR_FORMAT_NEMA_TSC6AP
lv_color_format_t_LV_COLOR_FORMAT_NEMA_TSC12
lv_color_format_t_LV_COLOR_FORMAT_NEMA_TSC12A
lv_color_format_t_LV_COLOR_FORMAT_NEMA_TSC_END
lv_color_format_t_LV_COLOR_FORMAT_NEMA_TSC_START
lv_color_format_t_LV_COLOR_FORMAT_NV12
lv_color_format_t_LV_COLOR_FORMAT_NV21
lv_color_format_t_LV_COLOR_FORMAT_PROPRIETARY_START
lv_color_format_t_LV_COLOR_FORMAT_RAW
lv_color_format_t_LV_COLOR_FORMAT_RAW_ALPHA
lv_color_format_t_LV_COLOR_FORMAT_RGB565
lv_color_format_t_LV_COLOR_FORMAT_RGB888
lv_color_format_t_LV_COLOR_FORMAT_RGB565A8
< Color array followed by Alpha array
lv_color_format_t_LV_COLOR_FORMAT_RGB565_SWAPPED
lv_color_format_t_LV_COLOR_FORMAT_UNKNOWN
lv_color_format_t_LV_COLOR_FORMAT_UYVY
lv_color_format_t_LV_COLOR_FORMAT_XRGB8888
lv_color_format_t_LV_COLOR_FORMAT_YUV_END
lv_color_format_t_LV_COLOR_FORMAT_YUV_START
lv_color_format_t_LV_COLOR_FORMAT_YUY2
lv_cover_res_t_LV_COVER_RES_COVER
lv_cover_res_t_LV_COVER_RES_MASKED
lv_cover_res_t_LV_COVER_RES_NOT_COVER
lv_dir_t_LV_DIR_ALL
lv_dir_t_LV_DIR_BOTTOM
lv_dir_t_LV_DIR_HOR
lv_dir_t_LV_DIR_LEFT
lv_dir_t_LV_DIR_NONE
lv_dir_t_LV_DIR_RIGHT
lv_dir_t_LV_DIR_TOP
lv_dir_t_LV_DIR_VER
lv_display_render_mode_t_LV_DISPLAY_RENDER_MODE_DIRECT
The buffer(s) has to be screen sized and LVGL will render into the correct location of the buffer. This way the buffer always contain the whole image. Only the changed ares will be updated. With 2 buffers the buffers’ content are kept in sync automatically and in flush_cb only address change is required.
lv_display_render_mode_t_LV_DISPLAY_RENDER_MODE_FULL
Always redraw the whole screen even if only one pixel has been changed. With 2 buffers in flush_cb only an address change is required.
lv_display_render_mode_t_LV_DISPLAY_RENDER_MODE_PARTIAL
Use the buffer(s) to render the screen is smaller parts. This way the buffers can be smaller then the display to save RAM. At least 1/10 screen size buffer(s) are recommended.
lv_display_rotation_t_LV_DISPLAY_ROTATION_0
lv_display_rotation_t_LV_DISPLAY_ROTATION_90
lv_display_rotation_t_LV_DISPLAY_ROTATION_180
lv_display_rotation_t_LV_DISPLAY_ROTATION_270
lv_draw_sw_mask_line_side_t_LV_DRAW_SW_MASK_LINE_SIDE_BOTTOM
lv_draw_sw_mask_line_side_t_LV_DRAW_SW_MASK_LINE_SIDE_LEFT
lv_draw_sw_mask_line_side_t_LV_DRAW_SW_MASK_LINE_SIDE_RIGHT
lv_draw_sw_mask_line_side_t_LV_DRAW_SW_MASK_LINE_SIDE_TOP
lv_draw_sw_mask_res_t_LV_DRAW_SW_MASK_RES_CHANGED
lv_draw_sw_mask_res_t_LV_DRAW_SW_MASK_RES_FULL_COVER
lv_draw_sw_mask_res_t_LV_DRAW_SW_MASK_RES_TRANSP
lv_draw_sw_mask_res_t_LV_DRAW_SW_MASK_RES_UNKNOWN
lv_draw_sw_mask_type_t_LV_DRAW_SW_MASK_TYPE_ANGLE
lv_draw_sw_mask_type_t_LV_DRAW_SW_MASK_TYPE_FADE
lv_draw_sw_mask_type_t_LV_DRAW_SW_MASK_TYPE_LINE
lv_draw_sw_mask_type_t_LV_DRAW_SW_MASK_TYPE_MAP
lv_draw_sw_mask_type_t_LV_DRAW_SW_MASK_TYPE_RADIUS
lv_draw_task_state_t_LV_DRAW_TASK_STATE_BLOCKED
Waiting for an other task to be finished. For example in case of LV_DRAW_TASK_TYPE_LAYER (used to blend a layer) is blocked until all the draw tasks of the layer is rendered.
lv_draw_task_state_t_LV_DRAW_TASK_STATE_FINISHED
The draw task is rendered. It will be removed from the draw task list of the layer and freed automatically.
lv_draw_task_state_t_LV_DRAW_TASK_STATE_IN_PROGRESS
The draw task is being rendered. This draw task needs to be finished before lv_draw_get_available_task and lv_draw_get_next_available_task would return any depending draw tasks.
lv_draw_task_state_t_LV_DRAW_TASK_STATE_QUEUED
The draw task is added to the command queue of the draw unit. As the queued task are executed in order it’s possible to queue multiple draw task (for the same draw unit) even if they are depending on each other. Therefore lv_draw_get_available_task and lv_draw_get_next_available_task can return draw task for the same draw unit even if a dependent draw task is not finished ready yet.
lv_draw_task_state_t_LV_DRAW_TASK_STATE_WAITING
The draw task is added to the layers list and waits to be rendered.
lv_draw_task_type_t_LV_DRAW_TASK_TYPE_ARC
lv_draw_task_type_t_LV_DRAW_TASK_TYPE_BLUR
lv_draw_task_type_t_LV_DRAW_TASK_TYPE_BORDER
lv_draw_task_type_t_LV_DRAW_TASK_TYPE_BOX_SHADOW
lv_draw_task_type_t_LV_DRAW_TASK_TYPE_FILL
lv_draw_task_type_t_LV_DRAW_TASK_TYPE_IMAGE
lv_draw_task_type_t_LV_DRAW_TASK_TYPE_LABEL
lv_draw_task_type_t_LV_DRAW_TASK_TYPE_LAYER
lv_draw_task_type_t_LV_DRAW_TASK_TYPE_LETTER
lv_draw_task_type_t_LV_DRAW_TASK_TYPE_LINE
lv_draw_task_type_t_LV_DRAW_TASK_TYPE_MASK_BITMAP
lv_draw_task_type_t_LV_DRAW_TASK_TYPE_MASK_RECTANGLE
lv_draw_task_type_t_LV_DRAW_TASK_TYPE_NONE
lv_draw_task_type_t_LV_DRAW_TASK_TYPE_TRIANGLE
lv_event_code_t_LV_EVENT_ALL
lv_event_code_t_LV_EVENT_CANCEL
< A process has been cancelled
lv_event_code_t_LV_EVENT_CHILD_CHANGED
< Child was removed, added, or its size, position were changed
lv_event_code_t_LV_EVENT_CHILD_CREATED
< Child was created, always bubbles up to all parents
lv_event_code_t_LV_EVENT_CHILD_DELETED
< Child was deleted, always bubbles up to all parents
lv_event_code_t_LV_EVENT_CLICKED
< Sent on release if not scrolled (regardless to long press)
lv_event_code_t_LV_EVENT_COLOR_FORMAT_CHANGED
< Sent as a result of any call to lv_display_set_color_format().
lv_event_code_t_LV_EVENT_COVER_CHECK
< Check if Widget fully covers an area. The event parameter is lv_cover_check_info_t *.
lv_event_code_t_LV_EVENT_CREATE
< Object is being created
lv_event_code_t_LV_EVENT_DEFOCUSED
< Widget’s focus has been lost
lv_event_code_t_LV_EVENT_DELETE
< Object is being deleted
lv_event_code_t_LV_EVENT_DOUBLE_CLICKED
< Sent for second short click within small distance and short time
lv_event_code_t_LV_EVENT_DRAW_MAIN
< Perform the main drawing
lv_event_code_t_LV_EVENT_DRAW_MAIN_BEGIN
< Starting the main drawing phase
lv_event_code_t_LV_EVENT_DRAW_MAIN_END
< Finishing the main drawing phase
lv_event_code_t_LV_EVENT_DRAW_POST
< Perform the post draw phase (when all children are drawn)
lv_event_code_t_LV_EVENT_DRAW_POST_BEGIN
< Starting the post draw phase (when all children are drawn)
lv_event_code_t_LV_EVENT_DRAW_POST_END
< Finishing the post draw phase (when all children are drawn)
lv_event_code_t_LV_EVENT_DRAW_TASK_ADDED
< Adding a draw task. The LV_OBJ_FLAG_SEND_DRAW_TASK_EVENTS flag needs to be set
lv_event_code_t_LV_EVENT_FLUSH_FINISH
< Sent after flush callback call has returned.
lv_event_code_t_LV_EVENT_FLUSH_START
< Sent before flush callback is called.
lv_event_code_t_LV_EVENT_FLUSH_WAIT_FINISH
< Sent after flush wait callback call has returned.
lv_event_code_t_LV_EVENT_FLUSH_WAIT_START
< Sent before flush wait callback is called.
lv_event_code_t_LV_EVENT_FOCUSED
< Widget received focus
lv_event_code_t_LV_EVENT_GESTURE
< A gesture is detected. Get gesture with lv_indev_get_gesture_dir(lv_indev_active());
lv_event_code_t_LV_EVENT_GET_SELF_SIZE
< Get internal size of a widget
lv_event_code_t_LV_EVENT_HIT_TEST
< Perform advanced hit-testing
lv_event_code_t_LV_EVENT_HOVER_LEAVE
< Indev hover leave object
lv_event_code_t_LV_EVENT_HOVER_OVER
< Indev hover over object
lv_event_code_t_LV_EVENT_INDEV_RESET
< Indev has been reset
lv_event_code_t_LV_EVENT_INSERT
< Text has been inserted into Widget. The event data is char * being inserted.
lv_event_code_t_LV_EVENT_INVALIDATE_AREA
< An area is invalidated (marked for redraw). lv_event_get_param(e) returns a pointer to an lv_area_t object with the coordinates of the area to be invalidated. The area can be freely modified if needed to adapt it a special requirement of the display. Usually needed with monochrome displays to invalidate N x 8 rows or columns in one pass.
lv_event_code_t_LV_EVENT_KEY
< A key is sent to Widget. Get key with lv_indev_get_key(lv_indev_active());
lv_event_code_t_LV_EVENT_LAST
lv_event_code_t_LV_EVENT_LAYOUT_CHANGED
< A child’s position position has changed due to a layout recalculation
lv_event_code_t_LV_EVENT_LEAVE
< Widget’s focus has been lost but is still selected
lv_event_code_t_LV_EVENT_LONG_PRESSED
< Object has been pressed for at least long_press_time. Not sent if scrolled.
lv_event_code_t_LV_EVENT_LONG_PRESSED_REPEAT
< Sent after long_press_time in every long_press_repeat_time ms. Not sent if scrolled.
lv_event_code_t_LV_EVENT_MARKED_DELETING
This is a flag that can be set with an event so it’s processed before the class default event processing
lv_event_code_t_LV_EVENT_PREPROCESS
Number of default events
lv_event_code_t_LV_EVENT_PRESSED
< Widget has been pressed
lv_event_code_t_LV_EVENT_PRESSING
< Widget is being pressed (sent continuously while pressing)
lv_event_code_t_LV_EVENT_PRESS_LOST
< Widget is still being pressed but slid cursor/finger off Widget
lv_event_code_t_LV_EVENT_READY
< A process has finished
lv_event_code_t_LV_EVENT_REFRESH
< Notify Widget to refresh something on it (for user)
lv_event_code_t_LV_EVENT_REFR_EXT_DRAW_SIZE
< Get required extra draw area around Widget (e.g. for shadow). The event parameter is int32_t * to store the size.
lv_event_code_t_LV_EVENT_REFR_READY
< Sent when refreshing has been completed (after rendering and calling flush callback). Sent even if no redraw happened.
lv_event_code_t_LV_EVENT_REFR_REQUEST
< Sent when something happened that requires redraw.
lv_event_code_t_LV_EVENT_REFR_START
< Sent before a refreshing cycle starts. Sent even if there is nothing to redraw.
lv_event_code_t_LV_EVENT_RELEASED
< Sent in every cases when Widget has been released
lv_event_code_t_LV_EVENT_RENDER_READY
< Sent after rendering has been completed.
lv_event_code_t_LV_EVENT_RENDER_START
< Sent just before rendering begins.
lv_event_code_t_LV_EVENT_RESOLUTION_CHANGED
< Sent when the resolution changes due to lv_display_set_resolution() or lv_display_set_rotation().
lv_event_code_t_LV_EVENT_ROTARY
< An encoder or wheel was rotated. Get rotation count with lv_event_get_rotary_diff(e);
lv_event_code_t_LV_EVENT_SCREEN_LOADED
< A screen was loaded
lv_event_code_t_LV_EVENT_SCREEN_LOAD_START
< A screen load started, fired when the screen change delay is expired
lv_event_code_t_LV_EVENT_SCREEN_UNLOADED
< A screen was unloaded
lv_event_code_t_LV_EVENT_SCREEN_UNLOAD_START
< A screen unload started, fired immediately when scr_load is called
lv_event_code_t_LV_EVENT_SCROLL
< Scrolling
lv_event_code_t_LV_EVENT_SCROLL_BEGIN
< Scrolling begins. The event parameter is a pointer to the animation of the scroll. Can be modified
lv_event_code_t_LV_EVENT_SCROLL_END
< Scrolling ends
lv_event_code_t_LV_EVENT_SCROLL_THROW_BEGIN
lv_event_code_t_LV_EVENT_SHORT_CLICKED
< Widget was pressed for a short period of time, then released. Not sent if scrolled.
lv_event_code_t_LV_EVENT_SINGLE_CLICKED
< Sent for first short click within a small distance and short time
lv_event_code_t_LV_EVENT_SIZE_CHANGED
< Object coordinates/size have changed
lv_event_code_t_LV_EVENT_STATE_CHANGED
< The state of the widget changed
lv_event_code_t_LV_EVENT_STYLE_CHANGED
< Object’s style has changed
lv_event_code_t_LV_EVENT_TRIPLE_CLICKED
< Sent for third short click within small distance and short time
lv_event_code_t_LV_EVENT_UPDATE_LAYOUT_COMPLETED
< Sent after layout update completes
lv_event_code_t_LV_EVENT_VALUE_CHANGED
< Widget’s value has changed (i.e. slider moved)
lv_event_code_t_LV_EVENT_VSYNC
lv_event_code_t_LV_EVENT_VSYNC_REQUEST
lv_flex_align_t_LV_FLEX_ALIGN_CENTER
lv_flex_align_t_LV_FLEX_ALIGN_END
lv_flex_align_t_LV_FLEX_ALIGN_SPACE_AROUND
lv_flex_align_t_LV_FLEX_ALIGN_SPACE_BETWEEN
lv_flex_align_t_LV_FLEX_ALIGN_SPACE_EVENLY
lv_flex_align_t_LV_FLEX_ALIGN_START
lv_flex_flow_t_LV_FLEX_FLOW_COLUMN
lv_flex_flow_t_LV_FLEX_FLOW_COLUMN_REVERSE
lv_flex_flow_t_LV_FLEX_FLOW_COLUMN_WRAP
lv_flex_flow_t_LV_FLEX_FLOW_COLUMN_WRAP_REVERSE
lv_flex_flow_t_LV_FLEX_FLOW_ROW
lv_flex_flow_t_LV_FLEX_FLOW_ROW_REVERSE
lv_flex_flow_t_LV_FLEX_FLOW_ROW_WRAP
lv_flex_flow_t_LV_FLEX_FLOW_ROW_WRAP_REVERSE
lv_font_fmt_txt_bitmap_format_t_LV_FONT_FMT_TXT_COMPRESSED
lv_font_fmt_txt_bitmap_format_t_LV_FONT_FMT_TXT_COMPRESSED_NO_PREFILTER
lv_font_fmt_txt_bitmap_format_t_LV_FONT_FMT_TXT_PLAIN
lv_font_fmt_txt_cmap_type_t_LV_FONT_FMT_TXT_CMAP_FORMAT0_FULL
lv_font_fmt_txt_cmap_type_t_LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY
lv_font_fmt_txt_cmap_type_t_LV_FONT_FMT_TXT_CMAP_SPARSE_FULL
lv_font_fmt_txt_cmap_type_t_LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
lv_font_glyph_format_t_LV_FONT_GLYPH_FORMAT_A1
< 1 bit per pixel
lv_font_glyph_format_t_LV_FONT_GLYPH_FORMAT_A2
< 2 bit per pixel
lv_font_glyph_format_t_LV_FONT_GLYPH_FORMAT_A3
< 3 bit per pixel
lv_font_glyph_format_t_LV_FONT_GLYPH_FORMAT_A4
< 4 bit per pixel
lv_font_glyph_format_t_LV_FONT_GLYPH_FORMAT_A8
< 8 bit per pixel
lv_font_glyph_format_t_LV_FONT_GLYPH_FORMAT_CUSTOM
< Custom format
lv_font_glyph_format_t_LV_FONT_GLYPH_FORMAT_IMAGE
< Image format
lv_font_glyph_format_t_LV_FONT_GLYPH_FORMAT_NONE
< Maybe not visible
lv_font_glyph_format_t_LV_FONT_GLYPH_FORMAT_SVG
< SVG format
lv_font_glyph_format_t_LV_FONT_GLYPH_FORMAT_VECTOR
< Vectorial format
lv_font_kerning_t_LV_FONT_KERNING_NONE
lv_font_kerning_t_LV_FONT_KERNING_NORMAL
lv_font_subpx_t_LV_FONT_SUBPX_BOTH
lv_font_subpx_t_LV_FONT_SUBPX_HOR
lv_font_subpx_t_LV_FONT_SUBPX_NONE
lv_font_subpx_t_LV_FONT_SUBPX_VER
lv_fs_mode_t_LV_FS_MODE_RD
lv_fs_mode_t_LV_FS_MODE_WR
lv_fs_res_t_LV_FS_RES_BUSY
lv_fs_res_t_LV_FS_RES_DENIED
lv_fs_res_t_LV_FS_RES_DRIVE_LETTER_ALREADY_USED
lv_fs_res_t_LV_FS_RES_FS_ERR
lv_fs_res_t_LV_FS_RES_FULL
lv_fs_res_t_LV_FS_RES_HW_ERR
lv_fs_res_t_LV_FS_RES_INV_PARAM
lv_fs_res_t_LV_FS_RES_LOCKED
lv_fs_res_t_LV_FS_RES_NOT_EX
lv_fs_res_t_LV_FS_RES_NOT_IMP
lv_fs_res_t_LV_FS_RES_OK
lv_fs_res_t_LV_FS_RES_OUT_OF_MEM
lv_fs_res_t_LV_FS_RES_TOUT
lv_fs_res_t_LV_FS_RES_UNKNOWN
lv_fs_whence_t_LV_FS_SEEK_CUR
< Set the position from the current position
lv_fs_whence_t_LV_FS_SEEK_END
< Set the position from the end of the file
lv_fs_whence_t_LV_FS_SEEK_SET
< Set the position from absolutely (from the start of file)
lv_grad_dir_t_LV_GRAD_DIR_CONICAL
< Conical gradient defined by center point, start and end angles
lv_grad_dir_t_LV_GRAD_DIR_HOR
< Simple horizontal (left to right) gradient
lv_grad_dir_t_LV_GRAD_DIR_LINEAR
< Linear gradient defined by start and end points. Can be at any angle.
lv_grad_dir_t_LV_GRAD_DIR_NONE
< No gradient (the grad_color property is ignored)
lv_grad_dir_t_LV_GRAD_DIR_RADIAL
< Radial gradient defined by start and end circles
lv_grad_dir_t_LV_GRAD_DIR_VER
< Simple vertical (top to bottom) gradient
lv_grad_extend_t_LV_GRAD_EXTEND_PAD
< Repeat the same color
lv_grad_extend_t_LV_GRAD_EXTEND_REFLECT
< Repeat the pattern mirrored
lv_grad_extend_t_LV_GRAD_EXTEND_REPEAT
< Repeat the pattern
lv_grid_align_t_LV_GRID_ALIGN_CENTER
lv_grid_align_t_LV_GRID_ALIGN_END
lv_grid_align_t_LV_GRID_ALIGN_SPACE_AROUND
lv_grid_align_t_LV_GRID_ALIGN_SPACE_BETWEEN
lv_grid_align_t_LV_GRID_ALIGN_SPACE_EVENLY
lv_grid_align_t_LV_GRID_ALIGN_START
lv_grid_align_t_LV_GRID_ALIGN_STRETCH
lv_group_refocus_policy_t_LV_GROUP_REFOCUS_POLICY_NEXT
lv_group_refocus_policy_t_LV_GROUP_REFOCUS_POLICY_PREV
lv_image_align_t_LV_IMAGE_ALIGN_BOTTOM_LEFT
lv_image_align_t_LV_IMAGE_ALIGN_BOTTOM_MID
lv_image_align_t_LV_IMAGE_ALIGN_BOTTOM_RIGHT
lv_image_align_t_LV_IMAGE_ALIGN_CENTER
lv_image_align_t_LV_IMAGE_ALIGN_CONTAIN
< The image keeps its aspect ratio, but is resized to the maximum size that fits within the Widget’s area.
lv_image_align_t_LV_IMAGE_ALIGN_COVER
< The image keeps its aspect ratio and fills the Widget’s area.
lv_image_align_t_LV_IMAGE_ALIGN_DEFAULT
lv_image_align_t_LV_IMAGE_ALIGN_LEFT_MID
lv_image_align_t_LV_IMAGE_ALIGN_RIGHT_MID
lv_image_align_t_LV_IMAGE_ALIGN_STRETCH
< Set X and Y scale to fill the Widget’s area.
lv_image_align_t_LV_IMAGE_ALIGN_TILE
< Tile image to fill Widget’s area. Offset is applied to shift the tiling.
lv_image_align_t_LV_IMAGE_ALIGN_TOP_LEFT
lv_image_align_t_LV_IMAGE_ALIGN_TOP_MID
lv_image_align_t_LV_IMAGE_ALIGN_TOP_RIGHT
lv_image_align_t__LV_IMAGE_ALIGN_AUTO_TRANSFORM
< Marks the start of modes that transform the image
lv_image_compress_t_LV_IMAGE_COMPRESS_LZ4
lv_image_compress_t_LV_IMAGE_COMPRESS_NONE
lv_image_compress_t_LV_IMAGE_COMPRESS_RLE
< LVGL custom RLE compression
lv_image_src_t_LV_IMAGE_SRC_FILE
Binary/C variable
lv_image_src_t_LV_IMAGE_SRC_SYMBOL
File in filesystem
lv_image_src_t_LV_IMAGE_SRC_UNKNOWN
Symbol (@ref lv_symbol_def.h)
lv_image_src_t_LV_IMAGE_SRC_VARIABLE
lv_imagebutton_state_t_LV_IMAGEBUTTON_STATE_CHECKED_DISABLED
lv_imagebutton_state_t_LV_IMAGEBUTTON_STATE_CHECKED_PRESSED
lv_imagebutton_state_t_LV_IMAGEBUTTON_STATE_CHECKED_RELEASED
lv_imagebutton_state_t_LV_IMAGEBUTTON_STATE_DISABLED
lv_imagebutton_state_t_LV_IMAGEBUTTON_STATE_NUM
lv_imagebutton_state_t_LV_IMAGEBUTTON_STATE_PRESSED
lv_imagebutton_state_t_LV_IMAGEBUTTON_STATE_RELEASED
lv_indev_gesture_type_t_LV_INDEV_GESTURE_CNT
lv_indev_gesture_type_t_LV_INDEV_GESTURE_NONE
lv_indev_gesture_type_t_LV_INDEV_GESTURE_PINCH
lv_indev_gesture_type_t_LV_INDEV_GESTURE_ROTATE
lv_indev_gesture_type_t_LV_INDEV_GESTURE_SCROLL
lv_indev_gesture_type_t_LV_INDEV_GESTURE_SWIPE
lv_indev_gesture_type_t_LV_INDEV_GESTURE_TWO_FINGERS_SWIPE
lv_indev_mode_t_LV_INDEV_MODE_EVENT
lv_indev_mode_t_LV_INDEV_MODE_NONE
lv_indev_mode_t_LV_INDEV_MODE_TIMER
lv_indev_state_t_LV_INDEV_STATE_PRESSED
lv_indev_state_t_LV_INDEV_STATE_RELEASED
lv_indev_type_t_LV_INDEV_TYPE_BUTTON
< External (hardware button) which is assigned to a specific point of the screen
lv_indev_type_t_LV_INDEV_TYPE_ENCODER
< Encoder with only Left, Right turn and a Button
lv_indev_type_t_LV_INDEV_TYPE_KEYPAD
< Keypad or keyboard
lv_indev_type_t_LV_INDEV_TYPE_NONE
< Uninitialized state
lv_indev_type_t_LV_INDEV_TYPE_POINTER
< Touch pad, mouse, external button
lv_key_t_LV_KEY_BACKSPACE
lv_key_t_LV_KEY_DEL
lv_key_t_LV_KEY_DOWN
lv_key_t_LV_KEY_END
lv_key_t_LV_KEY_ENTER
lv_key_t_LV_KEY_ESC
lv_key_t_LV_KEY_HOME
lv_key_t_LV_KEY_LEFT
lv_key_t_LV_KEY_NEXT
lv_key_t_LV_KEY_PREV
lv_key_t_LV_KEY_RIGHT
lv_key_t_LV_KEY_UP
lv_keyboard_mode_t_LV_KEYBOARD_MODE_NUMBER
lv_keyboard_mode_t_LV_KEYBOARD_MODE_SPECIAL
lv_keyboard_mode_t_LV_KEYBOARD_MODE_TEXT_LOWER
lv_keyboard_mode_t_LV_KEYBOARD_MODE_TEXT_UPPER
lv_keyboard_mode_t_LV_KEYBOARD_MODE_USER_1
lv_keyboard_mode_t_LV_KEYBOARD_MODE_USER_2
lv_keyboard_mode_t_LV_KEYBOARD_MODE_USER_3
lv_keyboard_mode_t_LV_KEYBOARD_MODE_USER_4
lv_label_long_mode_t_LV_LABEL_LONG_MODE_CLIP
< Keep the size and clip the text out of it
lv_label_long_mode_t_LV_LABEL_LONG_MODE_DOTS
< Keep the size and write dots at the end if the text is too long
lv_label_long_mode_t_LV_LABEL_LONG_MODE_SCROLL
< Keep the size and roll the text back and forth
lv_label_long_mode_t_LV_LABEL_LONG_MODE_SCROLL_CIRCULAR
< Keep the size and roll the text circularly
lv_label_long_mode_t_LV_LABEL_LONG_MODE_WRAP
< Keep the object width, wrap lines longer than object width and expand the object height
lv_layer_type_t_LV_LAYER_TYPE_NONE
No layer is needed.
lv_layer_type_t_LV_LAYER_TYPE_SIMPLE
Simple layer means that the layer can be rendered in chunks. For example with opa_layered = 140 it’s possible to render only 10 lines from the layer. When it’s ready go to the next 10 lines. It avoids large memory allocations for the layer buffer. The buffer size for a chunk can be set by LV_DRAW_LAYER_SIMPLE_BUF_SIZE in lv_conf.h.
lv_layer_type_t_LV_LAYER_TYPE_TRANSFORM
The widget is transformed and cannot be rendered in chunks. It’s because - due to the transformations - pixel outside of a given area will also contribute to the final image. In this case there is no limitation on the buffer size. LVGL will allocate as large buffer as needed to render the transformed area.
lv_layout_t_LV_LAYOUT_FLEX
lv_layout_t_LV_LAYOUT_GRID
lv_layout_t_LV_LAYOUT_LAST
lv_layout_t_LV_LAYOUT_NONE
lv_menu_mode_header_t_LV_MENU_HEADER_BOTTOM_FIXED
< Header is positioned at the bottom
lv_menu_mode_header_t_LV_MENU_HEADER_TOP_FIXED
< Header is positioned at the top
lv_menu_mode_header_t_LV_MENU_HEADER_TOP_UNFIXED
< Header is positioned at the top and can be scrolled out of view
lv_menu_mode_root_back_button_t_LV_MENU_ROOT_BACK_BUTTON_DISABLED
lv_menu_mode_root_back_button_t_LV_MENU_ROOT_BACK_BUTTON_ENABLED
lv_obj_class_editable_t_LV_OBJ_CLASS_EDITABLE_FALSE
lv_obj_class_editable_t_LV_OBJ_CLASS_EDITABLE_INHERIT
< Check the base class. Must have 0 value to let zero initialized class inherit
lv_obj_class_editable_t_LV_OBJ_CLASS_EDITABLE_TRUE
lv_obj_class_group_def_t_LV_OBJ_CLASS_GROUP_DEF_FALSE
lv_obj_class_group_def_t_LV_OBJ_CLASS_GROUP_DEF_INHERIT
< Check the base class. Must have 0 value to let zero initialized class inherit
lv_obj_class_group_def_t_LV_OBJ_CLASS_GROUP_DEF_TRUE
lv_obj_class_theme_inheritable_t_LV_OBJ_CLASS_THEME_INHERITABLE_FALSE
< Do not inherit theme from base class.
lv_obj_class_theme_inheritable_t_LV_OBJ_CLASS_THEME_INHERITABLE_TRUE
lv_obj_flag_t_LV_OBJ_FLAG_ADV_HITTEST
< Allow performing more accurate hit (click) test. E.g. consider rounded corners.
lv_obj_flag_t_LV_OBJ_FLAG_CHECKABLE
< Toggle checked state when the object is clicked
lv_obj_flag_t_LV_OBJ_FLAG_CLICKABLE
< Make the object clickable by the input devices
lv_obj_flag_t_LV_OBJ_FLAG_CLICK_FOCUSABLE
< Add focused state to the object when clicked
lv_obj_flag_t_LV_OBJ_FLAG_EVENT_BUBBLE
< Propagate the events to the parent too
lv_obj_flag_t_LV_OBJ_FLAG_EVENT_TRICKLE
< Propagate the events to the children too
lv_obj_flag_t_LV_OBJ_FLAG_FLEX_IN_NEW_TRACK
< Start a new flex track on this item
lv_obj_flag_t_LV_OBJ_FLAG_FLOATING
< Do not scroll the object when the parent scrolls and ignore layout
lv_obj_flag_t_LV_OBJ_FLAG_GESTURE_BUBBLE
< Propagate the gestures to the parent
lv_obj_flag_t_LV_OBJ_FLAG_HIDDEN
< Make the object hidden. (Like it wasn’t there at all)
lv_obj_flag_t_LV_OBJ_FLAG_IGNORE_LAYOUT
< Make the object not positioned by the layouts
lv_obj_flag_t_LV_OBJ_FLAG_LAYOUT_1
< Custom flag, free to use by layouts
lv_obj_flag_t_LV_OBJ_FLAG_LAYOUT_2
< Custom flag, free to use by layouts
lv_obj_flag_t_LV_OBJ_FLAG_OVERFLOW_VISIBLE
< Do not clip the children to the parent’s ext draw size
lv_obj_flag_t_LV_OBJ_FLAG_PRESS_LOCK
< Keep the object pressed even if the press slid from the object
lv_obj_flag_t_LV_OBJ_FLAG_SCROLLABLE
< Make the object scrollable
lv_obj_flag_t_LV_OBJ_FLAG_SCROLL_CHAIN
lv_obj_flag_t_LV_OBJ_FLAG_SCROLL_CHAIN_HOR
< Allow propagating the horizontal scroll to a parent
lv_obj_flag_t_LV_OBJ_FLAG_SCROLL_CHAIN_VER
< Allow propagating the vertical scroll to a parent
lv_obj_flag_t_LV_OBJ_FLAG_SCROLL_ELASTIC
< Allow scrolling inside but with slower speed
lv_obj_flag_t_LV_OBJ_FLAG_SCROLL_MOMENTUM
< Make the object scroll further when “thrown”
lv_obj_flag_t_LV_OBJ_FLAG_SCROLL_ONE
< Allow scrolling only one snappable children
lv_obj_flag_t_LV_OBJ_FLAG_SCROLL_ON_FOCUS
< Automatically scroll object to make it visible when focused
lv_obj_flag_t_LV_OBJ_FLAG_SCROLL_WITH_ARROW
< Allow scrolling the focused object with arrow keys
lv_obj_flag_t_LV_OBJ_FLAG_SEND_DRAW_TASK_EVENTS
< Send LV_EVENT_DRAW_TASK_ADDED events
lv_obj_flag_t_LV_OBJ_FLAG_SNAPPABLE
< If scroll snap is enabled on the parent it can snap to this object
lv_obj_flag_t_LV_OBJ_FLAG_STATE_TRICKLE
< Propagate the states to the children too
lv_obj_flag_t_LV_OBJ_FLAG_USER_1
< Custom flag, free to use by user
lv_obj_flag_t_LV_OBJ_FLAG_USER_2
< Custom flag, free to use by user
lv_obj_flag_t_LV_OBJ_FLAG_USER_3
< Custom flag, free to use by user
lv_obj_flag_t_LV_OBJ_FLAG_USER_4
< Custom flag, free to use by user
lv_obj_flag_t_LV_OBJ_FLAG_WIDGET_1
< Custom flag, free to use by widget
lv_obj_flag_t_LV_OBJ_FLAG_WIDGET_2
< Custom flag, free to use by widget
lv_obj_point_transform_flag_t_LV_OBJ_POINT_TRANSFORM_FLAG_INVERSE
Execute the inverse of the transformation (-angle and 1/zoom)
lv_obj_point_transform_flag_t_LV_OBJ_POINT_TRANSFORM_FLAG_INVERSE_RECURSIVE
Both inverse and recursive
lv_obj_point_transform_flag_t_LV_OBJ_POINT_TRANSFORM_FLAG_NONE
No flags
lv_obj_point_transform_flag_t_LV_OBJ_POINT_TRANSFORM_FLAG_RECURSIVE
Consider the transformation properties of the parents too
lv_obj_tree_walk_res_t_LV_OBJ_TREE_WALK_END
lv_obj_tree_walk_res_t_LV_OBJ_TREE_WALK_NEXT
lv_obj_tree_walk_res_t_LV_OBJ_TREE_WALK_SKIP_CHILDREN
lv_palette_t_LV_PALETTE_AMBER
lv_palette_t_LV_PALETTE_BLUE
lv_palette_t_LV_PALETTE_BLUE_GREY
lv_palette_t_LV_PALETTE_BROWN
lv_palette_t_LV_PALETTE_CYAN
lv_palette_t_LV_PALETTE_DEEP_ORANGE
lv_palette_t_LV_PALETTE_DEEP_PURPLE
lv_palette_t_LV_PALETTE_GREEN
lv_palette_t_LV_PALETTE_GREY
lv_palette_t_LV_PALETTE_INDIGO
lv_palette_t_LV_PALETTE_LAST
lv_palette_t_LV_PALETTE_LIGHT_BLUE
lv_palette_t_LV_PALETTE_LIGHT_GREEN
lv_palette_t_LV_PALETTE_LIME
lv_palette_t_LV_PALETTE_NONE
lv_palette_t_LV_PALETTE_ORANGE
lv_palette_t_LV_PALETTE_PINK
lv_palette_t_LV_PALETTE_PURPLE
lv_palette_t_LV_PALETTE_RED
lv_palette_t_LV_PALETTE_TEAL
lv_palette_t_LV_PALETTE_YELLOW
lv_part_t_LV_PART_ANY
< Special value can be used in some functions to target all parts
lv_part_t_LV_PART_CURSOR
< Mark a specific place e.g. for text area’s cursor or on a chart
lv_part_t_LV_PART_CUSTOM_FIRST
< Extension point for custom widgets
lv_part_t_LV_PART_INDICATOR
< Indicator, e.g. for slider, bar, switch, or the tick box of the checkbox
lv_part_t_LV_PART_ITEMS
< Used if the widget has multiple similar elements (e.g. table cells)
lv_part_t_LV_PART_KNOB
< Like handle to grab to adjust the value
lv_part_t_LV_PART_MAIN
< A background like rectangle
lv_part_t_LV_PART_SCROLLBAR
< The scrollbar(s)
lv_part_t_LV_PART_SELECTED
< Indicate the currently selected option or section
lv_rb_color_t_LV_RB_COLOR_BLACK
lv_rb_color_t_LV_RB_COLOR_RED
lv_result_t_LV_RESULT_INVALID
lv_result_t_LV_RESULT_OK
lv_roller_mode_t_LV_ROLLER_MODE_INFINITE
< Infinite mode (roller can be scrolled forever).
lv_roller_mode_t_LV_ROLLER_MODE_NORMAL
< Normal mode (roller ends at the end of the options).
lv_scale_mode_t_LV_SCALE_MODE_HORIZONTAL_BOTTOM
lv_scale_mode_t_LV_SCALE_MODE_HORIZONTAL_TOP
lv_scale_mode_t_LV_SCALE_MODE_LAST
lv_scale_mode_t_LV_SCALE_MODE_ROUND_INNER
lv_scale_mode_t_LV_SCALE_MODE_ROUND_OUTER
lv_scale_mode_t_LV_SCALE_MODE_VERTICAL_LEFT
lv_scale_mode_t_LV_SCALE_MODE_VERTICAL_RIGHT
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_FADE_IN
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_FADE_ON
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_FADE_OUT
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_MOVE_BOTTOM
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_MOVE_LEFT
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_MOVE_RIGHT
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_MOVE_TOP
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_NONE
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_OUT_BOTTOM
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_OUT_LEFT
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_OUT_RIGHT
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_OUT_TOP
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_OVER_BOTTOM
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_OVER_LEFT
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_OVER_RIGHT
lv_screen_load_anim_t_LV_SCREEN_LOAD_ANIM_OVER_TOP
lv_scroll_snap_t_LV_SCROLL_SNAP_CENTER
< Align to the center
lv_scroll_snap_t_LV_SCROLL_SNAP_END
< Align to the right/bottom
lv_scroll_snap_t_LV_SCROLL_SNAP_NONE
< Do not align, leave where it is
lv_scroll_snap_t_LV_SCROLL_SNAP_START
< Align to the left/top
lv_scrollbar_mode_t_LV_SCROLLBAR_MODE_ACTIVE
< Show scroll bars when Widget is being scrolled
lv_scrollbar_mode_t_LV_SCROLLBAR_MODE_AUTO
< Show scroll bars when the content is large enough to be scrolled
lv_scrollbar_mode_t_LV_SCROLLBAR_MODE_OFF
< Never show scrollbars
lv_scrollbar_mode_t_LV_SCROLLBAR_MODE_ON
< Always show scrollbars
lv_slider_mode_t_LV_SLIDER_MODE_NORMAL
lv_slider_mode_t_LV_SLIDER_MODE_RANGE
lv_slider_mode_t_LV_SLIDER_MODE_SYMMETRICAL
lv_slider_orientation_t_LV_SLIDER_ORIENTATION_AUTO
lv_slider_orientation_t_LV_SLIDER_ORIENTATION_HORIZONTAL
lv_slider_orientation_t_LV_SLIDER_ORIENTATION_VERTICAL
lv_span_mode_t_LV_SPAN_MODE_BREAK
< Keep width, break the too long lines and expand height
lv_span_mode_t_LV_SPAN_MODE_EXPAND
< Expand the object size to the text size
lv_span_mode_t_LV_SPAN_MODE_FIXED
< fixed the obj size
lv_span_mode_t_LV_SPAN_MODE_LAST
< Fence member
lv_span_overflow_t_LV_SPAN_OVERFLOW_CLIP
lv_span_overflow_t_LV_SPAN_OVERFLOW_ELLIPSIS
lv_span_overflow_t_LV_SPAN_OVERFLOW_LAST
< Fence member
lv_state_t_LV_STATE_ALT
lv_state_t_LV_STATE_ANY
< Special value can be used in some functions to target all states
lv_state_t_LV_STATE_CHECKED
lv_state_t_LV_STATE_DEFAULT
lv_state_t_LV_STATE_DISABLED
lv_state_t_LV_STATE_EDITED
lv_state_t_LV_STATE_FOCUSED
lv_state_t_LV_STATE_FOCUS_KEY
lv_state_t_LV_STATE_HOVERED
lv_state_t_LV_STATE_PRESSED
lv_state_t_LV_STATE_SCROLLED
lv_state_t_LV_STATE_USER_1
lv_state_t_LV_STATE_USER_2
lv_state_t_LV_STATE_USER_3
lv_state_t_LV_STATE_USER_4
lv_style_res_t_LV_STYLE_RES_FOUND
lv_style_res_t_LV_STYLE_RES_NOT_FOUND
lv_style_state_cmp_t_LV_STYLE_STATE_CMP_DIFF_DRAW_PAD
< The differences can be shown with a simple redraw
lv_style_state_cmp_t_LV_STYLE_STATE_CMP_DIFF_LAYOUT
< The differences can be shown with a simple redraw
lv_style_state_cmp_t_LV_STYLE_STATE_CMP_DIFF_REDRAW
< The differences can be shown with a simple redraw
lv_style_state_cmp_t_LV_STYLE_STATE_CMP_SAME
< The style properties in the 2 states are identical
lv_subject_type_t_LV_SUBJECT_TYPE_COLOR
< an lv_color_t
lv_subject_type_t_LV_SUBJECT_TYPE_FLOAT
< a float, requires LV_USE_FLOAT 1
lv_subject_type_t_LV_SUBJECT_TYPE_GROUP
< an array of Subjects
lv_subject_type_t_LV_SUBJECT_TYPE_INT
< an int32_t
lv_subject_type_t_LV_SUBJECT_TYPE_INVALID
< indicates Subject not initialized yet
lv_subject_type_t_LV_SUBJECT_TYPE_NONE
< a null value like None or NILt
lv_subject_type_t_LV_SUBJECT_TYPE_POINTER
< a void pointer
lv_subject_type_t_LV_SUBJECT_TYPE_STRING
< a char pointer
lv_switch_orientation_t_LV_SWITCH_ORIENTATION_AUTO
lv_switch_orientation_t_LV_SWITCH_ORIENTATION_HORIZONTAL
lv_switch_orientation_t_LV_SWITCH_ORIENTATION_VERTICAL
lv_table_cell_ctrl_t_LV_TABLE_CELL_CTRL_CUSTOM_1
lv_table_cell_ctrl_t_LV_TABLE_CELL_CTRL_CUSTOM_2
lv_table_cell_ctrl_t_LV_TABLE_CELL_CTRL_CUSTOM_3
lv_table_cell_ctrl_t_LV_TABLE_CELL_CTRL_CUSTOM_4
lv_table_cell_ctrl_t_LV_TABLE_CELL_CTRL_MERGE_RIGHT
lv_table_cell_ctrl_t_LV_TABLE_CELL_CTRL_NONE
lv_table_cell_ctrl_t_LV_TABLE_CELL_CTRL_TEXT_CROP
lv_text_align_t_LV_TEXT_ALIGN_AUTO
< Align text auto
lv_text_align_t_LV_TEXT_ALIGN_CENTER
< Align text to center
lv_text_align_t_LV_TEXT_ALIGN_LEFT
< Align text to left
lv_text_align_t_LV_TEXT_ALIGN_RIGHT
< Align text to right
lv_text_cmd_state_t_LV_TEXT_CMD_STATE_IN
< Processing the command
lv_text_cmd_state_t_LV_TEXT_CMD_STATE_PAR
< Processing the parameter
lv_text_cmd_state_t_LV_TEXT_CMD_STATE_WAIT
< Waiting for command
lv_text_decor_t_LV_TEXT_DECOR_NONE
lv_text_decor_t_LV_TEXT_DECOR_STRIKETHROUGH
lv_text_decor_t_LV_TEXT_DECOR_UNDERLINE
lv_text_flag_t_LV_TEXT_FLAG_BREAK_ALL
To prevent overflow, insert breaks between any two characters. Otherwise breaks are inserted at word boundaries, as configured via LV_TXT_BREAK_CHARS or according to LV_TXT_LINE_BREAK_LONG_LEN, LV_TXT_LINE_BREAK_LONG_PRE_MIN_LEN, and LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN.
lv_text_flag_t_LV_TEXT_FLAG_EXPAND
lv_text_flag_t_LV_TEXT_FLAG_FIT
Max-width is already equal to the longest line. (Used to skip some calculation)
lv_text_flag_t_LV_TEXT_FLAG_NONE
lv_text_flag_t_LV_TEXT_FLAG_RECOLOR
Enable parsing of recolor command
lv_thread_prio_t_LV_THREAD_PRIO_HIGH
lv_thread_prio_t_LV_THREAD_PRIO_HIGHEST
lv_thread_prio_t_LV_THREAD_PRIO_LOW
lv_thread_prio_t_LV_THREAD_PRIO_LOWEST
lv_thread_prio_t_LV_THREAD_PRIO_MID
true_

Statics§

lv_animimg_class
lv_arc_class
lv_arclabel_class
lv_bar_class
lv_binfont_font_class
lv_builtin_font_class
lv_button_class
DEFINES
lv_buttonmatrix_class
lv_cache_class_lru_ll_count
GLOBAL VARIABLES
lv_cache_class_lru_ll_size
lv_cache_class_lru_rb_count
GLOBAL VARIABLES
lv_cache_class_lru_rb_size
lv_cache_class_sc_da
GLOBAL VARIABLES
lv_calendar_class
lv_calendar_header_arrow_class
TYPEDEFS
lv_calendar_header_dropdown_class
TYPEDEFS
lv_canvas_class
TYPEDEFS
lv_chart_class
lv_checkbox_class
DEFINES
lv_color_filter_shade
lv_dropdown_class
lv_dropdownlist_class
lv_font_montserrat_14
lv_font_montserrat_24
lv_global
lv_image_class
TYPEDEFS
lv_imagebutton_class
TYPEDEFS
lv_keyboard_class
lv_label_class
lv_led_class
TYPEDEFS
lv_line_class
TYPEDEFS
lv_list_button_class
lv_list_class
TYPEDEFS
lv_list_text_class
lv_menu_class
lv_menu_cont_class
lv_menu_main_cont_class
lv_menu_main_header_cont_class
lv_menu_page_class
lv_menu_section_class
lv_menu_separator_class
lv_menu_sidebar_cont_class
lv_menu_sidebar_header_cont_class
lv_msgbox_backdrop_class
lv_msgbox_class
DEFINES
lv_msgbox_content_class
lv_msgbox_footer_button_class
lv_msgbox_footer_class
lv_msgbox_header_button_class
lv_msgbox_header_class
lv_obj_class
Make the base object’s class publicly available.
lv_roller_class
lv_scale_class
lv_slider_class
lv_spangroup_class
lv_spinbox_class
TYPEDEFS
lv_spinner_class
TYPEDEFS
lv_style_const_prop_id_inv
GLOBAL VARIABLES
lv_switch_class
lv_table_class
lv_tabview_class
DEFINES
lv_text_encoded_conv_wc
Convert a wide character, e.g. ‘Á’ little endian to be compatible with the encoded format. @param c a wide character @return c in the encoded format
lv_text_encoded_get_byte_id
Convert a letter index (in the encoded text) to byte index. E.g. in UTF-8 “AÁRT” index of ‘R’ is 2 but start at byte 3 because ‘Á’ is 2 bytes long @param txt a ‘\0’ terminated UTF-8 string @param utf8_id character index @return byte index of the ’enc_id’th letter
lv_text_encoded_get_char_id
Convert a byte index (in an encoded text) to character index. E.g. in UTF-8 “AÁRT” index of ‘R’ is 2 but start at byte 3 because ‘Á’ is 2 bytes long @param txt a ‘\0’ terminated UTF-8 string @param byte_id byte index @return character index of the letter at ’byte_id’th position
lv_text_encoded_next
Decode the next encoded character from a string. @param txt pointer to ‘\0’ terminated string @param i_start start index in ‘txt’ where to start. After the call it will point to the next encoded char in ‘txt’. NULL to use txt[0] as index @return the decoded Unicode character or 0 on invalid data code
lv_text_encoded_prev
Get the previous encoded character form a string.
lv_text_encoded_size
Give the size of an encoded character @param txt pointer to a character in a string @return length of the encoded character (1,2,3 …). O in invalid
lv_text_get_encoded_length
Get the number of characters (and NOT bytes) in a string. E.g. in UTF-8 “ÁBC” is 3 characters (but 4 bytes) @param txt a ‘\0’ terminated char string @return number of characters
lv_text_unicode_to_encoded
Convert a Unicode letter to encoded @param letter_uni a Unicode letter @return Encoded character in Little Endian to be compatible with C chars (e.g. ‘Á’, ‘Ü’)
lv_textarea_class
lv_tileview_class
DEFINES
lv_tileview_tile_class
lv_tree_node_class
GLOBAL PROTOTYPES
lv_win_class
DEFINES

Functions§

_bindgen_raw_src
imaxabs
imaxdiv
lv_anim_core_deinit
Deinit the animation module
lv_anim_core_init
Init the animation module
lv_anim_count_running
Get the number of currently running animations @return the number of running animations
lv_anim_custom_delete
Delete an animation by getting the animated variable from a. Only animations with exec_cb will be deleted. This function exists because it’s logical that all anim. functions receives an lv_anim_t as their first parameter. It’s not practical in C but might make the API more consequent and makes easier to generate bindings. @param a pointer to an animation. @param exec_cb a function pointer which is animating ‘var’, or NULL to ignore it and delete all the animations of ’var @return true: at least 1 animation is deleted, false: no animation is deleted
lv_anim_custom_get
Get the animation of a variable and its exec_cb. This function exists because it’s logical that all anim. functions receives an lv_anim_t as their first parameter. It’s not practical in C but might make the API more consequent and makes easier to generate bindings. @param a pointer to an animation. @param exec_cb a function pointer which is animating ‘var’, or NULL to return first matching ‘var’ @return pointer to the animation.
lv_anim_delete
Delete animation(s) of a variable with a given animator function @param var pointer to variable @param exec_cb a function pointer which is animating ‘var’, or NULL to ignore it and delete all the animations of ’var @return true: at least 1 animation is deleted, false: no animation is deleted
lv_anim_delete_all
Delete all the animations
lv_anim_enable_vsync_mode
lv_anim_get
Get the animation of a variable and its exec_cb. @param var pointer to variable @param exec_cb a function pointer which is animating ‘var’, or NULL to return first matching ‘var’ @return pointer to the animation.
lv_anim_get_delay
Get a delay before starting the animation @param a pointer to an initialized lv_anim_t variable @return delay before the animation in milliseconds
lv_anim_get_playtime
Get the time used to play the animation. @param a pointer to an animation. @return the play time in milliseconds.
lv_anim_get_repeat_count
Get the repeat count of the animation. @param a pointer to an initialized lv_anim_t variable @return the repeat count or LV_ANIM_REPEAT_INFINITE for infinite repetition. 0: disabled repetition.
lv_anim_get_time
Get the duration of an animation @param a pointer to an initialized lv_anim_t variable @return the duration of the animation in milliseconds
lv_anim_get_timer
Get global animation refresher timer. @return pointer to the animation refresher timer.
lv_anim_get_user_data
Get the user_data field of the animation @param a pointer to an initialized lv_anim_t variable @return the pointer to the custom user_data of the animation
lv_anim_init
Initialize an animation variable. E.g.: lv_anim_t a; lv_anim_init(&a); lv_anim_set_…(&a); lv_anim_start(&a); @param a pointer to an lv_anim_t variable to initialize
lv_anim_is_paused
Check if the animation is paused @param a pointer to an initialized lv_anim_t variable @return true if the animation is paused else false
lv_anim_path_bounce
Calculate the current value of an animation with 3 bounces @param a pointer to an animation @return the current value to set
lv_anim_path_custom_bezier3
A custom cubic bezier animation path, need to specify cubic-parameters in a->parameter.bezier3 @param a pointer to an animation @return the current value to set
lv_anim_path_ease_in
Calculate the current value of an animation slowing down the start phase @param a pointer to an animation @return the current value to set
lv_anim_path_ease_in_out
Calculate the current value of an animation applying an “S” characteristic (cosine) @param a pointer to an animation @return the current value to set
lv_anim_path_ease_out
Calculate the current value of an animation slowing down the end phase @param a pointer to an animation @return the current value to set
lv_anim_path_linear
Calculate the current value of an animation applying linear characteristic @param a pointer to an animation @return the current value to set
lv_anim_path_overshoot
Calculate the current value of an animation with overshoot at the end @param a pointer to an animation @return the current value to set
lv_anim_path_step
Calculate the current value of an animation applying step characteristic. (Set end value on the end of the animation) @param a pointer to an animation @return the current value to set
lv_anim_pause
Pauses the animation @param a pointer to an initialized lv_anim_t variable
lv_anim_pause_for
Pauses the animation for ms milliseconds @param a pointer to an initialized lv_anim_t variable @param ms the pause time in milliseconds
lv_anim_refr_now
Manually refresh the state of the animations. Useful to make the animations running in a blocking process where lv_timer_handler can’t run for a while. Shouldn’t be used directly because it is called in lv_refr_now().
lv_anim_resolve_speed
Resolve the speed (created with lv_anim_speed or lv_anim_speed_clamped) to time based on start and end values. @param speed return values of lv_anim_speed or lv_anim_speed_clamped @param start the start value of the animation @param end the end value of the animation @return the time required to get from start to end with the given speed setting
lv_anim_resume
Resumes a paused animation @param a pointer to an initialized lv_anim_t variable
lv_anim_set_bezier3_param
Set parameter for cubic bezier path @param a pointer to an initialized lv_anim_t variable @param x1 first control point X @param y1 first control point Y @param x2 second control point X @param y2 second control point Y
lv_anim_set_completed_cb
Set a function call when the animation is completed @param a pointer to an initialized lv_anim_t variable @param completed_cb a function call when the animation is fully completed
lv_anim_set_custom_exec_cb
Similar to lv_anim_set_exec_cb but lv_anim_custom_exec_cb_t receives lv_anim_t * as its first parameter instead of void *. This function might be used when LVGL is bound to other languages because it’s more consistent to have lv_anim_t * as first parameter. @param a pointer to an initialized lv_anim_t variable @param exec_cb a function to execute.
lv_anim_set_delay
Set a delay before starting the animation @param a pointer to an initialized lv_anim_t variable @param delay delay before the animation in milliseconds
lv_anim_set_deleted_cb
Set a function call when the animation is deleted. @param a pointer to an initialized lv_anim_t variable @param deleted_cb a function call when the animation is deleted
lv_anim_set_duration
Set the duration of an animation @param a pointer to an initialized lv_anim_t variable @param duration duration of the animation in milliseconds
lv_anim_set_early_apply
Set a whether the animation’s should be applied immediately or only when the delay expired. @param a pointer to an initialized lv_anim_t variable @param en true: apply the start value immediately in lv_anim_start; false: apply the start value only when delay ms is elapsed and the animations really starts
lv_anim_set_exec_cb
Set a function to animate var @param a pointer to an initialized lv_anim_t variable @param exec_cb a function to execute during animation LVGL’s built-in functions can be used. E.g. lv_obj_set_x
lv_anim_set_get_value_cb
Set a function to use the current value of the variable and make start and end value relative to the returned current value. @param a pointer to an initialized lv_anim_t variable @param get_value_cb a function call when the animation starts
lv_anim_set_path_cb
Set the path (curve) of the animation. @param a pointer to an initialized lv_anim_t variable @param path_cb a function to set the current value of the animation.
lv_anim_set_repeat_count
Make the animation repeat itself. @param a pointer to an initialized lv_anim_t variable @param cnt repeat count or LV_ANIM_REPEAT_INFINITE for infinite repetition. 0: to disable repetition.
lv_anim_set_repeat_delay
Set a delay before repeating the animation. @param a pointer to an initialized lv_anim_t variable @param delay delay in milliseconds before repeating the animation.
lv_anim_set_reverse_delay
Make the animation to play back to when the forward direction is ready @param a pointer to an initialized lv_anim_t variable @param delay delay in milliseconds before starting the playback animation.
lv_anim_set_reverse_duration
Make the animation to play back to when the forward direction is ready @param a pointer to an initialized lv_anim_t variable @param duration duration of playback animation in milliseconds. 0: disable playback
lv_anim_set_reverse_time
Legacy lv_anim_set_reverse_time API will be removed soon, use lv_anim_set_reverse_duration instead.
lv_anim_set_start_cb
Set a function call when the animation really starts (considering delay) @param a pointer to an initialized lv_anim_t variable @param start_cb a function call when the animation starts
lv_anim_set_user_data
Set the custom user data field of the animation. @param a pointer to an initialized lv_anim_t variable @param user_data pointer to the new user_data.
lv_anim_set_values
Set the start and end values of an animation @param a pointer to an initialized lv_anim_t variable @param start the start value @param end the end value
lv_anim_set_var
Set a variable to animate @param a pointer to an initialized lv_anim_t variable @param var pointer to a variable to animate
lv_anim_speed
Store the speed as a special value which can be used as time in animations. It will be converted to time internally based on the start and end values. The return value can be used as a constant with multiple animations and let LVGL convert the speed to time based on the actual values. LIMITATION: the max time stored this way can be 10,000 ms. @param speed the speed of the animation in with unit / sec resolution in 0..10k range @return a special value which can be used as an animation time @note internally speed is stored as 10 unit/sec
lv_anim_speed_clamped
Store the speed as a special value which can be used as time in animations. It will be converted to time internally based on the start and end values. The return value can be used as a constant with multiple animations and let LVGL convert the speed to time based on the actual values. @param speed the speed of the animation in as unit / sec resolution in 0..10k range @param min_time the minimum time in 0..10k range @param max_time the maximum time in 0..10k range @return a special value in where all three values are stored and can be used as an animation time @note internally speed is stored as 10 unit/sec @note internally min/max_time are stored with 10 ms unit
lv_anim_speed_to_time
Calculate the time of an animation based on its speed, start and end values. It simpler than lv_anim_speed or lv_anim_speed_clamped as it converts speed, start, and end to a time immediately. As it’s simpler there is no limit on the maximum time. @param speed the speed of the animation @param start the start value @param end the end value @return the time of the animation in milliseconds
lv_anim_start
Create an animation @param a an initialized ‘anim_t’ variable. Not required after call. @return pointer to the created animation (different from the a parameter)
lv_anim_timeline_add
Add animation to the animation timeline. @param at pointer to the animation timeline. @param start_time the time the animation started on the timeline, note that start_time will override the value of delay. @param a pointer to an animation.
lv_anim_timeline_create
Create an animation timeline. @return pointer to the animation timeline.
lv_anim_timeline_delete
Delete animation timeline. @param at pointer to the animation timeline.
lv_anim_timeline_get_delay
Get the wait time when playing from the very start, or reverse from the very end. @param at pointer to an animation timeline @return the remaining time in milliseconds
lv_anim_timeline_get_playtime
Get the time used to play the animation timeline. @param at pointer to the animation timeline. @return total time spent in animation timeline.
lv_anim_timeline_get_progress
Get the progress of the animation timeline. @param at pointer to the animation timeline. @return return value 0~65535 to map 0~100% animation progress.
lv_anim_timeline_get_repeat_count
Get repeat count of the animation timeline. @param at pointer to the animation timeline.
lv_anim_timeline_get_repeat_delay
Get repeat delay of the animation timeline. @param at pointer to the animation timeline.
lv_anim_timeline_get_reverse
Get whether the animation timeline is played in reverse. @param at pointer to the animation timeline. @return return true if it is reverse playback.
lv_anim_timeline_get_user_data
Get the user_data of a an animation timeline @param at pointer to the animation timeline.
lv_anim_timeline_merge
Merge (add) all animations of a timeline to another @param dest merge animation into this timeline @param src merge the animations of this timeline @param delay add the animations with this extra delay
lv_anim_timeline_pause
Pause the animation timeline. @param at pointer to the animation timeline.
lv_anim_timeline_set_delay
Set the time to wait before starting the animation. Applies only when playing from the very start, or reverse from the very end. @param at pointer to an animation timeline @param delay the delay time in milliseconds
lv_anim_timeline_set_progress
Set the progress of the animation timeline. @param at pointer to the animation timeline. @param progress set value 0~65535 to map 0~100% animation progress.
lv_anim_timeline_set_repeat_count
Make the animation timeline repeat itself. @param at pointer to the animation timeline. @param cnt repeat count or LV_ANIM_REPEAT_INFINITE for infinite repetition. 0: to disable repetition.
lv_anim_timeline_set_repeat_delay
Set a delay before repeating the animation timeline. @param at pointer to the animation timeline. @param delay delay in milliseconds before repeating the animation timeline.
lv_anim_timeline_set_reverse
Set the playback direction of the animation timeline. @param at pointer to the animation timeline. @param reverse whether to play in reverse.
lv_anim_timeline_set_user_data
Set the user_data of a an animation timeline @param at pointer to the animation timeline. @param user_data pointer to any data. Only the pointer will be saved.
lv_anim_timeline_start
Start the animation timeline. @param at pointer to the animation timeline. @return total time spent in animation timeline.
lv_animimg_create
Create an animation image objects @param parent pointer to an object, it will be the parent of the new button @return pointer to the created animation image object
lv_animimg_delete
Delete the image animation. @param obj pointer to an animation image object
lv_animimg_get_anim
Get the image animation underlying animation. @param obj pointer to an animation image object @return the animation reference
lv_animimg_get_duration
Get the image animation duration time. unit:ms @param obj pointer to an animation image object @return the animation duration time
lv_animimg_get_repeat_count
Get the image animation repeat play times. @param obj pointer to an animation image object @return the repeat count
lv_animimg_get_src
Get the image animation images source. @param obj pointer to an animation image object @return a pointer that will point to a series images
lv_animimg_get_src_count
Get the image animation images source. @param obj pointer to an animation image object @return the number of source images
lv_animimg_set_completed_cb
Set a function call when the animation is completed @param obj pointer to an animation image object @param completed_cb a function call when the animation is completed
lv_animimg_set_duration
Set the image animation duration time. unit:ms @param obj pointer to an animation image object @param duration the duration in milliseconds
lv_animimg_set_repeat_count
Set the image animation repeatedly play times. @param obj pointer to an animation image object @param count the number of times to repeat the animation
lv_animimg_set_reverse_delay
Make the image animation to play back to when the forward direction is ready. @param obj pointer to an animation image object @param duration delay in milliseconds before starting the playback image animation.
lv_animimg_set_reverse_duration
Make the image animation to play back to when the forward direction is ready. @param obj pointer to an animation image object @param duration the duration of the playback image animation in milliseconds. 0: disable playback
lv_animimg_set_src
Set the image animation images source. @param obj pointer to an animation image object @param dsc pointer to a series images @param num images’ number
lv_animimg_set_src_reverse
Set the images source for flip playback of animation image. @param obj pointer to an animation image object @param dsc pointer to a series images @param num images’ number
lv_animimg_set_start_cb
Set a function call when the animation image really starts (considering delay) @param obj pointer to an animation image object @param start_cb a function call when the animation is start
lv_animimg_start
Startup the image animation. @param obj pointer to an animation image object
lv_arc_align_obj_to_angle
Align an object to the current position of the arc (knob) @param obj pointer to an arc object @param obj_to_align pointer to an object to align @param r_offset consider the radius larger with this value (< 0: for smaller radius)
lv_arc_bind_value
Bind an integer subject to an Arc’s value. @param obj pointer to Arc @param subject pointer to Subject @return pointer to newly-created Observer
lv_arc_create
Create an arc object @param parent pointer to an object, it will be the parent of the new arc @return pointer to the created arc
lv_arc_get_angle_end
Get the end angle of an arc. @param obj pointer to an arc object @return the end angle [0..360] (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arc_get_angle_start
Get the start angle of an arc. @param obj pointer to an arc object @return the start angle [0..360] (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arc_get_bg_angle_end
Get the end angle of an arc background. @param obj pointer to an arc object @return the end angle [0..360] (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arc_get_bg_angle_start
Get the start angle of an arc background. @param obj pointer to an arc object @return the start angle [0..360] (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arc_get_change_rate
Get the change rate of an arc @param obj pointer to an arc object @return the change rate
lv_arc_get_knob_offset
Get the current knob angle offset @param obj pointer to an arc object @return arc’s current knob offset
lv_arc_get_max_value
Get the maximum value of an arc @param obj pointer to an arc object @return the maximum value of the arc
lv_arc_get_min_value
Get the minimum value of an arc @param obj pointer to an arc object @return the minimum value of the arc
lv_arc_get_mode
Get whether the arc is type or not. @param obj pointer to an arc object @return arc’s mode
lv_arc_get_rotation
Get the rotation for the whole arc @param obj pointer to an arc object @return arc’s current rotation
lv_arc_get_value
Get the value of an arc @param obj pointer to an arc object @return the value of the arc
lv_arc_rotate_obj_to_angle
Rotate an object to the current position of the arc (knob) @param obj pointer to an arc object @param obj_to_rotate pointer to an object to rotate @param r_offset consider the radius larger with this value (< 0: for smaller radius)
lv_arc_set_angles
Set the start and end angles @param obj pointer to an arc object @param start the start angle (if LV_USE_FLOAT is enabled it can be fractional too.) @param end the end angle (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arc_set_bg_angles
Set the start and end angles of the arc background @param obj pointer to an arc object @param start the start angle (if LV_USE_FLOAT is enabled it can be fractional too.) @param end the end angle (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arc_set_bg_end_angle
Set the start angle of an arc background. 0 deg: right, 90 bottom etc. @param obj pointer to an arc object @param end the end angle (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arc_set_bg_start_angle
Set the start angle of an arc background. 0 deg: right, 90 bottom, etc. @param obj pointer to an arc object @param start the start angle (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arc_set_change_rate
Set a change rate to limit the speed how fast the arc should reach the pressed point. @param obj pointer to an arc object @param rate the change rate
lv_arc_set_end_angle
Set the end angle of an arc. 0 deg: right, 90 bottom, etc. @param obj pointer to an arc object @param end the end angle (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arc_set_knob_offset
Set an offset angle for the knob @param obj pointer to an arc object @param offset knob offset from main arc in degrees
lv_arc_set_max_value
Set the maximum values of an arc @param obj pointer to the arc object @param max maximum value
lv_arc_set_min_value
Set the minimum values of an arc @param obj pointer to the arc object @param min minimum value
lv_arc_set_mode
Set in which direction the indicator should grow. @param obj pointer to arc object @param type arc’s mode
lv_arc_set_range
Set minimum and the maximum values of an arc @param obj pointer to the arc object @param min minimum value @param max maximum value
lv_arc_set_rotation
Set the rotation for the whole arc @param obj pointer to an arc object @param rotation rotation angle
lv_arc_set_start_angle
Set the start angle of an arc. 0 deg: right, 90 bottom, etc. @param obj pointer to an arc object @param start the start angle. (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arc_set_value
Set a new value on the arc @param obj pointer to an arc object @param value new value
lv_arclabel_create
Create an arc label object @param parent pointer to an object, it will be the parent of the new arc label @return pointer to the created arc label
lv_arclabel_get_angle_size
Get the angle size of an arc label. @param obj pointer to an arc label object @return the end angle [0..360] (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arclabel_get_angle_start
Get the start angle of an arc label. @param obj pointer to an arc label object @return the start angle [0..360] (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arclabel_get_center_offset_x
Get the center offset x for an arc label object. @param obj pointer to an arc label object @return the x offset
lv_arclabel_get_center_offset_y
Get the center offset y for an arc label object. @param obj pointer to an arc label object @return the y offset
lv_arclabel_get_dir
Get whether the arc label is type or not. @param obj pointer to an arc label object @return arc label’s direction
lv_arclabel_get_end_overlap
Get the end overlap behavior for an arc label object. @param obj pointer to an arc label object @return the end overlap mode
lv_arclabel_get_overflow
Get the overflow behavior for an arc label object. @param obj pointer to an arc label object @return the overflow mode
lv_arclabel_get_radius
Get the text of the arc label. @param obj pointer to an arc label object @return the radius of the arc label
lv_arclabel_get_recolor
Enable the recoloring by in-line commands
lv_arclabel_get_text_angle
Get the text angle for an arc label object. @note The text angle is calculated at runtime. You can get the updated value after the arclabel’s size has been updated. Returns the real rendered text angle in degrees except in LV_ARCLABEL_OVERFLOW_VISIBLE mode. @param obj pointer to an arc label object @return the text angle (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arclabel_get_text_horizontal_align
Get the text horizontal alignment for an arc label object. @param obj pointer to an arc label object @return the horizontal alignment
lv_arclabel_get_text_vertical_align
Get the text vertical alignment for an arc label object. @param obj pointer to an arc label object @return the vertical alignment
lv_arclabel_set_angle_size
Set the end angle of an arc. 0 deg: right, 90 bottom, etc. @param obj pointer to an arc label object @param size the angle size (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arclabel_set_angle_start
Set the start angle of an arc. 0 deg: right, 90 bottom, etc. @param obj pointer to an arc label object @param start the start angle. (if LV_USE_FLOAT is enabled it can be fractional too.)
lv_arclabel_set_center_offset_x
Set the center offset x for an arc label object. @param obj pointer to an arc label object @param x the x offset
lv_arclabel_set_center_offset_y
Set the center offset y for an arc label object. @param obj pointer to an arc label object @param y the y offset
lv_arclabel_set_dir
Set the type of arc. @param obj pointer to and arc label object @param dir arc label’s direction
lv_arclabel_set_end_overlap
Set the end overlap behavior for an arc label object. This controls how text is handled when it would overlap at the end of a 360-degree arc. @param obj pointer to an arc label object @param overlap set the arc label’s end overlap behavior
lv_arclabel_set_offset
Set the rotation for the whole arc @param obj pointer to an arc label object @param offset rotation angle
lv_arclabel_set_overflow
Set the overflow behavior for an arc label object. @param obj pointer to an arc label object @param overflow the overflow mode (visible, ellipsis, clip)
lv_arclabel_set_radius
Set the radius for an arc label object.
lv_arclabel_set_recolor
Enable the recoloring by in-line commands @param obj pointer to an arc label object @param en true: enable recoloring, false: disable Example: “This is a #ff0000 red# word”
lv_arclabel_set_text
Set the text of the arc label.
lv_arclabel_set_text_fmt
Set the formatted text of an arc label object.
lv_arclabel_set_text_horizontal_align
Set the text horizontal alignment for an arc label object. @param obj pointer to an arc label object @param align the horizontal alignment
lv_arclabel_set_text_static
Sets a new static text for the arc label or refreshes it with the current text. The ‘text’ must remain valid in memory; the arc label does not manage its lifecycle.
lv_arclabel_set_text_vertical_align
Set the text vertical alignment for an arc label object. @param obj pointer to an arc label object @param align the vertical alignment
lv_area_align
Align an area to another @param base an area where the other will be aligned @param to_align the area to align @param align LV_ALIGN_... @param ofs_x X offset @param ofs_y Y offset
lv_area_diff
Get resulting sub areas after removing the common parts of two areas from the first area @param res_p pointer to an array of areas with a count of 4, the resulting areas will be stored here @param a1_p pointer to the first area @param a2_p pointer to the second area @return number of results (max 4) or -1 if no intersect
lv_area_get_height
Get the height of an area @param area_p pointer to an area @return the height of the area (if y1 == y2 -> height = 1)
lv_area_get_size
Return with area of an area (x * y) @param area_p pointer to an area @return size of area
lv_area_get_width
Get the width of an area @param area_p pointer to an area @return the width of the area (if x1 == x2 -> width = 1)
lv_area_increase
lv_area_intersect
Get the common parts of two areas @param res_p pointer to an area, the result will be stored her @param a1_p pointer to the first area @param a2_p pointer to the second area @return false: the two area has NO common parts, res_p is invalid
lv_area_is_equal
Check if 2 area is the same @param a pointer to an area @param b pointer to another area
lv_area_is_in
Check if an area is fully on another @param ain_p pointer to an area which could be in ‘aholder_p’ @param aholder_p pointer to an area which could involve ‘ain_p’ @param radius radius of aholder_p (e.g. for rounded rectangle) @return true: ain_p is fully inside aholder_p
lv_area_is_on
Check if two area has common parts @param a1_p pointer to an area. @param a2_p pointer to another area @return false: a1_p and a2_p has no common parts
lv_area_is_out
Check if an area is fully out of another @param aout_p pointer to an area which could be in ‘aholder_p’ @param aholder_p pointer to an area which could involve ‘ain_p’ @param radius radius of aholder_p (e.g. for rounded rectangle) @return true: aout_p is fully outside aholder_p
lv_area_is_point_on
Check if a point is on an area @param a_p pointer to an area @param p_p pointer to a point @param radius radius of area (e.g. for rounded rectangle) @return false:the point is out of the area
lv_area_join
Join two areas into a third which involves the other two @param a_res_p pointer to an area, the result will be stored here @param a1_p pointer to the first area @param a2_p pointer to the second area
lv_area_move
lv_area_set
Initialize an area @param area_p pointer to an area @param x1 left coordinate of the area @param y1 top coordinate of the area @param x2 right coordinate of the area @param y2 bottom coordinate of the area
lv_area_set_height
Set the height of an area @param area_p pointer to an area @param h the new height of the area (h == 1 makes y1 == y2)
lv_area_set_pos
Set the position of an area (width and height will be kept) @param area_p pointer to an area @param x the new x coordinate of the area @param y the new y coordinate of the area
lv_area_set_width
Set the width of an area @param area_p pointer to an area @param w the new width of the area (w == 1 makes x1 == x2)
lv_array_assign
Assigns one content to the array, replacing its current content. @param array pointer to an lv_array_t variable @param index the index of the element to replace @param value pointer to the elements to add @return true: success; false: error
lv_array_at
Returns a pointer to the element at position n in the array. @param array pointer to an lv_array_t variable @param index the index of the element to return @return a pointer to the requested element, NULL if index is out of range
lv_array_concat
Concatenate two arrays. Adds new elements to the end of the array. @note The destination array is automatically expanded as necessary. @param array pointer to an lv_array_t variable @param other pointer to the array to concatenate @return LV_RESULT_OK: success, otherwise: error
lv_array_copy
Copy an array to another. @note this will create a new array with the same capacity and size as the source array. @param target pointer to an lv_array_t variable to copy to @param source pointer to an lv_array_t variable to copy from
lv_array_deinit
Deinit the array, and free the allocated memory @param array pointer to an lv_array_t variable to deinitialize
lv_array_erase
Remove from the array either a single element or a range of elements ([start, end)). @note This effectively reduces the container size by the number of elements removed. @note When start equals to end, the function has no effect. @param array pointer to an lv_array_t variable @param start the index of the first element to be removed @param end the index of the first element that is not to be removed @return LV_RESULT_OK: success, otherwise: error
lv_array_init
Init an array. @param array pointer to an lv_array_t variable to initialize @param capacity the initial capacity of the array @param element_size the size of an element in bytes
lv_array_init_from_buf
Init an array from a buffer. @note The buffer must be large enough to store capacity elements. The array will not release the buffer and reallocate it. The user must ensure that the buffer is valid during the lifetime of the array. And release the buffer when the array is no longer needed. @param array pointer to an lv_array_t variable to initialize @param buf pointer to a buffer to use as the array’s data @param capacity the initial capacity of the array @param element_size the size of an element in bytes
lv_array_push_back
Push back element. Adds a new element to the end of the array. If the array capacity is not enough for the new element, the array will be resized automatically. @note If the element is NULL, it will be added as an empty element. @param array pointer to an lv_array_t variable @param element pointer to the element to add. NULL to push an empty element. @return LV_RESULT_OK: success, otherwise: error
lv_array_remove
Remove the element at the specified position in the array.
lv_array_remove_unordered
Remove the element at the specified position in the array.
lv_array_resize
Resize the array to the given capacity. @note if the new capacity is smaller than the current size, the array will be truncated. @param array pointer to an lv_array_t variable @param new_capacity the new capacity of the array
lv_array_shrink
Shrink the memory capacity of array if necessary. @param array pointer to an lv_array_t variable
lv_async_call
Call an asynchronous function the next time lv_timer_handler() is run. This function is likely to return before the call actually happens! @param async_xcb a callback which is the task itself. (the ‘x’ in the argument name indicates that it’s not a fully generic function because it not follows the func_name(object, callback, ...) convention) @param user_data custom parameter
lv_async_call_cancel
Cancel an asynchronous function call @param async_xcb a callback which is the task itself. @param user_data custom parameter
lv_atan2
Calculate the atan2 of a vector. @param x @param y @return the angle in degree calculated from the given parameters in range of [0..360]
lv_bar_bind_value
Bind an integer or float Subject to a Bar’s value. @param obj pointer to Bar @param subject pointer to Subject @return pointer to newly-created Observer
lv_bar_create
Create a bar object @param parent pointer to an object, it will be the parent of the new bar @return pointer to the created bar
lv_bar_get_max_value
Get the maximum value of a bar @param obj pointer to a bar object @return the maximum value of the bar
lv_bar_get_min_value
Get the minimum value of a bar @param obj pointer to a bar object @return the minimum value of the bar
lv_bar_get_mode
Get the type of bar. @param obj pointer to bar object @return bar type from lv_bar_mode_t
lv_bar_get_orientation
Get the orientation of bar. @param obj pointer to bar object @return bar orientation from lv_bar_orientation_t
lv_bar_get_start_value
Get the start value of a bar @param obj pointer to a bar object @return the start value of the bar
lv_bar_get_value
Get the value of a bar @param obj pointer to a bar object @return the value of the bar
lv_bar_is_symmetrical
Give the bar is in symmetrical mode or not @param obj pointer to bar object @return true: in symmetrical mode false : not in
lv_bar_set_max_value
Set maximum value of a bar @param obj pointer to the bar object @param max maximum value
lv_bar_set_min_value
Set minimum value of a bar @param obj pointer to the bar object @param min minimum value
lv_bar_set_mode
Set the type of bar. @param obj pointer to bar object @param mode bar type from lv_bar_mode_t
lv_bar_set_orientation
Set the orientation of bar. @param obj pointer to bar object @param orientation bar orientation from lv_bar_orientation_t
lv_bar_set_range
Set minimum and the maximum values of a bar @param obj pointer to the bar object @param min minimum value @param max maximum value @note If min is greater than max, the drawing direction becomes to the opposite direction.
lv_bar_set_start_value
Set a new start value on the bar @param obj pointer to a bar object @param start_value new start value @param anim LV_ANIM_ON: set the value with an animation; LV_ANIM_OFF: change the value immediately
lv_bar_set_value
Set a new value on the bar @param obj pointer to a bar object @param value new value @param anim LV_ANIM_ON: set the value with an animation; LV_ANIM_OFF: change the value immediately
lv_bezier3
Calculate a value of a Cubic Bezier function. @param t time in range of [0..LV_BEZIER_VAL_MAX] @param u0 must be 0 @param u1 control value 1 values in range of [0..LV_BEZIER_VAL_MAX] @param u2 control value 2 in range of [0..LV_BEZIER_VAL_MAX] @param u3 must be LV_BEZIER_VAL_MAX @return the value calculated from the given parameters in range of [0..LV_BEZIER_VAL_MAX]
lv_bin_decoder_close
Close the pending decoding. Free resources etc. @param decoder pointer to the decoder the function associated with @param dsc pointer to decoder descriptor
lv_bin_decoder_get_area
lv_bin_decoder_info
Get info about a lvgl binary image @param decoder the decoder where this function belongs @param dsc image descriptor containing the source and type of the image and other info. @param header store the image data here @return LV_RESULT_OK: the info is successfully stored in header; LV_RESULT_INVALID: unknown format or other error.
lv_bin_decoder_init
Initialize the binary image decoder module
lv_bin_decoder_open
Open a lvgl binary image @param decoder the decoder where this function belongs @param dsc pointer to decoder descriptor. src, style are already initialized in it. @return LV_RESULT_OK: the info is successfully stored in header; LV_RESULT_INVALID: unknown format or other error.
lv_binfont_create
Loads a lv_font_t object from a binary font file @param path path to font file @return pointer to font where to load
lv_binfont_destroy
Frees the memory allocated by the lv_binfont_create() function @param font lv_font_t object created by the lv_binfont_create function
lv_button_create
Create a button object @param parent pointer to an object, it will be the parent of the new button @return pointer to the created button
lv_buttonmatrix_clear_button_ctrl
Clear the attributes of a button of the button matrix @param obj pointer to button matrix object @param btn_id 0 based index of the button to modify. (Not counting new lines) @param ctrl OR-ed attributes. E.g. LV_BUTTONMATRIX_CTRL_NO_REPEAT | LV_BUTTONMATRIX_CTRL_CHECKABLE
lv_buttonmatrix_clear_button_ctrl_all
Clear the attributes of all buttons of a button matrix @param obj pointer to a button matrix object @param ctrl attribute(s) to set from lv_buttonmatrix_ctrl_t. Values can be ORed.
lv_buttonmatrix_create
Create a button matrix object @param parent pointer to an object, it will be the parent of the new button matrix @return pointer to the created button matrix
lv_buttonmatrix_get_button_text
Get the button’s text @param obj pointer to button matrix object @param btn_id the index a button not counting new line characters. @return text of btn_index` button
lv_buttonmatrix_get_map
Get the current map of a button matrix @param obj pointer to a button matrix object @return the current map
lv_buttonmatrix_get_one_checked
Tell whether “one check” mode is enabled or not. @param obj Button matrix object @return true: “one check” mode is enabled; false: disabled
lv_buttonmatrix_get_selected_button
Get the index of the lastly “activated” button by the user (pressed, released, focused etc) Useful in the event_cb to get the text of the button, check if hidden etc. @param obj pointer to button matrix object @return index of the last released button (LV_BUTTONMATRIX_BUTTON_NONE: if unset)
lv_buttonmatrix_has_button_ctrl
Get the whether a control value is enabled or disabled for button of a button matrix @param obj pointer to a button matrix object @param btn_id the index of a button not counting new line characters. @param ctrl control values to check (ORed value can be used) @return true: the control attribute is enabled false: disabled
lv_buttonmatrix_set_button_ctrl
Set the attributes of a button of the button matrix @param obj pointer to button matrix object @param btn_id 0 based index of the button to modify. (Not counting new lines) @param ctrl OR-ed attributes. E.g. LV_BUTTONMATRIX_CTRL_NO_REPEAT | LV_BUTTONMATRIX_CTRL_CHECKABLE
lv_buttonmatrix_set_button_ctrl_all
Set attributes of all buttons of a button matrix @param obj pointer to a button matrix object @param ctrl attribute(s) to set from lv_buttonmatrix_ctrl_t. Values can be ORed.
lv_buttonmatrix_set_button_width
Set a single button’s relative width. This method will cause the matrix be regenerated and is a relatively expensive operation. It is recommended that initial width be specified using lv_buttonmatrix_set_ctrl_map and this method only be used for dynamic changes. @param obj pointer to button matrix object @param btn_id 0 based index of the button to modify. @param width relative width compared to the buttons in the same row. [1..15]
lv_buttonmatrix_set_ctrl_map
Set the button control map (hidden, disabled etc.) for a button matrix. The control map array will be copied and so may be deallocated after this function returns. @param obj pointer to a button matrix object @param ctrl_map pointer to an array of lv_button_ctrl_t control bytes. The length of the array and position of the elements must match the number and order of the individual buttons (i.e. excludes newline entries). An element of the map should look like e.g.: ctrl_map[0] = width | LV_BUTTONMATRIX_CTRL_NO_REPEAT | LV_BUTTONMATRIX_CTRL_TGL_ENABLE
lv_buttonmatrix_set_map
Set a new map. Buttons will be created/deleted according to the map. The button matrix keeps a reference to the map and so the string array must not be deallocated during the life of the matrix. @param obj pointer to a button matrix object @param map pointer a string array. The last string has to be: “”. Use “\n” to make a line break.
lv_buttonmatrix_set_one_checked
Make the button matrix like a selector widget (only one button may be checked at a time). LV_BUTTONMATRIX_CTRL_CHECKABLE must be enabled on the buttons to be selected using lv_buttonmatrix_set_ctrl() or lv_buttonmatrix_set_button_ctrl_all(). @param obj pointer to a button matrix object @param en whether “one check” mode is enabled
lv_buttonmatrix_set_selected_button
Set the selected buttons @param obj pointer to button matrix object @param btn_id 0 based index of the button to modify. (Not counting new lines)
lv_cache_acquire
Acquire a cache entry with the given key. If entry not in cache, it will return NULL (not found). If the entry is found, it’s priority will be changed by the cache’s policy. And the lv_cache_entry_t::ref_cnt will be incremented. @param cache The cache object pointer to acquire the entry. @param key The key of the entry to acquire. @param user_data A user data pointer that will be passed to the create callback. @return Returns a pointer to the acquired cache entry on success with lv_cache_entry_t::ref_cnt incremented, NULL on error.
lv_cache_acquire_or_create
Acquire a cache entry with the given key. If the entry is not in the cache, it will create a new entry with the given key. If the entry is found, it’s priority will be changed by the cache’s policy. And the lv_cache_entry_t::ref_cnt will be incremented. If you want to use this API to simplify the code, you should provide a lv_cache_ops_t::create_cb that creates a new entry with the given key. This API is a combination of lv_cache_acquire() and lv_cache_add(). The effect is the same as calling lv_cache_acquire() and lv_cache_add() separately. And the internal impact on cache is also consistent with these two APIs. @param cache The cache object pointer to acquire the entry. @param key The key of the entry to acquire or create. @param user_data A user data pointer that will be passed to the create callback. @return Returns a pointer to the acquired or created cache entry on success with lv_cache_entry_t::ref_cnt incremented, NULL on error.
lv_cache_add
Add a new cache entry with the given key and data. If the cache is full, the cache’s policy will be used to evict an entry. @param cache The cache object pointer to add the entry. @param key The key of the entry to add. @param user_data A user data pointer that will be passed to the create callback. @return Returns a pointer to the added cache entry on success with lv_cache_entry_t::ref_cnt incremented, NULL on error.
lv_cache_create
Create a cache object with the given parameters. @param cache_class The class of the cache. Currently only support one two builtin classes: - lv_cache_class_lru_rb_count for LRU-based cache with count-based eviction policy. - lv_cache_class_lru_rb_size for LRU-based cache with size-based eviction policy. @param node_size The node size is the size of the data stored in the cache.. @param max_size The max size is the maximum amount of memory or count that the cache can hold. - lv_cache_class_lru_rb_count: max_size is the maximum count of nodes in the cache. - lv_cache_class_lru_rb_size: max_size is the maximum size of the cache in bytes. @param ops A set of operations that can be performed on the cache. See lv_cache_ops_t for details. @return Returns a pointer to the created cache object on success, NULL on error.
lv_cache_destroy
Destroy a cache object. @param cache The cache object pointer to destroy. @param user_data A user data pointer that will be passed to the free callback.
lv_cache_drop
Drop a cache entry with the given key. If the entry is not in the cache, nothing will happen to it. If the entry is found, it will be removed from the cache and its data will be freed when the last reference to it is released. @note The data will not be freed immediately but when the last reference to it is released. But this entry will not be found by lv_cache_acquire(). If you want cache a same key again, you should use lv_cache_add() or lv_cache_acquire_or_create(). @param cache The cache object pointer to drop the entry. @param key The key of the entry to drop. @param user_data A user data pointer that will be passed to the free callback.
lv_cache_drop_all
Drop all cache entries. All entries will be removed from the cache and their data will be freed when the last reference to them is released. @note If some entries are still referenced by other objects, it will issue an error. And this case shouldn’t happen in normal cases.. @param cache The cache object pointer to drop all entries. @param user_data A user data pointer that will be passed to the free callback.
lv_cache_entry_acquire_data
lv_cache_entry_alloc
Allocate a cache entry. @param node_size The size of the node in the cache. @param cache The cache instance to allocate the cache entry from. @return The pointer to the allocated cache entry.
lv_cache_entry_dec_ref
lv_cache_entry_delete
Deallocate a cache entry. And the data of the cache entry will be freed. @param entry The cache entry to deallocate.
lv_cache_entry_get_cache
Get the cache instance of a cache entry. @param entry The cache entry to get the cache instance of. @return The pointer to the cache instance of the cache entry.
lv_cache_entry_get_data
Get the data of a cache entry. @param entry The cache entry to get the data of. @return The pointer to the data of the cache entry.
lv_cache_entry_get_entry
Get the cache entry of a data. The data should be allocated by the cache instance. @param data The data to get the cache entry of. @param node_size The size of the node in the cache. @return The pointer to the cache entry of the data.
lv_cache_entry_get_node_size
Get the node size of a cache entry. Which is the same size with lv_cache_entry_get_size()’s node_size parameter. @param entry The cache entry to get the node size of. @return The node size of the cache entry.
lv_cache_entry_get_ref
Get the reference count of a cache entry. @param entry The cache entry to get the reference count of. @return The reference count of the cache entry.
lv_cache_entry_get_size
Get the size of a cache entry. @param node_size The size of the node in the cache. @return The size of the cache entry.
lv_cache_entry_has_flag
lv_cache_entry_inc_ref
lv_cache_entry_init
Initialize a cache entry. @param entry The cache entry to initialize. @param cache The cache instance to allocate the cache entry from. @param node_size The size of the node in the cache.
lv_cache_entry_is_invalid
Check if a cache entry is invalid. @param entry The cache entry to check. @return True: the cache entry is invalid. False: the cache entry is valid.
lv_cache_entry_release_data
lv_cache_entry_remove_flag
lv_cache_entry_reset_ref
GLOBAL PROTOTYPES
lv_cache_entry_set_cache
lv_cache_entry_set_flag
lv_cache_entry_set_node_size
lv_cache_evict_one
Evict one entry from the cache. The eviction policy will be used to select the entry to evict. @param cache The cache object pointer to evict an entry. @param user_data A user data pointer that will be passed to the free callback. @return Returns true if an entry is evicted, false if no entry is evicted.
lv_cache_get_free_size
Get the free size of the cache. @param cache The cache object pointer to get the free size. @param user_data A user data pointer that will be passed to the free callback. @return Returns the free size of the cache.
lv_cache_get_max_size
Get the maximum size of the cache. @param cache The cache object pointer to get the maximum size. @param user_data A user data pointer that will be passed to the free callback. @return Returns the maximum size of the cache.
lv_cache_get_name
Get the name of a cache object. @param cache The cache object pointer to get the name. @return Returns the name of the cache.
lv_cache_get_size
Get the current size of the cache. @param cache The cache object pointer to get the current size. @param user_data A user data pointer that will be passed to the free callback. @return Returns the current size of the cache.
lv_cache_is_enabled
Return true if the cache is enabled. Disabled cache means that when the max_size of the cache is 0. In this case, all cache operations will be no-op. @param cache The cache object pointer to check if it’s disabled. @return Returns true if the cache is enabled, false otherwise.
lv_cache_iter_create
Create an iterator for the cache object. The iterator is used to iterate over all cache entries. @param cache The cache object pointer to create the iterator. @return Returns a pointer to the created iterator on success, NULL on error.
lv_cache_release
Release a cache entry. The lv_cache_entry_t::ref_cnt will be decremented. If the lv_cache_entry_t::ref_cnt is zero, it will issue an error. If the entry passed to this function is the last reference to the data and the entry is marked as invalid, the cache’s policy will be used to evict the entry. @param cache The cache object pointer to release the entry. @param entry The cache entry pointer to release. @param user_data A user data pointer that will be passed to the free callback.
lv_cache_reserve
Reserve a certain amount of memory/count in the cache. This function is useful when you want to reserve a certain amount of memory/count in advance, for example, when you know that you will need it later. When the current cache size is max than the reserved size, the function will evict entries until the reserved size is reached. @param cache The cache object pointer to reserve. @param reserved_size The amount of memory/count to reserve. @param user_data A user data pointer that will be passed to the free callback.
lv_cache_set_compare_cb
Set the compare callback of the cache. @param cache The cache object pointer to set the compare callback. @param compare_cb The compare callback to set. @param user_data A user data pointer.
lv_cache_set_create_cb
Set the create callback of the cache. @param cache The cache object pointer to set the create callback. @param alloc_cb The create callback to set. @param user_data A user data pointer.
lv_cache_set_free_cb
Set the free callback of the cache. @param cache The cache object pointer to set the free callback. @param free_cb The free callback to set. @param user_data A user data pointer.
lv_cache_set_max_size
Set the maximum size of the cache. If the current cache size is greater than the new maximum size, the cache’s policy will be used to evict entries until the new maximum size is reached. If set to 0, the cache will be disabled. @note But this behavior will happen only new entries are added to the cache. @param cache The cache object pointer to set the maximum size. @param max_size The new maximum size of the cache. @param user_data A user data pointer that will be passed to the free callback.
lv_cache_set_name
Give a name for a cache object. Only the pointer of the string is saved. @param cache The cache object pointer to set the name. @param name The name of the cache.
lv_calendar_add_header_arrow
Create a calendar header with drop-drowns to select the year and month @param parent pointer to a calendar object. @return the created header
lv_calendar_add_header_dropdown
Create a calendar header with drop-drowns to select the year and month @param parent pointer to a calendar object. @return the created header
lv_calendar_create
Create a calendar widget @param parent pointer to an object, it will be the parent of the new calendar @return pointer the created calendar
lv_calendar_get_btnmatrix
Get the button matrix object of the calendar. It shows the dates and day names. @param obj pointer to a calendar object @return pointer to a the button matrix
lv_calendar_get_highlighted_dates
Get the highlighted dates @param calendar pointer to a calendar object @return pointer to an lv_calendar_date_t array containing the dates.
lv_calendar_get_highlighted_dates_num
Get the number of the highlighted dates @param calendar pointer to a calendar object @return number of highlighted days
lv_calendar_get_pressed_date
Get the currently pressed day @param calendar pointer to a calendar object @param date store the pressed date here @return LV_RESULT_OK: there is a valid pressed date LV_RESULT_INVALID: there is no pressed data
lv_calendar_get_showed_date
Get the currently showed @param calendar pointer to a calendar object @return pointer to an lv_calendar_date_t variable containing the date is being shown.
lv_calendar_get_today_date
Get the today’s date @param calendar pointer to a calendar object @return return pointer to an lv_calendar_date_t variable containing the date of today.
lv_calendar_header_dropdown_set_year_list
Sets a custom calendar year list @param parent pointer to a calendar object @param years_list pointer to an const char array with the years list, see lv_dropdown set_options for more information. E.g. `const char * years = “2023\n2022\n2021\n2020\n2019” Only the pointer will be saved so this variable can’t be local which will be destroyed later.
lv_calendar_set_day_names
Set the name of the days @param obj pointer to a calendar object @param day_names pointer to an array with the names. E.g. const char * days[7] = {"Sun", "Mon", ...} Only the pointer will be saved so this variable can’t be local which will be destroyed later.
lv_calendar_set_highlighted_dates
Set the highlighted dates @param obj pointer to a calendar object @param highlighted pointer to an lv_calendar_date_t array containing the dates. Only the pointer will be saved so this variable can’t be local which will be destroyed later. @param date_num number of dates in the array
lv_calendar_set_month_shown
Set the currently shown year and month at once @param obj pointer to a calendar object @param year shown year @param month shown month [1..12]
lv_calendar_set_shown_month
Set the currently shown month @param obj pointer to a calendar object @param month shown month [1..12]
lv_calendar_set_shown_year
Set the currently shown year @param obj pointer to a calendar object @param year shown year
lv_calendar_set_today_date
Set the today’s year, month and day at once @param obj pointer to a calendar object @param year today’s year @param month today’s month [1..12] @param day today’s day [1..31]
lv_calendar_set_today_day
Set the today’s year @param obj pointer to a calendar object @param day today’s day [1..31]
lv_calendar_set_today_month
Set the today’s year @param obj pointer to a calendar object @param month today’s month [1..12]
lv_calendar_set_today_year
Set the today’s year @param obj pointer to a calendar object @param year today’s year
lv_calloc
Allocate a block of zeroed memory dynamically @param num requested number of element to be allocated. @param size requested size of each element in bytes. @return pointer to allocated zeroed memory, or NULL on failure
lv_canvas_buf_size
Just a wrapper to LV_CANVAS_BUF_SIZE for bindings.
lv_canvas_copy_buf
Copy a buffer to the canvas @param obj pointer to a canvas object @param canvas_area the area of the canvas to copy the new data to @param src_buf pointer to a buffer holding the source data @param src_area the area of the source buffer to copy from. If NULL, copy the whole buffer. @note canvas_area and src_area should be the same size. If canvas_area and the size of src_buf are the same, src_area can be left NULL.
lv_canvas_create
Create a canvas object @param parent pointer to an object, it will be the parent of the new canvas @return pointer to the created canvas
lv_canvas_fill_bg
Fill the canvas with color @param obj pointer to a canvas @param color the background color @param opa the desired opacity
lv_canvas_finish_layer
Wait until all the drawings are finished on layer. Needs to be usd in pair with lv_canvas_init_layer. @param canvas pointer to a canvas @param layer pointer to a layer to finalize
lv_canvas_get_buf
Return the pointer for the buffer. It’s recommended to use this function instead of the buffer form the return value of lv_canvas_get_image() as is can be aligned @param canvas pointer to a canvas object @return pointer to the buffer
lv_canvas_get_draw_buf
lv_canvas_get_image
Get the image of the canvas as a pointer to an lv_image_dsc_t variable. @param canvas pointer to a canvas object @return pointer to the image descriptor.
lv_canvas_get_px
Get a pixel’s color and opacity @param obj pointer to a canvas @param x X coordinate of the pixel @param y Y coordinate of the pixel @return ARGB8888 color of the pixel
lv_canvas_init_layer
Initialize a layer to use LVGL’s generic draw functions (lv_draw_rect/label/…) on the canvas. Needs to be usd in pair with lv_canvas_finish_layer. @param canvas pointer to a canvas @param layer pointer to a layer variable to initialize
lv_canvas_set_buffer
Set a buffer for the canvas.
lv_canvas_set_draw_buf
Set a draw buffer for the canvas. A draw buffer either can be allocated by lv_draw_buf_create() or defined statically by LV_DRAW_BUF_DEFINE_STATIC. When buffer start address and stride has alignment requirement, it’s recommended to use lv_draw_buf_create. @param obj pointer to a canvas object @param draw_buf pointer to a draw buffer
lv_canvas_set_palette
Set the palette color of a canvas for index format. Valid only for LV_COLOR_FORMAT_I1/2/4/8 @param obj pointer to canvas object @param index the palette color to set: - for LV_COLOR_FORMAT_I1: 0..1 - for LV_COLOR_FORMAT_I2: 0..3 - for LV_COLOR_FORMAT_I4: 0..15 - for LV_COLOR_FORMAT_I8: 0..255 @param color the color to set
lv_canvas_set_px
Set a pixel’s color and opacity @param obj pointer to a canvas @param x X coordinate of the pixel @param y Y coordinate of the pixel @param color the color @param opa the opacity @note The following color formats are supported LV_COLOR_FORMAT_I1/2/4/8, LV_COLOR_FORMAT_A8, LV_COLOR_FORMAT_RGB565, LV_COLOR_FORMAT_RGB888, LV_COLOR_FORMAT_XRGB8888, LV_COLOR_FORMAT_ARGB8888 @note this function invalidates the canvas object every time, for best performance, if you’re changing a lot of pixels in a loop, call lv_display_enable_invalidation before the loop starts so the invalidation isn’t done on every call
lv_chart_add_cursor
Add a cursor with a given color @param obj pointer to chart object @param color color of the cursor @param dir direction of the cursor. LV_DIR_RIGHT/LEFT/TOP/DOWN/HOR/VER/ALL. OR-ed values are possible @return pointer to the created cursor
lv_chart_add_series
Allocate and add a data series to the chart @param obj pointer to a chart object @param color color of the data series @param axis the y axis to which the series should be attached (::LV_CHART_AXIS_PRIMARY_Y or ::LV_CHART_AXIS_SECONDARY_Y) @return pointer to the allocated data series or NULL on failure
lv_chart_create
Create a chart object @param parent pointer to an object, it will be the parent of the new chart @return pointer to the created chart
lv_chart_get_cursor_point
Get the coordinate of the cursor with respect to the paddings @param chart pointer to a chart object @param cursor pointer to cursor @return coordinate of the cursor as lv_point_t
lv_chart_get_first_point_center_offset
Get the overall offset from the chart’s side to the center of the first point. In case of a bar chart it will be the center of the first column group @param obj pointer to a chart object @return the offset of the center
lv_chart_get_hor_div_line_count
Get the number of horizontal division lines @param obj pointer to a chart object @return the number of horizontal division lines
lv_chart_get_point_count
Get the data point number per data line on chart @param obj pointer to chart object @return point number on each data line
lv_chart_get_point_pos_by_id
Get the position of a point to the chart. @param obj pointer to a chart object @param ser pointer to series @param id the index. @param p_out store the result position here
lv_chart_get_pressed_point
Get the index of the currently pressed point. It’s the same for every series. @param obj pointer to a chart object @return the index of the point [0 .. point count] or LV_CHART_POINT_ID_NONE if no point is being pressed
lv_chart_get_series_color
Get the color of a series @param chart pointer to a chart object. @param series pointer to a series object @return the color of the series
lv_chart_get_series_next
Get the next series. @param chart pointer to a chart @param ser the previous series or NULL to get the first @return the next series or NULL if there is no more.
lv_chart_get_series_x_array
Get the array of x values of a series @param obj pointer to a chart object @param ser pointer to a data series on ‘chart’ @return the array of values with ‘point_count’ elements
lv_chart_get_series_y_array
Get the array of y values of a series @param obj pointer to a chart object @param ser pointer to a data series on ‘chart’ @return the array of values with ‘point_count’ elements
lv_chart_get_type
Get the type of a chart @param obj pointer to chart object @return type of the chart (from ‘lv_chart_t’ enum)
lv_chart_get_update_mode
Get the update mode of a chart @param obj pointer to a chart object @return the update mode
lv_chart_get_ver_div_line_count
Get the number of vertical division lines @param obj pointer to a chart object @return the number of vertical division lines
lv_chart_get_x_start_point
Get the current index of the x-axis start point in the data array @param obj pointer to a chart object @param ser pointer to a data series on ‘chart’ @return the index of the current x start point in the data array
lv_chart_hide_series
Hide/Unhide a single series of a chart. @param chart pointer to a chart object. @param series pointer to a series object @param hide true: hide the series
lv_chart_refresh
Refresh a chart if its data line has changed @param obj pointer to chart object
lv_chart_remove_cursor
Remove a cursor @param obj pointer to chart object @param cursor pointer to the cursor
lv_chart_remove_series
Deallocate and remove a data series from a chart @param obj pointer to a chart object @param series pointer to a data series on ‘chart’
lv_chart_set_all_values
Initialize all data points of a series with a value @param obj pointer to chart object @param ser pointer to a data series on ‘chart’ @param value the new value for all points. LV_CHART_POINT_NONE can be used to hide the points.
lv_chart_set_axis_max_value
Set the maximal y values on an axis @param obj pointer to a chart object @param axis LV_CHART_AXIS_PRIMARY_Y or LV_CHART_AXIS_SECONDARY_Y @param max maximum value of the y axis
lv_chart_set_axis_min_value
Set the minimal values on an axis @param obj pointer to a chart object @param axis LV_CHART_AXIS_PRIMARY_Y or LV_CHART_AXIS_SECONDARY_Y @param min minimal value of the y axis
lv_chart_set_axis_range
Set the minimal and maximal y values on an axis @param obj pointer to a chart object @param axis LV_CHART_AXIS_PRIMARY_Y or LV_CHART_AXIS_SECONDARY_Y @param min minimum value of the y axis @param max maximum value of the y axis
lv_chart_set_cursor_point
Stick the cursor to a point @param chart pointer to a chart object @param cursor pointer to the cursor @param ser pointer to a series @param point_id the point’s index or LV_CHART_POINT_NONE to not assign to any points.
lv_chart_set_cursor_pos
Set the coordinate of the cursor with respect to the paddings @param chart pointer to a chart object @param cursor pointer to the cursor @param pos the new coordinate of cursor relative to the chart
lv_chart_set_cursor_pos_x
Set the X coordinate of the cursor with respect to the paddings @param chart pointer to a chart object @param cursor pointer to the cursor @param x the new X coordinate of cursor relative to the chart
lv_chart_set_cursor_pos_y
Set the coordinate of the cursor with respect to the paddings @param chart pointer to a chart object @param cursor pointer to the cursor @param y the new Y coordinate of cursor relative to the chart
lv_chart_set_div_line_count
Set the number of horizontal and vertical division lines @param obj pointer to a chart object @param hdiv number of horizontal division lines @param vdiv number of vertical division lines
lv_chart_set_hor_div_line_count
Set the number of horizontal division lines @param obj pointer to a chart object @param cnt number of horizontal division lines
lv_chart_set_next_value
Set the next point’s Y value according to the update mode policy. @param obj pointer to chart object @param ser pointer to a data series on ‘chart’ @param value the new value of the next data
lv_chart_set_next_value2
Set the next point’s X and Y value according to the update mode policy. @param obj pointer to chart object @param ser pointer to a data series on ‘chart’ @param x_value the new X value of the next data @param y_value the new Y value of the next data
lv_chart_set_point_count
Set the number of points on a data line on a chart @param obj pointer to a chart object @param cnt new number of points on the data lines
lv_chart_set_series_color
Change the color of a series @param chart pointer to a chart object. @param series pointer to a series object @param color the new color of the series
lv_chart_set_series_ext_x_array
Set an external array for the x data points to use for the chart NOTE: It is the users responsibility to make sure the point_cnt matches the external array size. @param obj pointer to a chart object @param ser pointer to a data series on ‘chart’ @param array external array of points for chart
lv_chart_set_series_ext_y_array
Set an external array for the y data points to use for the chart NOTE: It is the users responsibility to make sure the point_cnt matches the external array size. @param obj pointer to a chart object @param ser pointer to a data series on ‘chart’ @param array external array of points for chart
lv_chart_set_series_value_by_id
Set an individual point’s y value of a chart’s series directly based on its index @param obj pointer to a chart object @param ser pointer to a data series on ‘chart’ @param id the index of the x point in the array @param value value to assign to array point
lv_chart_set_series_value_by_id2
Set an individual point’s x and y value of a chart’s series directly based on its index Can be used only with LV_CHART_TYPE_SCATTER. @param obj pointer to chart object @param ser pointer to a data series on ‘chart’ @param id the index of the x point in the array @param x_value the new X value of the next data @param y_value the new Y value of the next data
lv_chart_set_series_values
Same as lv_chart_set_next_value but set the values from an array @param obj pointer to chart object @param ser pointer to a data series on ‘chart’ @param values the new values to set @param values_cnt number of items in values
lv_chart_set_series_values2
Same as lv_chart_set_next_value2 but set the values from an array @param obj pointer to chart object @param ser pointer to a data series on ‘chart’ @param x_values the new values to set on the X axis @param y_values the new values to set o nthe Y axis @param values_cnt number of items in x_values and y_values
lv_chart_set_type
Set a new type for a chart @param obj pointer to a chart object @param type new type of the chart (from ‘lv_chart_type_t’ enum)
lv_chart_set_update_mode
Set update mode of the chart object. Affects @param obj pointer to a chart object @param update_mode the update mode
lv_chart_set_ver_div_line_count
Set the number of vertical division lines @param obj pointer to a chart object @param cnt number of vertical division lines
lv_chart_set_x_start_point
Set the index of the x-axis start point in the data array. This point will be considers the first (left) point and the other points will be drawn after it. @param obj pointer to a chart object @param ser pointer to a data series on ‘chart’ @param id the index of the x point in the data array
lv_checkbox_create
Create a check box object @param parent pointer to an object, it will be the parent of the new button @return pointer to the created check box
lv_checkbox_get_text
Get the text of a check box @param obj pointer to check box object @return pointer to the text of the check box
lv_checkbox_set_text
Set the text of a check box. txt will be copied and may be deallocated after this function returns. @param obj pointer to a check box @param txt the text of the check box. NULL to refresh with the current text.
lv_checkbox_set_text_static
Set the text of a check box. txt must not be deallocated during the life of this checkbox. @param obj pointer to a check box @param txt the text of the check box.
lv_circle_buf_capacity
Get the capacity of the buffer @param circle_buf pointer to buffer @return the maximum number of elements in the buffer
lv_circle_buf_create
Create a circle buffer @param capacity the maximum number of elements in the buffer @param element_size the size of an element in bytes @return pointer to the created buffer
lv_circle_buf_create_from_array
Create a circle buffer from an existing array @param array pointer to an array @return pointer to the created buffer
lv_circle_buf_create_from_buf
Create a circle buffer from an existing buffer @param buf pointer to a buffer @param capacity the maximum number of elements in the buffer @param element_size the size of an element in bytes @return pointer to the created buffer
lv_circle_buf_destroy
Destroy a circle buffer @param circle_buf pointer to buffer
lv_circle_buf_fill
Fill the buffer with values @param circle_buf pointer to buffer @param count the number of values to fill @param fill_cb the callback function to fill the buffer @param user_data @return the number of values filled
lv_circle_buf_head
Get the head of the buffer @param circle_buf pointer to buffer @return pointer to the head of the buffer
lv_circle_buf_is_empty
Check if the buffer is empty @param circle_buf pointer to buffer @return true: the buffer is empty; false: the buffer is not empty
lv_circle_buf_is_full
Check if the buffer is full @param circle_buf pointer to buffer @return true: the buffer is full; false: the buffer is not full
lv_circle_buf_peek
Peek a value @param circle_buf pointer to buffer @param data pointer to a variable to store the peeked value @return LV_RESULT_OK: the value is peeked; LV_RESULT_INVALID: the value is not peeked
lv_circle_buf_peek_at
Peek a value at an index @param circle_buf pointer to buffer @param index the index of the value to peek, if the index is greater than the size of the buffer, it will return looply. @param data pointer to a variable to store the peeked value @return LV_RESULT_OK: the value is peeked; LV_RESULT_INVALID: the value is not peeked
lv_circle_buf_read
Read a value @param circle_buf pointer to buffer @param data pointer to a variable to store the read value @return LV_RESULT_OK: the value is read; LV_RESULT_INVALID: the value is not read
lv_circle_buf_remain
Get the remaining space in the buffer @param circle_buf pointer to buffer @return the number of elements that can be written to the buffer
lv_circle_buf_reset
Reset the buffer @param circle_buf pointer to buffer @return LV_RESULT_OK: the buffer is reset; LV_RESULT_INVALID: the buffer is not reset
lv_circle_buf_resize
Resize the buffer @param circle_buf pointer to a buffer @param capacity the new capacity of the buffer @return LV_RESULT_OK: the buffer is resized; LV_RESULT_INVALID: the buffer is not resized
lv_circle_buf_size
Get the size of the buffer @param circle_buf pointer to buffer @return the number of elements in the buffer
lv_circle_buf_skip
Skip a value @param circle_buf pointer to buffer @return LV_RESULT_OK: the value is skipped; LV_RESULT_INVALID: the value is not skipped
lv_circle_buf_tail
Get the tail of the buffer @param circle_buf pointer to buffer @return pointer to the tail of the buffer
lv_circle_buf_write
Write a value @param circle_buf pointer to buffer @param data pointer to the value to write @return LV_RESULT_OK: the value is written; LV_RESULT_INVALID: the value is not written
lv_clamp_height
Clamp a height between min and max height. If the min/max height is in percentage value use the ref_height @param height height to clamp @param min_height the minimal height @param max_height the maximal height @param ref_height the reference height used when min/max height is in percentage @return the clamped height
lv_clamp_width
Clamp a width between min and max width. If the min/max width is in percentage value use the ref_width @param width width to clamp @param min_width the minimal width @param max_width the maximal width @param ref_width the reference width used when min/max width is in percentage @return the clamped width
lv_color16_luminance
Get the luminance of a color16: luminance = 0.3 R + 0.59 G + 0.11 B @param c a color @return the brightness [0..255]
lv_color16_premultiply
lv_color24_luminance
Get the luminance of a color24: luminance = 0.3 R + 0.59 G + 0.11 B @param c a color @return the brightness [0..255]
lv_color32_eq
Check if two ARGB8888 color are equal @param c1 the first color @param c2 the second color @return true: equal
lv_color32_luminance
Get the luminance of a color32: luminance = 0.3 R + 0.59 G + 0.11 B @param c a color @return the brightness [0..255]
lv_color32_make
Create an ARGB8888 color @param r the red channel (0..255) @param g the green channel (0..255) @param b the blue channel (0..255) @param a the alpha channel (0..255) @return the color
lv_color_16_16_mix
Mix two RGB565 colors @param c1 the first color (typically the foreground color) @param c2 the second color (typically the background color) @param mix 0..255, or LV_OPA_0/10/20… @return mix == 0: c2 mix == 255: c1 mix == 128: 0.5 x c1 + 0.5 x c2
lv_color_black
A helper for black color @return a black color
lv_color_brightness
Get the brightness of a color @param c a color @return brightness in range [0..255]
lv_color_darken
Mix black to a color @param c the base color @param lvl the intensity of black (0: no change, 255: fully black) @return the mixed color
lv_color_eq
Check if two RGB888 color are equal @param c1 the first color @param c2 the second color @return true: equal
lv_color_filter_dsc_init
lv_color_format_get_bpp
Get the pixel size of a color format in bits, bpp @param cf a color format (LV_COLOR_FORMAT_...) @return the pixel size in bits @sa LV_COLOR_FORMAT_GET_BPP
lv_color_format_get_size
Get the pixel size of a color format in bytes @param cf a color format (LV_COLOR_FORMAT_...) @return the pixel size in bytes @sa LV_COLOR_FORMAT_GET_SIZE
lv_color_format_has_alpha
Check if a color format has alpha channel or not @param src_cf a color format (LV_COLOR_FORMAT_...) @return true: has alpha channel; false: doesn’t have alpha channel
lv_color_hex
Create a color from 0x000000..0xffffff input @param c the hex input @return the color
lv_color_hex3
Create a color from 0x000..0xfff input @param c the hex input (e.g. 0x123 will be 0x112233) @return the color
lv_color_hsv_to_rgb
Convert a HSV color to RGB @param h hue [0..359] @param s saturation [0..100] @param v value [0..100] @return the given RGB color in RGB (with LV_COLOR_DEPTH depth)
lv_color_lighten
Mix white to a color @param c the base color @param lvl the intensity of white (0: no change, 255: fully white) @return the mixed color
lv_color_luminance
Get the luminance of a color: luminance = 0.3 R + 0.59 G + 0.11 B @param c a color @return the brightness [0..255]
lv_color_make
Create an RGB888 color @param r the red channel (0..255) @param g the green channel (0..255) @param b the blue channel (0..255) @return the color
lv_color_mix
Mix two colors with a given ratio. @param c1 the first color to mix (usually the foreground) @param c2 the second color to mix (usually the background) @param mix The ratio of the colors. 0: full c2, 255: full c1, 127: half c1 and halfc2 @return the mixed color
lv_color_mix32
@param fg @param bg @return @note Use bg.alpha in the return value @note Use fg.alpha as mix ratio
lv_color_mix32_premultiplied
@brief Blends two premultiplied ARGB8888 colors while maintaining correct alpha compositing.
lv_color_over32
Blend two colors that have not been pre-multiplied using their alpha values @param fg the foreground color @param bg the background color @return result color
lv_color_premultiply
lv_color_rgb_to_hsv
Convert a 32-bit RGB color to HSV @param r8 8-bit red @param g8 8-bit green @param b8 8-bit blue @return the given RGB color in HSV
lv_color_to_32
Create an ARGB8888 color from RGB888 + alpha @param color an RGB888 color @param opa the alpha value @return the ARGB8888 color
lv_color_to_hsv
Convert a color to HSV @param color color @return the given color in HSV
lv_color_to_int
Convert an RGB888 color to an integer @param c an RGB888 color @return c as an integer
lv_color_to_u16
Convert am RGB888 color to RGB565 stored in uint16_t @param color and RGB888 color @return color as RGB565 on uin16_t
lv_color_to_u32
Convert am RGB888 color to XRGB8888 stored in uint32_t @param color and RGB888 color @return color as XRGB8888 on uin32_t (the alpha channel is always set to 0xFF)
lv_color_white
A helper for white color @return a white color
lv_cubic_bezier
Calculate the y value of cubic-bezier(x1, y1, x2, y2) function as specified x. @param x time in range of [0..LV_BEZIER_VAL_MAX] @param x1 x of control point 1 in range of [0..LV_BEZIER_VAL_MAX] @param y1 y of control point 1 in range of [0..LV_BEZIER_VAL_MAX] @param x2 x of control point 2 in range of [0..LV_BEZIER_VAL_MAX] @param y2 y of control point 2 in range of [0..LV_BEZIER_VAL_MAX] @return the value calculated
lv_deinit
Deinit the ‘lv’ library
lv_delay_ms
Delay for the given milliseconds. By default it’s a blocking delay, but with lv_delay_set_cb() a custom delay function can be set too @param ms the number of milliseconds to delay
lv_delay_set_cb
Set a callback for a blocking delay @param cb pointer to a callback
lv_display_add_event_cb
Add an event handler to the display @param disp pointer to a display @param event_cb an event callback @param filter event code to react or LV_EVENT_ALL @param user_data optional user_data
lv_display_create
Create a new display with the given resolution @param hor_res horizontal resolution in pixels @param ver_res vertical resolution in pixels @return pointer to a display object or NULL on error
lv_display_delete
Remove a display @param disp pointer to display
lv_display_delete_event
Remove an event @param disp pointer to a display @param index the index of the event to remove @return true: and event was removed; false: no event was removed
lv_display_delete_refr_timer
Delete screen refresher timer @param disp pointer to a display
lv_display_dpx
For specified display, computes the number of pixels (a distance or size) as if the display had 160 DPI. This allows you to specify 1/160-th fractions of an inch to get real distance on the display that will be consistent regardless of its current DPI. It ensures lv_dpx(100), for example, will have the same physical size regardless to the DPI of the display. @param disp pointer to display whose dpi should be considered @param n number of 1/160-th-inch units to compute with @return number of pixels to use to make that distance
lv_display_enable_invalidation
Temporarily enable and disable the invalidation of the display. @param disp pointer to a display (NULL to use the default display) @param en true: enable invalidation; false: invalidation
lv_display_flush_is_last
Tell if it’s the last area of the refreshing process. Can be called from flush_cb to execute some special display refreshing if needed when all areas area flushed. @param disp pointer to display @return true: it’s the last area to flush; false: there are other areas too which will be refreshed soon
lv_display_flush_ready
Call from the display driver when the flushing is finished @param disp pointer to display whose flush_cb was called
lv_display_get_antialiasing
Get if anti-aliasing is enabled for a display or not @param disp pointer to a display (NULL to use the default display) @return true/false
lv_display_get_buf_active
lv_display_get_color_format
Get the color format of the display @param disp pointer to a display @return the color format
lv_display_get_default
Get the default display @return pointer to the default display
lv_display_get_dpi
Get the DPI of the display @param disp pointer to a display (NULL to use the default display) @return dpi of the display
lv_display_get_draw_buf_size
Get the size of the draw buffers @param disp pointer to a display @return the size of the draw buffer in bytes for valid display, 0 otherwise
lv_display_get_driver_data
lv_display_get_event_count
Get the number of event attached to a display @param disp pointer to a display @return number of events
lv_display_get_event_dsc
Get an event descriptor for an event @param disp pointer to a display @param index the index of the event @return the event descriptor
lv_display_get_horizontal_resolution
Get the horizontal resolution of a display. @param disp pointer to a display (NULL to use the default display) @return the horizontal resolution of the display.
lv_display_get_inactive_time
Get elapsed time since last user activity on a display (e.g. click) @param disp pointer to a display (NULL to get the overall smallest inactivity) @return elapsed ticks (milliseconds) since the last activity
lv_display_get_invalidated_draw_buf_size
Get the size of the invalidated draw buffer. Can be used in the flush callback to get the number of bytes used in the current render buffer. @param disp pointer to a display @param width the width of the invalidated area @param height the height of the invalidated area @return the size of the invalidated draw buffer in bytes, not accounting for any preceding palette information for a valid display, 0 otherwise
lv_display_get_layer_bottom
Return the bottom layer. The bottom layer is the same on all screen and it is under the normal screen layer. It’s visible only if the screen is transparent. @param disp pointer to display (NULL to use the default screen) @return pointer to the bottom layer object
lv_display_get_layer_sys
Return the sys. layer. The system layer is the same on all screen and it is above the normal screen and the top layer. @param disp pointer to display which sys. layer should be retrieved. (NULL to use the default screen) @return pointer to the sys layer object
lv_display_get_layer_top
Return the top layer. The top layer is the same on all screens and it is above the normal screen layer. @param disp pointer to display which top layer should be get. (NULL to use the default screen) @return pointer to the top layer object
lv_display_get_matrix_rotation
Get if matrix rotation is enabled for a display or not @param disp pointer to a display (NULL to use the default display) @return true: matrix rotation is enabled; false: disabled
lv_display_get_next
Get the next display. @param disp pointer to the current display. NULL to initialize. @return the next display or NULL if no more. Gives the first display when the parameter is NULL.
lv_display_get_offset_x
Get the horizontal offset from the full / physical display @param disp pointer to a display (NULL to use the default display) @return the horizontal offset from the physical display
lv_display_get_offset_y
Get the vertical offset from the full / physical display @param disp pointer to a display (NULL to use the default display) @return the horizontal offset from the physical display
lv_display_get_original_horizontal_resolution
Get the original horizontal resolution of a display without considering rotation @param disp pointer to a display (NULL to use the default display) @return the horizontal resolution of the display.
lv_display_get_original_vertical_resolution
Get the original vertical resolution of a display without considering rotation @param disp pointer to a display (NULL to use the default display) @return the vertical resolution of the display
lv_display_get_physical_horizontal_resolution
Get the physical horizontal resolution of a display @param disp pointer to a display (NULL to use the default display) @return the physical horizontal resolution of the display
lv_display_get_physical_vertical_resolution
Get the physical vertical resolution of a display @param disp pointer to a display (NULL to use the default display) @return the physical vertical resolution of the display
lv_display_get_refr_timer
Get a pointer to the screen refresher timer to modify its parameters with lv_timer_... functions. @param disp pointer to a display @return pointer to the display refresher timer. (NULL on error)
lv_display_get_render_mode
Get display render mode @param disp pointer to a display @return display’s render mode (LV_DISPLAY_RENDER_MODE_PARTIAL/DIRECT/FULL)
lv_display_get_rotation
Get the current rotation of this display. @param disp pointer to a display (NULL to use the default display) @return the current rotation
lv_display_get_screen_active
Return a pointer to the active screen on a display @param disp pointer to display which active screen should be get. (NULL to use the default screen) @return pointer to the active screen object (loaded by ‘lv_screen_load()’)
lv_display_get_screen_loading
Return the screen that is currently being loaded by the display @param disp pointer to a display object (NULL to use the default screen) @return pointer to the screen being loaded or NULL if no screen is currently being loaded
lv_display_get_screen_prev
Return with a pointer to the previous screen. Only used during screen transitions. @param disp pointer to display which previous screen should be get. (NULL to use the default screen) @return pointer to the previous screen object or NULL if not used now
lv_display_get_theme
Get the theme of a display @param disp pointer to a display @return the display’s theme (can be NULL)
lv_display_get_tile_cnt
Get the number of tiles used for parallel rendering @param disp pointer to a display @return number of tiles
lv_display_get_user_data
lv_display_get_vertical_resolution
Get the vertical resolution of a display @param disp pointer to a display (NULL to use the default display) @return the vertical resolution of the display
lv_display_is_double_buffered
lv_display_is_invalidation_enabled
Get display invalidation is enabled. @param disp pointer to a display (NULL to use the default display) @return return true if invalidation is enabled
lv_display_refr_timer
Called periodically to handle the refreshing @param timer pointer to the timer itself, or NULL
lv_display_register_vsync_event
Register vsync event of a display. LV_EVENT_VSYNC event will be sent periodically. Please don’t use it in display event listeners, as it may cause memory leaks and illegal access issues.
lv_display_remove_event_cb_with_user_data
Remove an event_cb with user_data @param disp pointer to a display @param event_cb the event_cb of the event to remove @param user_data user_data @return the count of the event removed
lv_display_rotate_area
Rotate an area in-place according to the display’s rotation @param disp pointer to a display @param area pointer to an area to rotate
lv_display_rotate_point
Rotate a point in-place according to the display’s rotation @param disp pointer to a display @param point pointer to a point to rotate
lv_display_send_event
Send an event to a display @param disp pointer to a display @param code an event code. LV_EVENT_… @param param optional param @return LV_RESULT_OK: disp wasn’t deleted in the event.
lv_display_send_vsync_event
Send an vsync event to a display @param disp pointer to a display @param param optional param @return LV_RESULT_OK: disp wasn’t deleted in the event.
lv_display_set_3rd_draw_buffer
Set the third draw buffer for a display. @param disp pointer to a display @param buf3 third buffer
lv_display_set_antialiasing
Disabling anti-aliasing is not supported since v9. This function will be removed. Enable anti-aliasing for the render engine @param disp pointer to a display @param en true/false
lv_display_set_buffers
Set the buffers for a display, similarly to lv_display_set_draw_buffers, but accept the raw buffer pointers. For DIRECT/FULL rending modes, the buffer size must be at least hor_res * ver_res * lv_color_format_get_size(lv_display_get_color_format(disp)) @param disp pointer to a display @param buf1 first buffer @param buf2 second buffer (can be NULL) @param buf_size buffer size in byte @param render_mode LV_DISPLAY_RENDER_MODE_PARTIAL/DIRECT/FULL
lv_display_set_buffers_with_stride
Set the frame buffers for a display, similarly to lv_display_set_buffers, but allow for a custom stride as required by a display controller. This allows the frame buffers to have a stride alignment different from the rest of the buffers@param disp pointer to a display @param buf1 first buffer @param buf2 second buffer (can beNULL`) @param buf_size buffer size in byte @param stride buffer stride in bytes @param render_mode LV_DISPLAY_RENDER_MODE_PARTIAL/DIRECT/FULL
lv_display_set_color_format
Set the color format of the display. @param disp pointer to a display @param color_format Possible values are - LV_COLOR_FORMAT_RGB565 - LV_COLOR_FORMAT_RGB888 - LV_COLOR_FORMAT_XRGB888 - LV_COLOR_FORMAT_ARGB888 @note To change the endianness of the rendered image in case of RGB565 format (i.e. swap the 2 bytes) call lv_draw_sw_rgb565_swap in the flush_cb
lv_display_set_default
Set a default display. The new screens will be created on it by default. @param disp pointer to a display
lv_display_set_dpi
Set the DPI (dot per inch) of the display. dpi = sqrt(hor_res^2 + ver_res^2) / diagonal“ @param disp pointer to a display @param dpi the new DPI
lv_display_set_draw_buffers
Set the buffers for a display, accept a draw buffer pointer. Normally use lv_display_set_buffers is enough for most cases. Use this function when an existing lv_draw_buf_t is available. @param disp pointer to a display @param buf1 first buffer @param buf2 second buffer (can be NULL)
lv_display_set_driver_data
lv_display_set_flush_cb
Set the flush callback which will be called to copy the rendered image to the display. @param disp pointer to a display @param flush_cb the flush callback (px_map contains the rendered image as raw pixel map and it should be copied to area on the display)
lv_display_set_flush_wait_cb
Set a callback to be used while LVGL is waiting flushing to be finished. It can do any complex logic to wait, including semaphores, mutexes, polling flags, etc. If not set the disp->flushing flag is used which can be cleared with lv_display_flush_ready() @param disp pointer to a display @param wait_cb a callback to call while LVGL is waiting for flush ready. If NULL lv_display_flush_ready() can be used to signal that flushing is ready.
lv_display_set_matrix_rotation
Use matrix rotation for the display. This function is depended on LV_DRAW_TRANSFORM_USE_MATRIX @param disp pointer to a display (NULL to use the default display) @param enable true: enable matrix rotation, false: disable
lv_display_set_offset
If physical resolution is not the same as the normal resolution the offset of the active display area can be set here. @param disp pointer to a display @param x X offset @param y Y offset
lv_display_set_physical_resolution
It’s not mandatory to use the whole display for LVGL, however in some cases physical resolution is important. For example the touchpad still sees whole resolution and the values needs to be converted to the active LVGL display area. @param disp pointer to a display @param hor_res the new physical horizontal resolution, or -1 to assume it’s the same as the normal hor. res. @param ver_res the new physical vertical resolution, or -1 to assume it’s the same as the normal hor. res.
lv_display_set_render_mode
Set display render mode @param disp pointer to a display @param render_mode LV_DISPLAY_RENDER_MODE_PARTIAL/DIRECT/FULL
lv_display_set_resolution
Sets the resolution of a display. LV_EVENT_RESOLUTION_CHANGED event will be sent. Here the native resolution of the device should be set. If the display will be rotated later with lv_display_set_rotation LVGL will swap the hor. and ver. resolution automatically. @param disp pointer to a display @param hor_res the new horizontal resolution @param ver_res the new vertical resolution
lv_display_set_rotation
Set the rotation of this display. LVGL will swap the horizontal and vertical resolutions internally. @param disp pointer to a display (NULL to use the default display) @param rotation LV_DISPLAY_ROTATION_0/90/180/270
lv_display_set_theme
Set the theme of a display. If there are no user created widgets yet the screens’ theme will be updated @param disp pointer to a display @param th pointer to a theme
lv_display_set_tile_cnt
Set the number of tiles for parallel rendering. @param disp pointer to a display @param tile_cnt number of tiles (1 =< tile_cnt < 256)
lv_display_set_user_data
lv_display_trigger_activity
Manually trigger an activity on a display @param disp pointer to a display (NULL to use the default display)
lv_display_unregister_vsync_event
Unregister vsync event of a display. LV_EVENT_VSYNC event won’t be sent periodically. Please don’t use it in display event listeners, as it may cause memory leaks and illegal access issues. @param disp pointer to a display @param event_cb an event callback @param user_data optional user_data
lv_dpx
For default display, computes the number of pixels (a distance or size) as if the display had 160 DPI. This allows you to specify 1/160-th fractions of an inch to get real distance on the display that will be consistent regardless of its current DPI. It ensures lv_dpx(100), for example, will have the same physical size regardless to the DPI of the display. @param n number of 1/160-th-inch units to compute with @return number of pixels to use to make that distance
lv_draw_add_task
Add an empty draw task to the draw task list of a layer. @param layer pointer to a layer @param coords the coordinates of the draw task @return the created draw task which needs to be further configured e.g. by added a draw descriptor
lv_draw_arc
Create an arc draw task. @param layer pointer to a layer @param dsc pointer to an initialized draw descriptor variable
lv_draw_arc_dsc_init
Initialize an arc draw descriptor. @param dsc pointer to a draw descriptor
lv_draw_arc_get_area
Get an area the should be invalidated when the arcs angle changed between start_angle and end_ange @param x the x coordinate of the center of the arc @param y the y coordinate of the center of the arc @param radius the radius of the arc @param start_angle the start angle of the arc (0 deg on the bottom, 90 deg on the right) @param end_angle the end angle of the arc @param w width of the arc @param rounded true: the arc is rounded @param area store the area to invalidate here
lv_draw_blur
Create a blur draw task @param layer pointer to a layer @param dsc pointer to an initialized lv_draw_blur_dsc_t variable @param coords coordinates of the character
lv_draw_blur_dsc_init
Initialize a blur draw descriptor @param dsc pointer to a draw descriptor
lv_draw_border
Draw a border @param layer pointer to a layer @param dsc pointer to an initialized draw descriptor variable @param coords the coordinates of the rectangle
lv_draw_border_dsc_init
Initialize a border draw descriptor. @param dsc pointer to a draw descriptor
lv_draw_box_shadow
Draw a box shadow @param layer pointer to a layer @param dsc pointer to an initialized draw descriptor variable @param coords the coordinates of the rectangle
lv_draw_box_shadow_dsc_init
Initialize a box shadow draw descriptor. @param dsc pointer to a draw descriptor
lv_draw_buf_adjust_stride
Adjust the stride of a draw buf in place. @param src pointer to a draw buffer @param stride the new stride in bytes for image. Use LV_STRIDE_AUTO for automatic calculation. @return LV_RESULT_OK: success or LV_RESULT_INVALID: failed
lv_draw_buf_align
Align the address of a buffer. The buffer needs to be large enough for the real data after alignment @param buf the data to align @param color_format the color format of the buffer @return the aligned buffer
lv_draw_buf_align_ex
Align the address of a buffer with custom draw buffer handlers. The buffer needs to be large enough for the real data after alignment @param handlers the draw buffer handlers @param buf the data to align @param color_format the color format of the buffer @return the aligned buffer
lv_draw_buf_clear
Clear an area on the buffer @param draw_buf pointer to draw buffer @param a the area to clear, or NULL to clear the whole buffer
lv_draw_buf_copy
Copy an area from a buffer to another @param dest pointer to the destination draw buffer @param dest_area the area to copy from the destination buffer, if NULL, use the whole buffer @param src pointer to the source draw buffer @param src_area the area to copy from the destination buffer, if NULL, use the whole buffer @note dest_area and src_area should have the same width and height @note The default copy function required dest and src to have the same color format. Overwriting dest->handlers->buf_copy_cb can resolve this limitation.
lv_draw_buf_create
Note: Eventually, lv_draw_buf_malloc/free will be kept as private. For now, we use create to distinguish with malloc.
lv_draw_buf_create_ex
Note: Eventually, lv_draw_buf_malloc/free will be kept as private. For now, we use create to distinguish with malloc.
lv_draw_buf_destroy
Destroy a draw buf by freeing the actual buffer if it’s marked as LV_IMAGE_FLAGS_ALLOCATED in header. Then free the lv_draw_buf_t struct.
lv_draw_buf_dup
Duplicate a draw buf with same image size, stride and color format. Copy the image data too. @param draw_buf the draw buf to duplicate @return the duplicated draw buf on success, NULL if failed
lv_draw_buf_dup_ex
Duplicate a draw buf with same image size, stride and color format. Copy the image data too. @param handlers the draw buffer handlers @param draw_buf the draw buf to duplicate @return the duplicated draw buf on success, NULL if failed
lv_draw_buf_flush_cache
Flush the cache of the buffer @param draw_buf the draw buffer needs to be flushed @param area the area to flush in the buffer, use NULL to flush the whole draw buffer address range
lv_draw_buf_from_image
As of now, draw buf share same definition as lv_image_dsc_t. And is interchangeable with lv_image_dsc_t.
lv_draw_buf_get_font_handlers
lv_draw_buf_get_handlers
Get the struct which holds the callbacks for draw buf management. Custom callback can be set on the returned value @return pointer to the struct of handlers
lv_draw_buf_get_image_handlers
lv_draw_buf_goto_xy
Return pointer to the buffer at the given coordinates
lv_draw_buf_handlers_init
Initialize the draw buffer with given handlers.
lv_draw_buf_init
Initialize a draw buf with the given buffer and parameters. Clear draw buffer flag to zero. @param draw_buf the draw buf to initialize @param w the buffer width in pixels @param h the buffer height in pixels @param cf the color format @param stride the stride in bytes. Use 0 for automatic calculation @param data the buffer used for drawing. Unaligned data will be aligned internally @param data_size the size of the buffer in bytes @return return LV_RESULT_OK on success, LV_RESULT_INVALID otherwise
lv_draw_buf_init_handlers
Called internally to initialize the draw_buf_handlers in lv_global
lv_draw_buf_init_with_default_handlers
Initialize the draw buffer with the default handlers.
lv_draw_buf_invalidate_cache
Invalidate the cache of the buffer @param draw_buf the draw buffer needs to be invalidated @param area the area to invalidate in the buffer, use NULL to invalidate the whole draw buffer address range
lv_draw_buf_premultiply
Premultiply draw buffer color with alpha channel. If it’s already premultiplied, return directly. Only color formats with alpha channel will be processed.
lv_draw_buf_reshape
Keep using the existing memory, reshape the draw buffer to the given width and height. Return NULL if data_size is smaller than the required size. @param draw_buf pointer to a draw buffer @param cf the new color format, use 0 or LV_COLOR_FORMAT_UNKNOWN to keep using the original color format. @param w the new width in pixels @param h the new height in pixels @param stride the stride in bytes for image. Use 0 for automatic calculation.
lv_draw_buf_save_to_file
Save a draw buf to a file @param draw_buf pointer to a draw buffer @param path path to the file to save @return LV_RESULT_OK: success; LV_RESULT_INVALID: error
lv_draw_buf_set_palette
Set the palette color of an indexed image. Valid only for LV_COLOR_FORMAT_I1/2/4/8 @param draw_buf pointer to an image descriptor @param index the palette color to set:
lv_draw_buf_to_image
lv_draw_buf_width_to_stride
Calculate the stride in bytes based on a width and color format @param w the width in pixels @param color_format the color format @return the stride in bytes
lv_draw_buf_width_to_stride_ex
Calculate the stride in bytes based on a width and color format @param handlers the draw buffer handlers @param w the width in pixels @param color_format the color format @return the stride in bytes
lv_draw_character
Create a draw task to render a single character @param layer pointer to a layer @param dsc pointer to draw descriptor @param point position of the label @param unicode_letter the letter to draw
lv_draw_create_unit
Allocate a new draw unit with the given size and appends it to the list of draw units @param size the size to allocate. E.g. sizeof(my_draw_unit_t), where the first element of my_draw_unit_t is lv_draw_unit_t.
lv_draw_deinit
Deinitialize the drawing module
lv_draw_dispatch
Try dispatching draw tasks to draw units
lv_draw_dispatch_layer
Used internally to try dispatching draw tasks of a specific layer @param disp pointer to a display on which the dispatching was requested @param layer pointer to a layer @return at least one draw task is being rendered (maybe it was taken earlier)
lv_draw_dispatch_request
When a draw unit finished a draw task it needs to request dispatching to let LVGL assign a new draw task to it
lv_draw_dispatch_wait_for_request
Wait for a new dispatch request. It’s blocking if LV_USE_OS == 0 else it yields
lv_draw_fill
Fill an area @param layer pointer to a layer @param dsc pointer to an initialized draw descriptor variable @param coords the coordinates of the rectangle
lv_draw_fill_dsc_init
Initialize a fill draw descriptor. @param dsc pointer to a draw descriptor
lv_draw_finalize_task_creation
Needs to be called when a draw task is created and configured. It will send an event about the new draw task to the widget and assign it to a draw unit. @param layer pointer to a layer @param t pointer to a draw task
lv_draw_get_available_task
If there is only one draw unit check the first draw task if it’s available. If there are multiple draw units call lv_draw_get_next_available_task to find a task. @param layer the draw layer to search in @param t_prev continue searching from this task @param draw_unit_id check the task where preferred_draw_unit_id equals this value or LV_DRAW_UNIT_NONE @return an available draw task or NULL if there is not any
lv_draw_get_dependent_count
Tell how many draw task are waiting to be drawn on the area of t_check. It can be used to determine if a GPU shall combine many draw tasks into one or not. If a lot of tasks are waiting for the current ones it makes sense to draw them one-by-one to not block the dependent tasks’ rendering @param t_check the task whose dependent tasks shall be counted @return number of tasks depending on t_check
lv_draw_get_next_available_task
Find and available draw task @param layer the draw layer to search in @param t_prev continue searching from this task @param draw_unit_id check the task where preferred_draw_unit_id equals this value or LV_DRAW_UNIT_NONE @return an available draw task or NULL if there is not any
lv_draw_get_unit_count
Get the total number of draw units.
lv_draw_glyph_dsc_init
Initialize a glyph draw descriptor. Used internally. @param dsc pointer to a draw descriptor
lv_draw_image
Create an image draw task @param layer pointer to a layer @param dsc pointer to an initialized draw descriptor @param coords the coordinates of the image @note coords can be small than the real image area (if only a part of the image is rendered) or can be larger (in case of tiled images). .
lv_draw_image_dsc_init
Initialize an image draw descriptor. @param dsc pointer to a draw descriptor
lv_draw_image_normal_helper
Can be used by draw units to handle the decoding and prepare everything for the actual image rendering @param t pointer to a draw task @param draw_dsc the draw descriptor of the image @param coords the absolute coordinates of the image @param draw_core_cb a callback to perform the actual rendering @param decoder_args the args passed to image decoders, or NULL for defaults
lv_draw_image_tiled_helper
Can be used by draw units for TILED images to handle the decoding and prepare everything for the actual image rendering @param t pointer to a draw task @param draw_dsc the draw descriptor of the image @param coords the absolute coordinates of the image @param draw_core_cb a callback to perform the actual rendering @param decoder_args the args passed to image decoders, or NULL for defaults
lv_draw_init
Used internally to initialize the drawing module
lv_draw_label
Create a draw task to render a text @param layer pointer to a layer @param dsc pointer to draw descriptor @param coords coordinates of the character
lv_draw_label_dsc_init
Initialize a label draw descriptor @param dsc pointer to a draw descriptor
lv_draw_label_iterate_characters
Should be used during rendering the characters to get the position and other parameters of the characters @param t pointer to a draw task @param dsc pointer to draw descriptor @param coords coordinates of the label @param cb a callback to call to draw each glyphs one by one
lv_draw_layer
Create a draw task to blend a layer to another layer @param layer pointer to a layer @param dsc pointer to an initialized draw descriptor. src must be set to the layer to blend @param coords the coordinates of the layer. @note coords can be small than the total widget area from which the layer is created (if only a part of the widget was rendered to a layer)
lv_draw_layer_alloc_buf
Try to allocate a buffer for the layer. @param layer pointer to a layer @return pointer to the allocated aligned buffer or NULL on failure
lv_draw_layer_create
Create (allocate) a new layer on a parent layer @param parent_layer the parent layer to which the layer will be merged when it’s rendered @param color_format the color format of the layer @param area the areas of the layer (absolute coordinates) @return the new target_layer or NULL on error
lv_draw_layer_create_drop_shadow
lv_draw_layer_finish_drop_shadow
lv_draw_layer_go_to_xy
Got to a pixel at X and Y coordinate on a layer @param layer pointer to a layer @param x the target X coordinate @param y the target X coordinate @return buf offset to point to the given X and Y coordinate
lv_draw_layer_init
Initialize a layer which is allocated by the user @param layer pointer the layer to initialize (its lifetime needs to be managed by the user) @param parent_layer the parent layer to which the layer will be merged when it’s rendered @param color_format the color format of the layer @param area the areas of the layer (absolute coordinates) @return the new target_layer or NULL on error
lv_draw_letter
Draw a single letter @param layer pointer to a layer @param dsc pointer to draw descriptor @param point position of the label
lv_draw_letter_dsc_init
GLOBAL PROTOTYPES
lv_draw_line
Create a line draw task @param layer pointer to a layer @param dsc pointer to an initialized lv_draw_line_dsc_t variable
lv_draw_line_dsc_init
Initialize a line draw descriptor @param dsc pointer to a draw descriptor
lv_draw_line_iterate
A helper function to call a callback which draws a line between two points. This way it doesn’t matter if p1, p2 or points were used as it calls the callback as needed. @param t draw task @param dsc pointer to a draw descriptor @param draw_line_cb a callback that draws a line between dsc->p1 and dsc->p2
lv_draw_mask_rect
Create a draw task to mask a rectangle from the buffer @param layer pointer to a layer @param dsc pointer to a draw descriptor
lv_draw_mask_rect_dsc_init
Initialize a rectangle mask draw descriptor. @param dsc pointer to a draw descriptor
lv_draw_rect
The rectangle is a wrapper for fill, border, bg. image and box shadow. Internally fill, border, image and box shadow draw tasks will be created. @param layer pointer to a layer @param dsc pointer to an initialized draw descriptor variable @param coords the coordinates of the rectangle
lv_draw_rect_dsc_init
Initialize a rectangle draw descriptor. @param dsc pointer to a draw descriptor
lv_draw_sw_arc
Draw an arc with SW render. @param t pointer to a draw task @param dsc the draw descriptor @param coords the coordinates of the arc
lv_draw_sw_blend
Call the blend function of the layer. @param draw_unit pointer to a draw unit @param dsc pointer to an initialized blend descriptor
lv_draw_sw_blur
Blur an area with SW render @param t pointer to a draw task @param dsc the draw descriptor @param coords the area to blur
lv_draw_sw_border
Draw border with SW render. @param t pointer to a draw task @param dsc the draw descriptor @param coords the coordinates of the rectangle
lv_draw_sw_box_shadow
Draw box shadow with SW render. @param t pointer to a draw task @param dsc the draw descriptor @param coords the coordinates of the rectangle for which the box shadow should be drawn
lv_draw_sw_deinit
Deinitialize the SW renderers
lv_draw_sw_fill
Fill an area using SW render. Handle gradient and radius. @param t pointer to a draw task @param dsc the draw descriptor @param coords the coordinates of the rectangle
lv_draw_sw_get_blend_handler
Get the blend handler for a color format. @param dest_cf color format @return pointer to the blend handler or NULL if no handler is registered
lv_draw_sw_i1_convert_to_vtiled
Convert a draw buffer in I1 color format from htiled (row-wise) to vtiled (column-wise) buffer layout. The conversion assumes that the buffer width and height is rounded to a multiple of 8. @param buf pointer to the buffer to be converted @param buf_size size of the buffer in bytes @param width width of the buffer @param height height of the buffer @param out_buf pointer to the output buffer @param out_buf_size size of the output buffer in bytes @param bit_order_lsb bit order of the resulting vtiled buffer
lv_draw_sw_i1_invert
Invert a draw buffer in the I1 color format. Conventionally, a bit is set to 1 during blending if the luminance is greater than 127. Depending on the display controller used, you might want to have different behavior. The inversion will be performed in place. @param buf pointer to the buffer to be inverted @param buf_size size of the buffer in bytes
lv_draw_sw_i1_to_argb8888
Converts an I1 buffer to ARGB8888 format. @param buf_i1 pointer to buffer with I1 formatted render @param buf_argb8888 pointer to buffer for ARGB8888 render @param width width in pixels of the area. must be a multiple of 8. @param height height in pixels of the area @param buf_i1_stride stride of i1 buffer in bytes @param buf_argb8888_stride stride of argb8888 buffer in bytes @param index0_color color of the 0 bits of i1 buf @param index1_color color of the 1 bits of i1 buf
lv_draw_sw_image
Draw an image with SW render. It handles image decoding, tiling, transformations, and recoloring. @param t pointer to a draw task @param draw_dsc the draw descriptor @param coords the coordinates of the image
lv_draw_sw_init
Initialize the SW renderer. Called in internally. It creates as many SW renderers as defined in LV_DRAW_SW_DRAW_UNIT_CNT
lv_draw_sw_label
Draw a label with SW render. @param t pointer to a draw task @param dsc the draw descriptor @param coords the coordinates of the label
lv_draw_sw_layer
Blend a layer with SW render @param t pointer to a draw task @param draw_dsc the draw descriptor @param coords the coordinates of the layer
lv_draw_sw_letter
lv_draw_sw_line
Draw a line with SW render. @param t pointer to a draw task @param dsc the draw descriptor
lv_draw_sw_mask_angle_init
Initialize an angle mask. @param param pointer to a lv_draw_mask_param_t to initialize @param vertex_x X coordinate of the angle vertex (absolute coordinates) @param vertex_y Y coordinate of the angle vertex (absolute coordinates) @param start_angle start angle in degrees. 0 deg on the right, 90 deg, on the bottom @param end_angle end angle
lv_draw_sw_mask_apply
Apply the added buffers on a line. Used internally by the library’s drawing routines. @param masks the masks list to apply, must be ended with NULL pointer in array. @param mask_buf store the result mask here. Has to be len byte long. Should be initialized with 0xFF. @param abs_x absolute X coordinate where the line to calculate start @param abs_y absolute Y coordinate where the line to calculate start @param len length of the line to calculate (in pixel count) @return One of these values:
lv_draw_sw_mask_cleanup
Called by LVGL the rendering of a screen is ready to clean up the temporal (cache) data of the masks
lv_draw_sw_mask_deinit
lv_draw_sw_mask_fade_init
Initialize a fade mask. @param param pointer to a lv_draw_mask_param_t to initialize @param coords coordinates of the area to affect (absolute coordinates) @param opa_top opacity on the top @param y_top at which coordinate start to change to opacity to opa_bottom @param opa_bottom opacity at the bottom @param y_bottom at which coordinate reach opa_bottom.
lv_draw_sw_mask_free_param
Free the data from the parameter. It’s called inside lv_draw_sw_mask_remove_id and lv_draw_sw_mask_remove_custom Needs to be called only in special cases when the mask is not added by lv_draw_mask_add and not removed by lv_draw_mask_remove_id or lv_draw_mask_remove_custom @param p pointer to a mask parameter
lv_draw_sw_mask_init
GLOBAL PROTOTYPES
lv_draw_sw_mask_line_angle_init
Initialize a line mask from a point and an angle. @param param pointer to a lv_draw_mask_param_t to initialize @param px X coordinate of a point of the line @param py X coordinate of a point of the line @param angle right 0 deg, bottom: 90 @param side an element of lv_draw_mask_line_side_t to describe which side to keep. With LV_DRAW_MASK_LINE_SIDE_LEFT/RIGHT and horizontal line all pixels are kept With LV_DRAW_MASK_LINE_SIDE_TOP/BOTTOM and vertical line all pixels are kept
lv_draw_sw_mask_line_points_init
Initialize a line mask from two points. @param param pointer to a lv_draw_mask_param_t to initialize @param p1x X coordinate of the first point of the line @param p1y Y coordinate of the first point of the line @param p2x X coordinate of the second point of the line @param p2y y coordinate of the second point of the line @param side and element of lv_draw_mask_line_side_t to describe which side to keep. With LV_DRAW_MASK_LINE_SIDE_LEFT/RIGHT and horizontal line all pixels are kept With LV_DRAW_MASK_LINE_SIDE_TOP/BOTTOM and vertical line all pixels are kept
lv_draw_sw_mask_map_init
Initialize a map mask. @param param pointer to a lv_draw_mask_param_t to initialize @param coords coordinates of the map (absolute coordinates) @param map array of bytes with the mask values
lv_draw_sw_mask_radius_init
Initialize a fade mask. @param param pointer to an lv_draw_mask_radius_param_t to initialize @param rect coordinates of the rectangle to affect (absolute coordinates) @param radius radius of the rectangle @param inv true: keep the pixels inside the rectangle; keep the pixels outside of the rectangle
lv_draw_sw_mask_rect
Mask out a rectangle with radius from a current layer @param t pointer to a draw task @param dsc the draw descriptor @param coords the coordinates of the mask
lv_draw_sw_register_blend_handler
Register a custom blend handler for a color format. Handler will be called when blending a color or an image to a buffer with the given color format. At most one handler can be registered for a color format. Subsequent registrations will overwrite the previous handler.
lv_draw_sw_rgb565_swap
Swap the upper and lower byte of an RGB565 buffer. Might be required if a 8bit parallel port or an SPI port send the bytes in the wrong order. The bytes will be swapped in place. @param buf pointer to buffer @param buf_size_px number of pixels in the buffer
lv_draw_sw_rotate
Rotate a buffer into another buffer @param src the source buffer @param dest the destination buffer @param src_width source width in pixels @param src_height source height in pixels @param src_stride source stride in bytes (number of bytes in a row) @param dest_stride destination stride in bytes (number of bytes in a row) @param rotation LV_DISPLAY_ROTATION_0/90/180/270 @param color_format LV_COLOR_FORMAT_RGB565/RGB888/XRGB8888/ARGB8888
lv_draw_sw_transform
Used internally to get a transformed are of an image @param dest_area area to calculate, i.e. get this area from the transformed image @param src_buf source buffer @param src_w source buffer width in pixels @param src_h source buffer height in pixels @param src_stride source buffer stride in bytes @param draw_dsc draw descriptor @param sup supplementary data @param cf color format of the source buffer @param dest_buf the destination buffer
lv_draw_sw_triangle
Draw a triangle with SW render. @param t pointer to a draw task @param dsc the draw descriptor
lv_draw_sw_unregister_blend_handler
Unregister a custom blend handler for a color format. @param dest_cf color format @return true if a handler was unregistered, false if no handler was registered
lv_draw_task_get_arc_dsc
Try to get an arc draw descriptor from a draw task. @param task draw task @return the task’s draw descriptor or NULL if the task is not of type LV_DRAW_TASK_TYPE_ARC
lv_draw_task_get_area
Get the draw area of a draw task @param t the draw task to get the draw area of @param area the destination where the draw area will be stored
lv_draw_task_get_blur_dsc
Try to get a blur draw descriptor from a draw task. @param task draw task @return the task’s draw descriptor or NULL if the task is not of type LV_DRAW_TASK_TYPE_BLUR
lv_draw_task_get_border_dsc
Try to get a border draw descriptor from a draw task. @param task draw task @return the task’s draw descriptor or NULL if the task is not of type LV_DRAW_TASK_TYPE_BORDER
lv_draw_task_get_box_shadow_dsc
Try to get a box shadow draw descriptor from a draw task. @param task draw task @return the task’s draw descriptor or NULL if the task is not of type LV_DRAW_TASK_TYPE_BOX_SHADOW
lv_draw_task_get_draw_dsc
Get the draw descriptor of a draw task @param t the draw task to get the draw descriptor of @return a void pointer to the draw descriptor
lv_draw_task_get_fill_dsc
Try to get a fill draw descriptor from a draw task. @param task draw task @return the task’s draw descriptor or NULL if the task is not of type LV_DRAW_TASK_TYPE_FILL
lv_draw_task_get_image_dsc
Try to get an image draw descriptor from a draw task. @param task draw task @return the task’s draw descriptor or NULL if the task is not of type LV_DRAW_TASK_TYPE_IMAGE
lv_draw_task_get_label_dsc
Try to get a label draw descriptor from a draw task. @param task draw task @return the task’s draw descriptor or NULL if the task is not of type LV_DRAW_TASK_TYPE_LABEL
lv_draw_task_get_line_dsc
Try to get a line draw descriptor from a draw task. @param task draw task @return the task’s draw descriptor or NULL if the task is not of type LV_DRAW_TASK_TYPE_LINE
lv_draw_task_get_mask_rect_dsc
Try to get a rectangle mask draw descriptor from a draw task. @param task draw task @return the task’s draw descriptor or NULL if the task is not of type LV_DRAW_TASK_TYPE_MASK_RECTANGLE
lv_draw_task_get_triangle_dsc
Try to get a triangle draw descriptor from a draw task. @param task draw task @return the task’s draw descriptor or NULL if the task is not of type LV_DRAW_TASK_TYPE_TRIANGLE
lv_draw_task_get_type
Get the type of a draw task @param t the draw task to get the type of @return the draw task type
lv_draw_triangle
Create a triangle draw task @param layer pointer to a layer @param draw_dsc pointer to an initialized lv_draw_triangle_dsc_t object
lv_draw_triangle_dsc_init
Initialize a triangle draw descriptor @param draw_dsc pointer to a draw descriptor
lv_draw_unit_draw_letter
@brief Draw a single letter using the provided draw unit, glyph descriptor, position, font, and callback.
lv_draw_unit_send_event
Send an event to the draw units @param name the name of the draw unit to send the event to @param code the event code @param param the event parameter
lv_draw_wait_for_finish
Wait for draw finish in case of asynchronous task execution. If LV_USE_OS == 0 it just return.
lv_dropdown_add_option
Add an options to a drop-down list from a string. Only works for non-static options. @param obj pointer to drop-down list object @param option a string without ‘\n’. E.g. “Four” @param pos the insert position, indexed from 0, LV_DROPDOWN_POS_LAST = end of string
lv_dropdown_bind_value
Bind an integer Subject to a Dropdown’s value. @param obj pointer to Dropdown @param subject pointer to Subject @return pointer to newly-created Observer
lv_dropdown_clear_options
Clear all options in a drop-down list. Works with both static and dynamic options. @param obj pointer to drop-down list object
lv_dropdown_close
Close (Collapse) the drop-down list @param obj pointer to drop-down list object
lv_dropdown_create
Create a drop-down list object @param parent pointer to an object, it will be the parent of the new drop-down list @return pointer to the created drop-down list
lv_dropdown_get_dir
Get the direction of the drop-down list @param obj pointer to a drop-down list object @return LV_DIR_LEF/RIGHT/TOP/BOTTOM
lv_dropdown_get_list
Get the list of a drop-down to allow styling or other modifications @param obj pointer to a drop-down list object @return pointer to the list of the drop-down
lv_dropdown_get_option_count
Get the total number of options @param obj pointer to drop-down list object @return the total number of options in the list
lv_dropdown_get_option_index
Get the index of an option. @param obj pointer to drop-down object @param option an option as string @return index of option in the list of all options. -1 if not found.
lv_dropdown_get_options
Get the options of a drop-down list @param obj pointer to drop-down list object @return the options separated by ‘\n’-s (E.g. “Option1\nOption2\nOption3”)
lv_dropdown_get_selected
Get the index of the selected option @param obj pointer to drop-down list object @return index of the selected option (0 … number of option - 1);
lv_dropdown_get_selected_highlight
Get whether the selected option in the list should be highlighted or not @param obj pointer to drop-down list object @return true: highlight enabled; false: disabled
lv_dropdown_get_selected_str
Get the current selected option as a string @param obj pointer to drop-down object @param buf pointer to an array to store the string @param buf_size size of buf in bytes. 0: to ignore it.
lv_dropdown_get_symbol
Get the symbol on the drop-down list. Typically a down caret or arrow. @param obj pointer to drop-down list object @return the symbol or NULL if not enabled
lv_dropdown_get_text
Get text of the drop-down list’s button. @param obj pointer to a drop-down list object @return the text as string, NULL if no text
lv_dropdown_is_open
Tells whether the list is opened or not @param obj pointer to a drop-down list object @return true if the list os opened
lv_dropdown_open
Open the drop.down list @param dropdown_obj pointer to drop-down list object
lv_dropdown_set_dir
Set the direction of the a drop-down list @param obj pointer to a drop-down list object @param dir LV_DIR_LEFT/RIGHT/TOP/BOTTOM
lv_dropdown_set_options
Set the options in a drop-down list from a string. The options will be copied and saved in the object so the options can be destroyed after calling this function @param obj pointer to drop-down list object @param options a string with ‘\n’ separated options. E.g. “One\nTwo\nThree”
lv_dropdown_set_options_static
Set the options in a drop-down list from a static string (global, static or dynamically allocated). Only the pointer of the option string will be saved. @param obj pointer to drop-down list object @param options a static string with ‘\n’ separated options. E.g. “One\nTwo\nThree”
lv_dropdown_set_selected
Set the selected option @param obj pointer to drop-down list object @param sel_opt id of the selected option (0 … number of option - 1);
lv_dropdown_set_selected_highlight
Set whether the selected option in the list should be highlighted or not @param obj pointer to drop-down list object @param en true: highlight enabled; false: disabled
lv_dropdown_set_symbol
Set an arrow or other symbol to display when on drop-down list’s button. Typically a down caret or arrow. @param obj pointer to drop-down list object @param symbol a text like LV_SYMBOL_DOWN, an image (pointer or path) or NULL to not draw symbol icon @note angle and zoom transformation can be applied if the symbol is an image. E.g. when drop down is checked (opened) rotate the symbol by 180 degree
lv_dropdown_set_text
Set text of the drop-down list’s button. If set to NULL the selected option’s text will be displayed on the button. If set to a specific text then that text will be shown regardless of the selected option. @param obj pointer to a drop-down list object @param text the text as a string (Copy is saved)
lv_dropdown_set_text_static
Set text of the drop-down list’s button. If set to NULL the selected option’s text will be displayed on the button. If set to a specific text then that text will be shown regardless of the selected option. @param obj pointer to a drop-down list object @param text the text as a string (Only its pointer is saved)
lv_event_add
lv_event_code_get_name
Get the name of an event code. @param code the event code @return the name of the event code as a string
lv_event_dsc_get_cb
lv_event_dsc_get_user_data
lv_event_free_user_data_cb
Helper function typically used in LV_EVENT_DELETE to free the event’s user_data @param e pointer to an event descriptor
lv_event_get_code
Get event code of an event. @param e pointer to the event descriptor @return the event code. (E.g. LV_EVENT_CLICKED, LV_EVENT_FOCUSED, etc)
lv_event_get_count
lv_event_get_cover_area
Get a pointer to an area which should be examined whether the object fully covers it or not. Can be used in LV_EVENT_HIT_TEST @param e pointer to an event @return an area with absolute coordinates to check
lv_event_get_current_target
Get current target of the event. It’s the Widget for which the event handler being called. If the event is not bubbled it’s the same as “normal” target. @param e pointer to the event descriptor @return pointer to the current target of the event_code
lv_event_get_current_target_obj
Get the current target of the event. It’s the object which event handler being called. If the event is not bubbled it’s the same as “original” target. @param e pointer to the event descriptor @return the target of the event_code
lv_event_get_draw_task
Get the draw task which was just added. Can be used in LV_EVENT_DRAW_TASK_ADDED event @param e pointer to an event @return the added draw task
lv_event_get_dsc
lv_event_get_hit_test_info
Get a pointer to an lv_hit_test_info_t variable in which the hit test result should be saved. Can be used in LV_EVENT_HIT_TEST @param e pointer to an event @return pointer to lv_hit_test_info_t or NULL if called on an unrelated event
lv_event_get_indev
Get the input device passed as parameter to indev related events. @param e pointer to an event @return the indev that triggered the event or NULL if called on a not indev related event
lv_event_get_invalidated_area
Get the area to be invalidated. Can be used in LV_EVENT_INVALIDATE_AREA @param e pointer to an event @return the area to invalidated (can be modified as required)
lv_event_get_key
Get the key passed as parameter to an event. Can be used in LV_EVENT_KEY @param e pointer to an event @return the triggering key or NULL if called on an unrelated event
lv_event_get_layer
Get the draw context which should be the first parameter of the draw functions. Namely: LV_EVENT_DRAW_MAIN/POST, LV_EVENT_DRAW_MAIN/POST_BEGIN, LV_EVENT_DRAW_MAIN/POST_END @param e pointer to an event @return pointer to a draw context or NULL if called on an unrelated event
lv_event_get_old_size
Get the old area of the object before its size was changed. Can be used in LV_EVENT_SIZE_CHANGED @param e pointer to an event @return the old absolute area of the object or NULL if called on an unrelated event
lv_event_get_param
Get parameter passed when event was sent. @param e pointer to the event descriptor @return pointer to the parameter
lv_event_get_prev_state
Get the previous state before the state change. Can be used in LV_EVENT_STATE_CHANGED event @param e pointer to an event @return the previous state
lv_event_get_rotary_diff
Get the signed rotary encoder diff. passed as parameter to an event. Can be used in LV_EVENT_ROTARY @param e pointer to an event @return the triggering key or NULL if called on an unrelated event
lv_event_get_scroll_anim
Get the animation descriptor of a scrolling. Can be used in LV_EVENT_SCROLL_BEGIN @param e pointer to an event @return the animation that will scroll the object. (can be modified as required)
lv_event_get_self_size_info
Get a pointer to an lv_point_t variable in which the self size should be saved (width in point->x and height point->y). Can be used in LV_EVENT_GET_SELF_SIZE @param e pointer to an event @return pointer to lv_point_t or NULL if called on an unrelated event
lv_event_get_target
Get Widget originally targeted by the event. It’s the same even if event was bubbled. @param e pointer to the event descriptor @return the target of the event_code
lv_event_get_target_obj
Get the object originally targeted by the event. It’s the same even if the event is bubbled. @param e pointer to the event descriptor @return pointer to the original target of the event_code
lv_event_get_user_data
Get user_data passed when event was registered on Widget. @param e pointer to the event descriptor @return pointer to the user_data
lv_event_mark_deleted
Nested events can be called and one of them might belong to an object that is being deleted. Mark this object’s event_temp_data deleted to know that its lv_obj_send_event should return LV_RESULT_INVALID @param target pointer to an event target which was deleted
lv_event_pop
lv_event_push
GLOBAL PROTOTYPES
lv_event_push_and_send
lv_event_register_id
Register a new, custom event ID. It can be used the same way as e.g. LV_EVENT_CLICKED to send custom events @return the new event id
lv_event_remove
lv_event_remove_all
lv_event_remove_dsc
lv_event_send
@brief Event callback. Events are used to notify the user of some action being taken on Widget. For details, see ::lv_event_t.
lv_event_set_cover_res
Set the result of cover checking. Can be used in LV_EVENT_COVER_CHECK @param e pointer to an event @param res an element of ::lv_cover_check_info_t
lv_event_set_ext_draw_size
Set the new extra draw size. Can be used in LV_EVENT_REFR_EXT_DRAW_SIZE @param e pointer to an event @param size The new extra draw size
lv_event_stop_bubbling
Stop event from bubbling. This is only valid when called in the middle of an event processing chain. @param e pointer to the event descriptor
lv_event_stop_processing
Stop processing this event. This is only valid when called in the middle of an event processing chain. @param e pointer to the event descriptor
lv_event_stop_trickling
Stop event from trickling down to children. This is only valid when called in the middle of an event processing chain. @param e pointer to the event descriptor
lv_flex_init
Initialize a flex layout to default values
lv_font_get_bitmap_fmt_txt
Used as get_glyph_bitmap callback in lvgl’s native font format if the font is uncompressed. @param g_dsc the glyph descriptor including which font to use, which supply the glyph_index and format. @param draw_buf a draw buffer that can be used to store the bitmap of the glyph, it’s OK not to use it. @return pointer to an A8 bitmap (not necessarily bitmap_out) or NULL if unicode_letter not found
lv_font_get_default
Get the default font, defined by LV_FONT_DEFAULT @return return pointer to the default font
lv_font_get_glyph_bitmap
Return with the bitmap of a font. It always converts the normal fonts to A8 format in a draw_buf with LV_DRAW_BUF_ALIGN and LV_DRAW_BUF_STRIDE_ALIGN @note You must call lv_font_get_glyph_dsc() to get g_dsc (lv_font_glyph_dsc_t) before you can call this function. @param g_dsc the glyph descriptor including which font to use, which supply the glyph_index and the format. @param draw_buf a draw buffer that can be used to store the bitmap of the glyph. @return pointer to the glyph’s data. It can be a draw buffer for bitmap fonts or an image source for imgfonts.
lv_font_get_glyph_dsc
Get the descriptor of a glyph @param font pointer to font @param dsc_out store the result descriptor here @param letter a UNICODE letter code @param letter_next the next letter after letter. Used for kerning @return true: descriptor is successfully loaded into dsc_out. false: the letter was not found, no data is loaded to dsc_out
lv_font_get_glyph_dsc_fmt_txt
Used as get_glyph_dsc callback in lvgl’s native font format if the font is uncompressed. @param font pointer to font @param dsc_out store the result descriptor here @param unicode_letter a UNICODE letter code @param unicode_letter_next the unicode letter succeeding the letter under test @return true: descriptor is successfully loaded into dsc_out. false: the letter was not found, no data is loaded to dsc_out
lv_font_get_glyph_static_bitmap
Return the bitmap as it is. It works only if the font stores the bitmap in a non-volitile memory. @param g_dsc the glyph descriptor including which font to use, which supply the glyph_index and the format. @return the bitmap as it is
lv_font_get_glyph_width
Get the width of a glyph with kerning @param font pointer to a font @param letter a UNICODE letter @param letter_next the next letter after letter. Used for kerning @return the width of the glyph
lv_font_get_line_height
Get the line height of a font. All characters fit into this height @param font pointer to a font @return the height of a font
lv_font_glyph_release_draw_data
Release the bitmap of a font. @note You must call lv_font_get_glyph_dsc() to get g_dsc (lv_font_glyph_dsc_t) before you can call this function. @param g_dsc the glyph descriptor including which font to use, which supply the glyph_index and the format.
lv_font_has_static_bitmap
Checks if a font has a static rendering bitmap. @param font pointer to a font @return return true if the font has a bitmap generated for static rendering.
lv_font_info_is_equal
Compare font information. @param ft_info_1 font information 1. @param ft_info_2 font information 2. @return return true if the fonts are equal.
lv_font_set_kerning
Configure the use of kerning information stored in a font @param font pointer to a font @param kerning LV_FONT_KERNING_NORMAL (default) or LV_FONT_KERNING_NONE
lv_free
Free an allocated data @param data pointer to an allocated memory
lv_free_core
Used internally to execute a plain free operation @param p memory address to free
lv_fs_close
Close an already opened file @param file_p pointer to a lv_fs_file_t variable @return LV_FS_RES_OK or any error from lv_fs_res_t enum
lv_fs_deinit
Deinitialize the File system interface
lv_fs_dir_close
Close the directory reading @param rddir_p pointer to an initialized ‘fs_dir_t’ variable @return LV_FS_RES_OK or any error from lv_fs_res_t enum
lv_fs_dir_open
Initialize a ‘fs_dir_t’ variable for directory reading @param rddir_p pointer to a ‘lv_fs_dir_t’ variable @param path path to a directory @return LV_FS_RES_OK or any error from lv_fs_res_t enum
lv_fs_dir_read
Read the next filename form a directory. The name of the directories will begin with ‘/’ @param rddir_p pointer to an initialized ‘fs_dir_t’ variable @param fn pointer to a buffer to store the filename @param fn_len length of the buffer to store the filename @return LV_FS_RES_OK or any error from lv_fs_res_t enum
lv_fs_drv_init
Initialize a file system driver with default values. It is used to ensure all fields have known values and not memory junk. After it you can set the fields. @param drv pointer to driver variable to initialize
lv_fs_drv_register
Add a new drive @param drv pointer to an lv_fs_drv_t structure which is inited with the corresponding function pointers. Only pointer is saved, so the driver should be static or dynamically allocated.
lv_fs_get_buffer_from_path
Get the buffer address and size from a path object @param path pointer to an initialized lv_fs_path_ex data @param buffer pointer to a void * variable to store the address @param size pointer to an uint32_t data to store the size @return LV_RESULT_OK: buffer and size are set; LV_RESULT_INVALID: an error happened.
lv_fs_get_drv
Give a pointer to a driver from its letter @param letter the driver-identifier letter @return pointer to a driver or NULL if not found
lv_fs_get_ext
Return with the extension of the filename @param fn string with a filename @return pointer to the beginning extension or empty string if no extension
lv_fs_get_last
Get the last element of a path (e.g. U:/folder/file -> file) @param path pointer to a file name @return pointer to the beginning of the last element in the path
lv_fs_get_letters
Fill a buffer with the letters of existing drivers @param buf buffer to store the letters (‘\0’ added after the last letter) @return the buffer
lv_fs_get_size
Get the size in bytes of an open file. The file read/write position will not be affected. @param file_p pointer to a lv_fs_file_t variable @param size_res pointer to store the file size @return LV_FS_RES_OK or any error from lv_fs_res_t
lv_fs_init
Initialize the File system interface
lv_fs_is_ready
Test if a drive is ready or not. If the ready function was not initialized true will be returned. @param letter letter of the drive @return true: drive is ready; false: drive is not ready
lv_fs_load_to_buf
Read the contents of a file at the given path into a buffer. @param buf a buffer to read the contents of the file into @param buf_size the size of the buffer and the amount to read from the file @param path the path of the file @return LV_FS_RES_OK on success, LV_FS_RES_UNKNOWN if fewer than buf_size bytes could be read from the file, or any error from lv_fs_res_t
lv_fs_load_with_alloc
Load a file into a memory buffer. @param filename the path of the file @param size pointer to store the size of the loaded file @return a pointer to the loaded file buffer, or NULL if an error occurred
lv_fs_make_path_from_buffer
Create a special object from buffer/ memory address which looks like a file and can be passed as path to lv_fs_open and other functions accepting a path.
lv_fs_open
Open a file @param file_p pointer to a lv_fs_file_t variable @param path path to the file beginning with the driver letter (e.g. S:/folder/file.txt) @param mode read: FS_MODE_RD, write: FS_MODE_WR, both: FS_MODE_RD | FS_MODE_WR @return LV_FS_RES_OK or any error from lv_fs_res_t enum
lv_fs_path_get_size
Get the size in bytes of a file at the given path. @param path the path of the file @param size_res pointer to store the file size @return LV_FS_RES_OK or any error from lv_fs_res_t
lv_fs_path_join
Concatenate two path components and automatically add/remove a separator as needed. buf, buf_sz, and the return value are analogous to lv_snprintf @param buf the buffer to place the result in @param buf_sz the size of buf. At most buf_sz - 1 characters will be written to buf, and a null terminator @param base the first path component @param end the second path component @return the number of characters (not including the null terminator) that would be written to buf, even if buf_sz-1 was smaller
lv_fs_read
Read from a file @param file_p pointer to a lv_fs_file_t variable @param buf pointer to a buffer where the read bytes are stored @param btr Bytes To Read @param br the number of real read bytes (Bytes Read). NULL if unused. @return LV_FS_RES_OK or any error from lv_fs_res_t enum
lv_fs_remove_drive
Remove a drive and call its remove function if available @param letter letter identifier of the drive to remove
lv_fs_seek
Set the position of the ‘cursor’ (read write pointer) in a file @param file_p pointer to a lv_fs_file_t variable @param pos the new position expressed in bytes index (0: start of file) @param whence tells from where to set position. See lv_fs_whence_t @return LV_FS_RES_OK or any error from lv_fs_res_t enum
lv_fs_stdio_init
lv_fs_tell
Give the position of the read write pointer @param file_p pointer to a lv_fs_file_t variable @param pos pointer to store the position of the read write pointer @return LV_FS_RES_OK or any error from ‘fs_res_t’
lv_fs_up
Step up one level @param path pointer to a file name @return the truncated file name
lv_fs_write
Write into a file @param file_p pointer to a lv_fs_file_t variable @param buf pointer to a buffer with the bytes to write @param btw Bytes To Write @param bw the number of real written bytes (Bytes Written). NULL if unused. @return LV_FS_RES_OK or any error from lv_fs_res_t enum
lv_grad_conical_init
Helper function to initialize conical gradient @param dsc gradient descriptor @param center_x center x position: can be a coordinate or an lv_pct() value predefined constants LV_GRAD_LEFT, LV_GRAD_RIGHT, LV_GRAD_TOP, LV_GRAD_BOTTOM, LV_GRAD_CENTER can be used as well @param center_y center y position @param start_angle start angle in degrees @param end_angle end angle in degrees @param extend one of LV_GRAD_EXTEND_PAD, LV_GRAD_EXTEND_REPEAT or LV_GRAD_EXTEND_REFLECT
lv_grad_horizontal_init
Helper function to initialize a horizontal gradient. @param dsc gradient descriptor
lv_grad_init_stops
Initialize gradient color map from a table @param grad pointer to a gradient descriptor @param colors color array @param fracs position array (0..255): if NULL, then colors are distributed evenly @param opa opacity array: if NULL, then LV_OPA_COVER is assumed @param num_stops number of gradient stops (1..LV_GRADIENT_MAX_STOPS)
lv_grad_linear_init
Helper function to initialize linear gradient @param dsc gradient descriptor @param from_x start x position: can be a coordinate or an lv_pct() value predefined constants LV_GRAD_LEFT, LV_GRAD_RIGHT, LV_GRAD_TOP, LV_GRAD_BOTTOM, LV_GRAD_CENTER can be used as well @param from_y start y position @param to_x end x position @param to_y end y position @param extend one of LV_GRAD_EXTEND_PAD, LV_GRAD_EXTEND_REPEAT or LV_GRAD_EXTEND_REFLECT
lv_grad_radial_init
Helper function to initialize radial gradient @param dsc gradient descriptor @param center_x center x position: can be a coordinate or an lv_pct() value predefined constants LV_GRAD_LEFT, LV_GRAD_RIGHT, LV_GRAD_TOP, LV_GRAD_BOTTOM, LV_GRAD_CENTER can be used as well @param center_y center y position @param to_x point on the end circle x position @param to_y point on the end circle y position @param extend one of LV_GRAD_EXTEND_PAD, LV_GRAD_EXTEND_REPEAT or LV_GRAD_EXTEND_REFLECT
lv_grad_radial_set_focal
Set focal (starting) circle of a radial gradient @param dsc gradient descriptor @param center_x center x position: can be a coordinate or an lv_pct() value predefined constants LV_GRAD_LEFT, LV_GRAD_RIGHT, LV_GRAD_TOP, LV_GRAD_BOTTOM, LV_GRAD_CENTER can be used as well @param center_y center y position @param radius radius of the starting circle (NOTE: this must be a scalar number, not percentage)
lv_grad_vertical_init
Helper function to initialize a vertical gradient. @param dsc gradient descriptor
lv_grid_fr
Just a wrapper to LV_GRID_FR for bindings.
lv_grid_init
GLOBAL PROTOTYPES
lv_group_add_obj
Add an Widget to group. @param group pointer to a group @param obj pointer to a Widget to add
lv_group_by_index
Get a group by its index. @param index index of the group @return pointer to the group
lv_group_create
Create new Widget group. @return pointer to the new Widget group
lv_group_deinit
Deinit the group module @remarks Internal function, do not call directly.
lv_group_delete
Delete group object. @param group pointer to a group
lv_group_focus_freeze
Do not allow changing focus from current Widget. @param group pointer to a group @param en true: freeze, false: release freezing (normal mode)
lv_group_focus_next
Focus on next Widget in a group (defocus the current). @param group pointer to a group
lv_group_focus_obj
Focus on a Widget (defocus the current). @param obj pointer to Widget to focus on
lv_group_focus_prev
Focus on previous Widget in a group (defocus the current). @param group pointer to a group
lv_group_get_count
Get the number of groups. @return number of groups
lv_group_get_default
Get default group. @return pointer to the default group
lv_group_get_edge_cb
Get edge callback function of a group. @param group pointer to a group @return the call back function or NULL if not set
lv_group_get_editing
Get current mode (edit or navigate). @param group pointer to group @return true: edit mode; false: navigate mode
lv_group_get_focus_cb
Get focus callback function of a group. @param group pointer to a group @return the call back function or NULL if not set
lv_group_get_focused
Get Widget that has focus, or NULL if there isn’t one. @param group pointer to a group @return pointer to Widget with focus
lv_group_get_obj_by_index
Get nth Widget within group. @param group pointer to a group @param index index of Widget within the group @return pointer to Widget
lv_group_get_obj_count
Get number of Widgets in group. @param group pointer to a group @return number of Widgets in the group
lv_group_get_user_data
Get a pointer to the user data of the group @param indev pointer to a group @return pointer to the user data or NULL if group is NULL
lv_group_get_wrap
Get whether moving focus to next/previous Widget will allow wrapping from first->last or last->first Widget. @param group pointer to group
lv_group_init
Init the group module @remarks Internal function, do not call directly.
lv_group_remove_all_objs
Remove all Widgets from a group. @param group pointer to a group
lv_group_remove_obj
Remove a Widget from its group. @param obj pointer to Widget to remove
lv_group_send_data
Send a control character to Widget that has focus in a group. @param group pointer to a group @param c a character (use LV_KEY_.. to navigate) @return result of Widget with focus in group.
lv_group_set_default
Set default group. New Widgets will be added to this group if it’s enabled in their class with add_to_def_group = true. @param group pointer to a group (can be NULL)
lv_group_set_edge_cb
Set a function for a group which will be called when a focus edge is reached @param group pointer to a group @param edge_cb the call back function or NULL if unused
lv_group_set_editing
Manually set the current mode (edit or navigate). @param group pointer to group @param edit true: edit mode; false: navigate mode
lv_group_set_focus_cb
Set a function for a group which will be called when a new Widget has focus. @param group pointer to a group @param focus_cb the call back function or NULL if unused
lv_group_set_refocus_policy
Set whether the next or previous Widget in a group gets focus when Widget that has focus is deleted. @param group pointer to a group @param policy new refocus policy enum
lv_group_set_user_data
Set user data to the group @param group pointer to a group @param user_data pointer to user data
lv_group_set_wrap
Set whether moving focus to next/previous Widget will allow wrapping from first->last or last->first Widget. @param group pointer to group @param en true: wrapping enabled; false: wrapping disabled
lv_group_swap_obj
Swap 2 Widgets in group. Widgets must be in the same group. @param obj1 pointer to a Widget @param obj2 pointer to another Widget
lv_image_bind_src
Bind a pointer Subject to an Image’s source. @param obj pointer to Image @param subject pointer to Subject @return pointer to newly-created Observer
lv_image_buf_free
@deprecated Use lv_draw_buffer_create/destroy instead. Free the data pointer and dsc struct of an image.
lv_image_buf_get_transformed_area
Get the area of a rectangle if its rotated and scaled @param res store the coordinates here @param w width of the rectangle to transform @param h height of the rectangle to transform @param angle angle of rotation @param scale_x zoom in x direction, (256 no zoom) @param scale_y zoom in y direction, (256 no zoom) @param pivot x,y pivot coordinates of rotation
lv_image_buf_set_palette
@deprecated Use lv_draw_buf_set_palette instead.
lv_image_cache_drop
Invalidate image cache. Use NULL to invalidate all images. @param src pointer to an image source.
lv_image_cache_dump
Dump the content of the image cache in a human-readable format with cache order.
lv_image_cache_init
Initialize image cache. @param size size of the cache in bytes. @return LV_RESULT_OK: initialization succeeded, LV_RESULT_INVALID: failed.
lv_image_cache_is_enabled
Return true if the image cache is enabled. @return true: enabled, false: disabled.
lv_image_cache_iter_create
Create an iterator to iterate over the image cache. @return an iterator to iterate over the image cache.
lv_image_cache_resize
Resize image cache. If set to 0, the cache will be disabled. @param new_size new size of the cache in bytes. @param evict_now true: evict the images should be removed by the eviction policy, false: wait for the next cache cleanup.
lv_image_create
Create an image object @param parent pointer to an object, it will be the parent of the new image @return pointer to the created image
lv_image_decoder_add_to_cache
lv_image_decoder_close
Close a decoding session @param dsc pointer to lv_image_decoder_dsc_t used in lv_image_decoder_open
lv_image_decoder_create
Create a new image decoder @return pointer to the new image decoder
lv_image_decoder_deinit
Deinitialize the image decoder module
lv_image_decoder_delete
Delete an image decoder @param decoder pointer to an image decoder
lv_image_decoder_get_area
Decode full_area pixels incrementally by calling in a loop. Set decoded_area to LV_COORD_MIN on first call. @param dsc image decoder descriptor @param full_area input parameter. the full area to decode after enough subsequent calls @param decoded_area input+output parameter. set the values to LV_COORD_MIN for the first call and to reset decoding. the decoded area is stored here after each call. @return LV_RESULT_OK: success; LV_RESULT_INVALID: an error occurred or there is nothing left to decode
lv_image_decoder_get_info
Get information about an image. Try the created image decoder one by one. Once one is able to get info that info will be used. @param src the image source. Can be
lv_image_decoder_get_next
Get the next image decoder in the linked list of image decoders @param decoder pointer to an image decoder or NULL to get the first one @return the next image decoder or NULL if no more image decoder exists
lv_image_decoder_init
Initialize the image decoder module @param image_cache_size Image cache size in bytes. 0 to disable cache. @param image_header_count Number of header cache entries. 0 to disable header cache.
lv_image_decoder_open
Open an image. Try the created image decoders one by one. Once one is able to open the image that decoder is saved in dsc @param dsc describes a decoding session. Simply a pointer to an lv_image_decoder_dsc_t variable. @param src the image source. Can be 1) File name: E.g. “S:folder/img1.png” (The drivers needs to registered via lv_fs_drv_register())) 2) Variable: Pointer to an lv_image_dsc_t variable 3) Symbol: E.g. LV_SYMBOL_OK @param args args about how the image should be opened. @return LV_RESULT_OK: opened the image. dsc->decoded and dsc->header are set. LV_RESULT_INVALID: none of the registered image decoders were able to open the image.
lv_image_decoder_post_process
Check the decoded image, make any modification if decoder args requires. @note A new draw buf will be allocated if provided decoded is not modifiable or stride mismatch etc. @param dsc pointer to a decoder descriptor @param decoded pointer to a decoded image to post process to meet dsc->args requirement. @return post processed draw buffer, when it differs with decoded, it’s newly allocated.
lv_image_decoder_set_close_cb
Set a callback to close a decoding session. E.g. close files and free other resources. @param decoder pointer to an image decoder @param close_cb a function to close a decoding session
lv_image_decoder_set_get_area_cb
Set a callback to a decoded line of an image @param decoder pointer to an image decoder @param read_line_cb a function to read a line of an image
lv_image_decoder_set_info_cb
Set a callback to get information about the image @param decoder pointer to an image decoder @param info_cb a function to collect info about an image (fill an lv_image_header_t struct)
lv_image_decoder_set_open_cb
Set a callback to open an image @param decoder pointer to an image decoder @param open_cb a function to open an image
lv_image_get_antialias
Get whether the transformations (rotate, zoom) are anti-aliased or not @param obj pointer to an image object @return true: anti-aliased; false: not anti-aliased
lv_image_get_bitmap_map_src
Get the bitmap mask source. @param obj pointer to an image object @return an lv_image_dsc_t bitmap mask source.
lv_image_get_blend_mode
Get the current blend mode of the image @param obj pointer to an image object @return the current blend mode
lv_image_get_inner_align
Get the size mode of the image @param obj pointer to an image object @return element of lv_image_align_t
lv_image_get_offset_x
Get the offset’s x attribute of the image object. @param obj pointer to an image @return offset X value.
lv_image_get_offset_y
Get the offset’s y attribute of the image object. @param obj pointer to an image @return offset Y value.
lv_image_get_pivot
Get the pivot (rotation center) of the image. If pivot is set with LV_PCT, convert it to px before return. @param obj pointer to an image object @param pivot store the rotation center here
lv_image_get_rotation
Get the rotation of the image. @param obj pointer to an image object @return rotation in 0.1 degrees (0..3600) @note if image_align is LV_IMAGE_ALIGN_STRETCH or LV_IMAGE_ALIGN_FIT rotation will be set to 0 automatically.
lv_image_get_scale
Get the zoom factor of the image. @param obj pointer to an image object @return zoom factor (256: no zoom)
lv_image_get_scale_x
Get the horizontal zoom factor of the image. @param obj pointer to an image object @return zoom factor (256: no zoom)
lv_image_get_scale_y
Get the vertical zoom factor of the image. @param obj pointer to an image object @return zoom factor (256: no zoom)
lv_image_get_src
Get the source of the image @param obj pointer to an image object @return the image source (symbol, file name or ::lv-img_dsc_t for C arrays)
lv_image_get_src_height
Get the height of an image before any transformations. @param obj Pointer to an image object. @return The height of the image.
lv_image_get_src_width
Get the width of an image before any transformations. @param obj Pointer to an image object. @return The width of the image.
lv_image_get_transformed_height
Get the transformed height of an image object. @param obj Pointer to an image object. @return The transformed height of the image.
lv_image_get_transformed_width
Get the transformed width of an image object. @param obj Pointer to an image object. @return The transformed width of the image.
lv_image_header_cache_drop
Invalidate image header cache. Use NULL to invalidate all image headers. It’s also automatically called when an image is invalidated. @param src pointer to an image source.
lv_image_header_cache_dump
Dump the content of the image header cache in a human-readable format with cache order.
lv_image_header_cache_init
Initialize image header cache. @param count initial size of the cache in count of image headers. @return LV_RESULT_OK: initialization succeeded, LV_RESULT_INVALID: failed.
lv_image_header_cache_is_enabled
Return true if the image header cache is enabled. @return true: enabled, false: disabled.
lv_image_header_cache_iter_create
Create an iterator to iterate over the image header cache. @return an iterator to iterate over the image header cache.
lv_image_header_cache_resize
Resize image header cache. If set to 0, the cache is disabled. @param count new max count of cached image headers. @param evict_now true: evict the image headers should be removed by the eviction policy, false: wait for the next cache cleanup.
lv_image_set_antialias
Enable/disable anti-aliasing for the transformations (rotate, zoom) or not. The quality is better with anti-aliasing looks better but slower. @param obj pointer to an image object @param antialias true: anti-aliased; false: not anti-aliased
lv_image_set_bitmap_map_src
Set an A8 bitmap mask for the image. @param obj pointer to an image object @param src an lv_image_dsc_t bitmap mask source.
lv_image_set_blend_mode
Set the blend mode of an image. @param obj pointer to an image object @param blend_mode the new blend mode
lv_image_set_inner_align
Set the image object size mode. @param obj pointer to an image object @param align the new align mode. @note if image_align is LV_IMAGE_ALIGN_STRETCH or LV_IMAGE_ALIGN_FIT rotation, scale and pivot will be overwritten and controlled internally.
lv_image_set_offset_x
Set an offset for the source of an image so the image will be displayed from the new origin. @param obj pointer to an image @param x the new offset along x axis.
lv_image_set_offset_y
Set an offset for the source of an image. so the image will be displayed from the new origin. @param obj pointer to an image @param y the new offset along y axis.
lv_image_set_pivot
Set the rotation center of the image. The image will be rotated around this point. x, y can be set with value of LV_PCT, lv_image_get_pivot will return the true pixel coordinate of pivot in this case. @param obj pointer to an image object @param x rotation center x of the image @param y rotation center y of the image
lv_image_set_pivot_x
Set the rotation horizontal center of the image. @param obj pointer to an image object @param x rotation center x of the image, or lv_pct()
lv_image_set_pivot_y
Set the rotation vertical center of the image. @param obj pointer to an image object @param y rotation center y of the image, or lv_pct()
lv_image_set_rotation
Set the rotation angle of the image. The image will be rotated around the set pivot set by lv_image_set_pivot() Note that indexed and alpha only images can’t be transformed. @param obj pointer to an image object @param angle rotation in degree with 0.1 degree resolution (0..3600: clock wise) @note if image_align is LV_IMAGE_ALIGN_STRETCH or LV_IMAGE_ALIGN_FIT rotation will be set to 0 automatically.
lv_image_set_scale
Set the zoom factor of the image. Note that indexed and alpha only images can’t be transformed. @param obj pointer to an image object @param zoom the zoom factor. Example values: - 256 or LV_SCALE_NONE: no zoom - <256: scale down - >256: scale up - 128: half size - 512: double size
lv_image_set_scale_x
Set the horizontal zoom factor of the image. Note that indexed and alpha only images can’t be transformed. @param obj pointer to an image object @param zoom the zoom factor. Example values: - 256 or LV_SCALE_NONE: no zoom - <256: scale down - >256: scale up - 128: half size - 512: double size
lv_image_set_scale_y
Set the vertical zoom factor of the image. Note that indexed and alpha only images can’t be transformed. @param obj pointer to an image object @param zoom the zoom factor. Example values: - 256 or LV_SCALE_NONE: no zoom - <256: scale down - >256: scale up - 128: half size - 512: double size
lv_image_set_src
Set the image data to display on the object @param obj pointer to an image object @param src 1) pointer to an ::lv_image_dsc_t descriptor (converted by LVGL’s image converter) (e.g. &my_img) or 2) path to an image file (e.g. “S:/dir/img.bin”)or 3) a SYMBOL (e.g. LV_SYMBOL_OK)
lv_image_src_get_type
Get the type of an image source @param src pointer to an image source:
lv_imagebutton_create
Create an image button object @param parent pointer to an object, it will be the parent of the new image button @return pointer to the created image button
lv_imagebutton_get_src_left
Get the left image in a given state @param obj pointer to an image button object @param state the state where to get the image (from lv_button_state_t) ` @return pointer to the left image source (a C array or path to a file)
lv_imagebutton_get_src_middle
Get the middle image in a given state @param obj pointer to an image button object @param state the state where to get the image (from lv_button_state_t) ` @return pointer to the middle image source (a C array or path to a file)
lv_imagebutton_get_src_right
Get the right image in a given state @param obj pointer to an image button object @param state the state where to get the image (from lv_button_state_t) ` @return pointer to the left image source (a C array or path to a file)
lv_imagebutton_set_src
Set images for a state of the image button @param obj pointer to an image button object @param state for which state set the new image @param src_left pointer to an image source for the left side of the button (a C array or path to a file) @param src_mid pointer to an image source for the middle of the button (ideally 1px wide) (a C array or path to a file) @param src_right pointer to an image source for the right side of the button (a C array or path to a file)
lv_imagebutton_set_src_left
Set the left image for a state of the image button @param obj pointer to an image button object @param state for which state set the new image @param src_left pointer to an image source for the left side of the button (a C array or path to a file)
lv_imagebutton_set_src_mid
Set the middle image for a state of the image button @param obj pointer to an image button object @param state for which state set the new image @param src_mid pointer to an image source for the middle of the button (a C array or path to a file)
lv_imagebutton_set_src_right
Set the right image for a state of the image button @param obj pointer to an image button object @param state for which state set the new image @param src_right pointer to an image source for the right side of the button (a C array or path to a file)
lv_imagebutton_set_state
Use this function instead of lv_obj_add/remove_state to set a state manually @param obj pointer to an image button object @param state the new state
lv_indev_active
Get the currently processed input device. Can be used in action functions too. @return pointer to the currently processed input device or NULL if no input device processing right now
lv_indev_add_event_cb
Add an event handler to the indev @param indev pointer to an indev @param event_cb an event callback @param filter event code to react or LV_EVENT_ALL @param user_data optional user_data
lv_indev_create
Create an indev @return Pointer to the created indev or NULL when allocation failed
lv_indev_delete
Remove the provided input device. Make sure not to use the provided input device afterwards anymore. @param indev pointer to delete
lv_indev_enable
Enable or disable one or all input devices (default enabled) @param indev pointer to an input device or NULL to enable/disable all of them @param enable true to enable, false to disable
lv_indev_find_scroll_obj
Find a scrollable object based on the current scroll vector in the indev. In handles scroll propagation to the parent if needed, and scroll directions too. @param indev pointer to an indev @return the found scrollable object or NULL if not found.
lv_indev_get_active_obj
Gets a pointer to the currently active object in the currently processed input device. @return pointer to currently active object or NULL if no active object
lv_indev_get_cursor
Get the cursor object of an input device (for LV_INDEV_TYPE_POINTER only) @param indev pointer to an input device @return pointer to the cursor object
lv_indev_get_display
Get a pointer to the assigned display of the indev @param indev pointer to an input device @return pointer to the assigned display or NULL if indev is NULL
lv_indev_get_driver_data
Get a pointer to the driver data of the indev @param indev pointer to an input device @return pointer to the driver data or NULL if indev is NULL
lv_indev_get_event_count
Get the number of event attached to an indev @param indev pointer to an indev @return number of events
lv_indev_get_event_dsc
Get an event descriptor for an event @param indev pointer to an indev @param index the index of the event @return the event descriptor
lv_indev_get_gesture_dir
Get the current gesture direct @param indev pointer to an input device @return current gesture direct
lv_indev_get_group
Get the indev assigned group @param indev pointer to an input device @return Pointer to indev assigned group or NULL if indev is NULL
lv_indev_get_key
Get the last pressed key of an input device (for LV_INDEV_TYPE_KEYPAD) @param indev pointer to an input device @return the last pressed key (0 on error)
lv_indev_get_mode
Get the input device’s running mode. @param indev pointer to an input device @return the running mode for the specified input device.
lv_indev_get_next
Get the next input device. @param indev pointer to the current input device. NULL to initialize. @return the next input device or NULL if there are no more. Provide the first input device when the parameter is NULL
lv_indev_get_point
Get the last point of an input device (for LV_INDEV_TYPE_POINTER and LV_INDEV_TYPE_BUTTON) @param indev pointer to an input device @param point pointer to a point to store the result
lv_indev_get_press_moved
Get whether indev is moved while pressed @param indev pointer to an input device @return true: indev is moved while pressed; false: indev is not moved while pressed
lv_indev_get_read_cb
Get the callback function to read input device data to the indev @param indev pointer to an input device @return Pointer to callback function to read input device data or NULL if indev is NULL
lv_indev_get_read_timer
Get a pointer to the indev read timer to modify its parameters with lv_timer_... functions. @param indev pointer to an input device @return pointer to the indev read refresher timer. (NULL on error)
lv_indev_get_scroll_dir
Check the current scroll direction of an input device (for LV_INDEV_TYPE_POINTER and LV_INDEV_TYPE_BUTTON) @param indev pointer to an input device @return LV_DIR_NONE: no scrolling now LV_DIR_HOR/VER
lv_indev_get_scroll_obj
Get the currently scrolled object (for LV_INDEV_TYPE_POINTER and LV_INDEV_TYPE_BUTTON) @param indev pointer to an input device @return pointer to the currently scrolled object or NULL if no scrolling by this indev
lv_indev_get_short_click_streak
Get the counter for consecutive clicks within a short distance and time. The counter is updated before LV_EVENT_SHORT_CLICKED is fired. @param indev pointer to an input device @return short click streak counter
lv_indev_get_state
Get the indev state @param indev pointer to an input device @return Indev state or LV_INDEV_STATE_RELEASED if indev is NULL
lv_indev_get_type
Get the type of an input device @param indev pointer to an input device @return the type of the input device from lv_hal_indev_type_t (LV_INDEV_TYPE_...)
lv_indev_get_user_data
Get a pointer to the user data of the indev @param indev pointer to an input device @return pointer to the user data or NULL if indev is NULL
lv_indev_get_vect
Get the movement vector of an input device (for LV_INDEV_TYPE_POINTER and LV_INDEV_TYPE_BUTTON) @param indev pointer to an input device @param point pointer to a point to store the types.pointer.vector
lv_indev_read
Read data from an input device. @param indev pointer to an input device
lv_indev_read_timer_cb
Called periodically to read the input devices @param timer pointer to a timer to read
lv_indev_remove_event
Remove an event @param indev pointer to an indev @param index the index of the event to remove @return true: and event was removed; false: no event was removed
lv_indev_remove_event_cb_with_user_data
Remove an event_cb with user_data @param indev pointer to a indev @param event_cb the event_cb of the event to remove @param user_data user_data @return the count of the event removed
lv_indev_reset
Reset one or all input devices @param indev pointer to an input device to reset or NULL to reset all of them @param obj pointer to an object which triggers the reset.
lv_indev_reset_long_press
Reset the long press state of an input device @param indev pointer to an input device
lv_indev_scroll_get_snap_dist
Get the distance of the nearest snap point @param obj the object on which snap points should be found @param p save the distance of the found snap point there
lv_indev_scroll_handler
Handle scrolling. Called by LVGL during input device processing @param indev pointer to an input device
lv_indev_scroll_throw_handler
Handle throwing after scrolling. Called by LVGL during input device processing @param indev pointer to an input device
lv_indev_scroll_throw_predict
Predict where would a scroll throw end @param indev pointer to an input device @param dir LV_DIR_VER or LV_DIR_HOR @return the difference compared to the current position when the throw would be finished
lv_indev_search_obj
Search the most top, clickable object by a point @param obj pointer to a start object, typically the screen @param point pointer to a point for searching the most top child @return pointer to the found object or NULL if there was no suitable object
lv_indev_send_event
Send an event to an indev @param indev pointer to an indev @param code an event code. LV_EVENT_… @param param optional param @return LV_RESULT_OK: indev wasn’t deleted in the event.
lv_indev_set_button_points
Set the an array of points for LV_INDEV_TYPE_BUTTON. These points will be assigned to the buttons to press a specific point on the screen @param indev pointer to an input device @param points array of points
lv_indev_set_cursor
Set a cursor for a pointer input device (for LV_INPUT_TYPE_POINTER and LV_INPUT_TYPE_BUTTON) @param indev pointer to an input device @param cur_obj pointer to an object to be used as cursor
lv_indev_set_display
Assign a display to the indev @param indev pointer to an input device @param disp pointer to an display
lv_indev_set_driver_data
Set driver data to the indev @param indev pointer to an input device @param driver_data pointer to driver data
lv_indev_set_gesture_min_distance
Set the minimum distance threshold for gesture detection. The total distance from the first point to the current point must exceed this value (in pixels) for the movement to be considered large enough to trigger a gesture.
lv_indev_set_gesture_min_velocity
Set the minimum velocity threshold for gesture detection. The difference between consecutive points must exceed this value (in pixels) for the movement to be considered fast enough to trigger a gesture.
lv_indev_set_group
Set a destination group for a keypad input device (for LV_INDEV_TYPE_KEYPAD) @param indev pointer to an input device @param group pointer to a group
lv_indev_set_key_remap_cb
Set key remapping callback (LV_INDEV_TYPE_KEYPAD) @param indev pointer to an indev @param remap_cb remapping function callback. Use NULL to disable callback.
lv_indev_set_long_press_repeat_time
Set long press repeat time to indev @param indev pointer to input device @param long_press_repeat_time long press repeat time in ms
lv_indev_set_long_press_time
Set long press time to indev @param indev pointer to input device @param long_press_time time long press time in ms
lv_indev_set_mode
Set the input device’s event model: event-driven mode or timer mode. @param indev pointer to an input device @param mode the mode of input device
lv_indev_set_read_cb
Set a callback function to read input device data to the indev @param indev pointer to an input device @param read_cb pointer to callback function to read input device data
lv_indev_set_scroll_limit
Set scroll limit to the input device @param indev pointer to an input device @param scroll_limit the number of pixels to slide before actually drag the object
lv_indev_set_scroll_throw
Set scroll throw slow-down to the indev. Greater value means faster slow-down @param indev pointer to an input device @param scroll_throw the slow-down in [%]
lv_indev_set_type
Set the type of an input device @param indev pointer to an input device @param indev_type the type of the input device from lv_indev_type_t (LV_INDEV_TYPE_...)
lv_indev_set_user_data
Set user data to the indev @param indev pointer to an input device @param user_data pointer to user data
lv_indev_stop_processing
Touch and key related events are sent to the input device first and to the widget after that. If this functions called in an indev event, the event won’t be sent to the widget. @param indev pointer to an input device
lv_indev_wait_release
Do nothing until the next release @param indev pointer to an input device
lv_init
Initialize LVGL library. Should be called before any other LVGL related function.
lv_inv_area
Invalidate an area on display to redraw it @param area_p pointer to area which should be invalidated (NULL: delete the invalidated areas) @param disp pointer to display where the area should be invalidated (NULL can be used if there is only one display) @return LV_RESULT_OK: the area is invalidated; LV_RESULT_INVALID: the area wasn’t invalidated.
lv_is_initialized
Returns whether the ‘lv’ library is currently initialized
lv_iter_create
Create an iterator based on an instance, and then the next element of the iterator can be obtained through lv_iter_next, In order to obtain the next operation in a unified and abstract way. @param instance The instance to be iterated @param elem_size The size of the element to be iterated in bytes @param context_size The size of the context to be passed to the next_cb in bytes @param next_cb The callback function to get the next element @return The iterator object
lv_iter_destroy
Destroy the iterator object, and release the context. Other resources allocated by the user are not released. The user needs to release it by itself. @param iter lv_iter_t object create before
lv_iter_get_context
Get the context of the iterator. You can use it to store some temporary variables associated with current iterator.. @param iter lv_iter_t object create before @return the iter context
lv_iter_inspect
Inspect the element of the iterator. The callback function will be called for each element of the iterator. @param iter lv_iter_t object create before @param inspect_cb The callback function to inspect the element
lv_iter_make_peekable
Make the iterator peekable, which means that the user can peek the next element without advancing the iterator. @param iter lv_iter_t object create before @param capacity The capacity of the peek buffer
lv_iter_next
Get the next element of the iterator. @param iter lv_iter_t object create before @param elem The pointer to store the next element @return LV_RESULT_OK: Get the next element successfully LV_RESULT_INVALID: The next element is invalid
lv_iter_peek
Peek the next element of the iterator without advancing the iterator. @param iter lv_iter_t object create before @param elem The pointer to store the next element @return LV_RESULT_OK: Peek the next element successfully LV_RESULT_INVALID: The next element is invalid
lv_iter_peek_advance
Only advance the iterator without getting the next element. @param iter lv_iter_t object create before @return LV_RESULT_OK: Peek the next element successfully LV_RESULT_INVALID: The next element is invalid
lv_iter_peek_reset
Reset the peek cursor to the next cursor. @param iter lv_iter_t object create before @return LV_RESULT_OK: Reset the peek buffer successfully LV_RESULT_INVALID: The peek buffer is invalid
lv_keyboard_create
Create a Keyboard object @param parent pointer to an object, it will be the parent of the new keyboard @return pointer to the created keyboard object
lv_keyboard_def_event_cb
Default keyboard event callback to handle button presses. Adds characters to the text area and switches map if needed. If a custom event_cb is used, this function can be called within it. @param e the triggering event
lv_keyboard_get_button_text
Get the text of a button by index. @param obj pointer to a keyboard object @param btn_id index of the button (excluding newline characters) @return pointer to the text of the button
lv_keyboard_get_map_array
Get the current button map of the keyboard. @param kb pointer to a keyboard object @return pointer to the map array
lv_keyboard_get_mode
Get the current mode of the keyboard. @param kb pointer to a keyboard object @return the current mode (see ‘lv_keyboard_mode_t’)
lv_keyboard_get_popovers
Check whether popovers are enabled on the keyboard. @param obj pointer to a keyboard object @return true if popovers are enabled; false otherwise
lv_keyboard_get_selected_button
Get the index of the last selected button (pressed, released, focused, etc.). Useful in the event_cb to retrieve button text or properties. @param obj pointer to a keyboard object @return index of the last interacted button returns LV_BUTTONMATRIX_BUTTON_NONE if not set
lv_keyboard_get_textarea
Get the text area currently assigned to the keyboard. @param kb pointer to a keyboard object @return pointer to the assigned text area object
lv_keyboard_set_map
Set a custom button map for the keyboard. @param kb pointer to a keyboard object @param mode the mode to assign the new map to (see ‘lv_keyboard_mode_t’) @param map pointer to a string array describing the button map see ‘lv_buttonmatrix_set_map()’ for more details @param ctrl_map pointer to the control map. See ‘lv_buttonmatrix_set_ctrl_map()’
lv_keyboard_set_mode
Set a new mode (e.g., text, number, special characters). @param kb pointer to a keyboard object @param mode the desired mode (see ‘lv_keyboard_mode_t’)
lv_keyboard_set_popovers
Enable or disable popovers showing button titles on press. @param kb pointer to a keyboard object @param en true to enable popovers; false to disable
lv_keyboard_set_textarea
Assign a text area to the keyboard. Pressed characters will be inserted there. @param kb pointer to a keyboard object @param ta pointer to a text area object to write into
lv_label_bind_text
Bind an integer, string, or pointer Subject to a Label. @param obj pointer to Label @param subject pointer to Subject @param fmt optional printf-like format string with 1 format specifier (e.g. “%d °C”) or NULL to bind to the value directly. @return pointer to newly-created Observer @note If fmt == NULL strings and pointers (\0 terminated string) will be shown as text as they are, integers as %d, floats as %0.1f
lv_label_create
Create a label object @param parent pointer to an object, it will be the parent of the new label. @return pointer to the created button
lv_label_cut_text
Delete characters from a label. The label text cannot be static. @param obj pointer to a label object @param pos character index from where to cut. Expressed in character index and not byte index. 0: start in front of the first character @param cnt number of characters to cut
lv_label_get_letter_on
Get the index of letter on a relative point of a label. @param obj pointer to label object @param pos_in pointer to point with coordinates on a the label @param bidi whether to use bidi processed @return The index of the letter on the ‘pos_p’ point (E.g. on 0;0 is the 0. letter if aligned to the left) Expressed in character index and not byte index (different in UTF-8)
lv_label_get_letter_pos
Get the relative x and y coordinates of a letter @param obj pointer to a label object @param char_id index of the character [0 … text length - 1]. Expressed in character index, not byte index (different in UTF-8) @param pos store the result here (E.g. index = 0 gives 0;0 coordinates if the text if aligned to the left)
lv_label_get_long_mode
Get the long mode of a label @param obj pointer to a label object @return the current long mode
lv_label_get_recolor
@brief Get the recoloring attribute @param obj pointer to a label object. @return true: recoloring is enabled, false: recoloring is disabled
lv_label_get_text
Get the text of a label @param obj pointer to a label object @return the text of the label
lv_label_get_text_selection_end
@brief Get the selection end index. @param obj pointer to a label object. @return selection end index. LV_LABEL_TXT_SEL_OFF if nothing is selected.
lv_label_get_text_selection_start
@brief Get the selection start index. @param obj pointer to a label object. @return selection start index. LV_LABEL_TEXT_SELECTION_OFF if nothing is selected.
lv_label_ins_text
Insert a text to a label. The label text cannot be static. @param obj pointer to a label object @param pos character index to insert. Expressed in character index and not byte index. 0: before first char. LV_LABEL_POS_LAST: after last char. @param txt pointer to the text to insert
lv_label_is_char_under_pos
Check if a character is drawn under a point. @param obj pointer to a label object @param pos Point to check for character under @return whether a character is drawn under the point
lv_label_set_long_mode
Set the behavior of the label with text longer than the object size @param obj pointer to a label object @param long_mode the new mode from ‘lv_label_long_mode’ enum. In LV_LONG_WRAP/DOT/SCROLL/SCROLL_CIRC the size of the label should be set AFTER this function
lv_label_set_recolor
Enable the recoloring by in-line commands @param obj pointer to a label object @param en true: enable recoloring, false: disable Example: “This is a #ff0000 red# word”
lv_label_set_text
Set a new text for a label. Memory will be allocated to store the text by the label. @param obj pointer to a label object @param text ‘\0’ terminated character string. NULL to refresh with the current text. @note If LV_USE_ARABIC_PERSIAN_CHARS is enabled the text will be modified to have the correct Arabic characters in it.
lv_label_set_text_fmt
Set a new formatted text for a label. Memory will be allocated to store the text by the label. @param obj pointer to a label object @param fmt printf-like format string Example: @code lv_label_set_text_fmt(label1, “%d user”, user_num); @endcode @note If LV_USE_ARABIC_PERSIAN_CHARS is enabled the text will be modified to have the correct Arabic characters in it.
lv_label_set_text_selection_end
Set where text selection should end @param obj pointer to a label object @param index character index where selection should end. LV_LABEL_TEXT_SELECTION_OFF for no selection
lv_label_set_text_selection_start
Set where text selection should start @param obj pointer to a label object @param index character index from where selection should start. LV_LABEL_TEXT_SELECTION_OFF for no selection
lv_label_set_text_static
Set a static text. It will not be saved by the label so the ‘text’ variable has to be ‘alive’ while the label exists. @param obj pointer to a label object @param text pointer to a text. NULL to refresh with the current text. @note It ignores LV_USE_ARABIC_PERSIAN_CHARS
lv_label_set_text_vfmt
Set a new formatted text for a label. Memory will be allocated to store the text by the label. @param obj pointer to a label object @param fmt printf-like format string @param args variadic arguments list
lv_layer_bottom
Get the bottom layer of the default display @return pointer to the bottom layer
lv_layer_init
Initialize a layer @param layer pointer to a layer to initialize
lv_layer_reset
Reset the layer to a drawable state @param layer pointer to a layer to reset
lv_layer_sys
Get the system layer of the default display @return pointer to the sys layer
lv_layer_top
Get the top layer of the default display @return pointer to the top layer
lv_layout_apply
Update the layout of a widget @param obj pointer to a widget
lv_layout_create
Create a new layout @param callbacks the layout callbacks @param user_data custom data that will be passed when a callback is invoked @return the ID of the new layout
lv_layout_deinit
lv_layout_get_min_size
lv_layout_init
GLOBAL PROTOTYPES
lv_layout_register
DEPRECATED: lv_layout_register is deprecated. lv_layout_create should be used instead.
lv_led_create
Create a led object @param parent pointer to an object, it will be the parent of the new led @return pointer to the created led
lv_led_get_brightness
Get the brightness of a LED object @param obj pointer to LED object @return bright 0 (max. dark) … 255 (max. light)
lv_led_get_color
Get the color of a LED object @param obj pointer to LED object @return color color of the LED
lv_led_off
Light off a LED @param led pointer to a LED object
lv_led_on
Light on a LED @param led pointer to a LED object
lv_led_set_brightness
Set the brightness of a LED object @param led pointer to a LED object @param bright LV_LED_BRIGHT_MIN (max. dark) … LV_LED_BRIGHT_MAX (max. light)
lv_led_set_color
Set the color of the LED @param led pointer to a LED object @param color the color of the LED
lv_led_toggle
Toggle the state of a LED @param led pointer to a LED object
lv_line_create
Create a line object @param parent pointer to an object, it will be the parent of the new line @return pointer to the created line
lv_line_get_point_count
Get the number of points in the array of points. @param obj pointer to a line object @return number of points in array of points
lv_line_get_points
Get the pointer to the array of points. @param obj pointer to a line object @return const pointer to the array of points
lv_line_get_points_mutable
Get a pointer to the mutable array of points or NULL if it is not mutable @param obj pointer to a line object @return pointer to the array of points. NULL if not mutable.
lv_line_get_y_invert
Get the y inversion attribute @param obj pointer to a line object @return true: y inversion is enabled, false: disabled
lv_line_is_point_array_mutable
Check the mutability of the stored point array pointer. @param obj pointer to a line object @return true: the point array pointer is mutable, false: constant
lv_line_set_points
Set an array of points. The line object will connect these points. @param obj pointer to a line object @param points an array of points. Only the address is saved, so the array needs to be alive while the line exists @param point_num number of points in ‘point_a’
lv_line_set_points_mutable
Set a non-const array of points. Identical to lv_line_set_points except the array may be retrieved by lv_line_get_points_mutable. @param obj pointer to a line object @param points a non-const array of points. Only the address is saved, so the array needs to be alive while the line exists. @param point_num number of points in ‘point_a’
lv_line_set_y_invert
Enable (or disable) the y coordinate inversion. If enabled then y will be subtracted from the height of the object, therefore the y = 0 coordinate will be on the bottom. @param obj pointer to a line object @param en true: enable the y inversion, false:disable the y inversion
lv_list_add_button
Add button to a list @param list pointer to a list, it will be the parent of the new button @param icon icon for the button, when NULL it will have no icon @param txt text of the new button, when NULL no text will be added @return pointer to the created button
lv_list_add_text
Add text to a list @param list pointer to a list, it will be the parent of the new label @param txt text of the new label @return pointer to the created label
lv_list_create
Create a list object @param parent pointer to an object, it will be the parent of the new list @return pointer to the created list
lv_list_get_button_text
Get text of a given list button @param list pointer to a list @param btn pointer to the button @return text of btn, if btn doesn’t have text “” will be returned
lv_list_set_button_text
Set text of a given list button @param list pointer to a list @param btn pointer to the button @param txt pointer to the text
lv_ll_chg_list
Move a node to a new linked list @param ll_ori_p pointer to the original (old) linked list @param ll_new_p pointer to the new linked list @param node pointer to a node @param head true: be the head in the new list false be the tail in the new list
lv_ll_clear
Remove and free all elements from a linked list. The list remain valid but become empty. @param ll_p pointer to linked list
lv_ll_clear_custom
lv_ll_get_head
Return with head node of the linked list @param ll_p pointer to linked list @return pointer to the head of ‘ll_p’
lv_ll_get_len
Return the length of the linked list. @param ll_p pointer to linked list @return length of the linked list
lv_ll_get_next
Return with the pointer of the next node after ‘n_act’ @param ll_p pointer to linked list @param n_act pointer a node @return pointer to the next node
lv_ll_get_prev
Return with the pointer of the previous node after ‘n_act’ @param ll_p pointer to linked list @param n_act pointer a node @return pointer to the previous node
lv_ll_get_tail
Return with tail node of the linked list @param ll_p pointer to linked list @return pointer to the tail of ‘ll_p’
lv_ll_init
Initialize linked list @param ll_p pointer to lv_ll_t variable @param node_size the size of 1 node in bytes
lv_ll_ins_head
Add a new head to a linked list @param ll_p pointer to linked list @return pointer to the new head
lv_ll_ins_prev
Insert a new node in front of the n_act node @param ll_p pointer to linked list @param n_act pointer a node @return pointer to the new node
lv_ll_ins_tail
Add a new tail to a linked list @param ll_p pointer to linked list @return pointer to the new tail
lv_ll_is_empty
Check if a linked list is empty @param ll_p pointer to a linked list @return true: the linked list is empty; false: not empty
lv_ll_move_before
Move a node before another node in the same linked list
lv_ll_remove
Remove the node ‘node_p’ from ‘ll_p’ linked list. It does not free the memory of node. @param ll_p pointer to the linked list of ‘node_p’ @param node_p pointer to node in ‘ll_p’ linked list
lv_lock
Lock LVGL’s general mutex. LVGL is not thread safe, so a mutex is used to avoid executing multiple LVGL functions at the same time from different threads. It shall be called when calling LVGL functions from threads different than lv_timer_handler’s thread. It doesn’t need to be called in LVGL events because they are called from lv_timer_handler(). It is called internally in lv_timer_handler().
lv_lock_isr
Same as lv_lock() but can be called from an interrupt. @return LV_RESULT_OK: success; LV_RESULT_INVALID: failure
lv_lodepng_deinit
lv_lodepng_init
Register the PNG decoder functions in LVGL
lv_log
Print a log message via printf if enabled with LV_LOG_PRINTF in lv_conf.h and/or a print callback if registered with lv_log_register_print_cb @param format printf-like format string @param … parameters for format
lv_log_add
Add a log @param level the level of log. (From lv_log_level_t enum) @param file name of the file when the log added @param line line number in the source code where the log added @param func name of the function when the log added @param format printf-like format string @param … parameters for format
lv_log_register_print_cb
Register custom print/write function to call when a log is added. It can format its “File path”, “Line number” and “Description” as required and send the formatted log message to a console or serial port. @param print_cb a function pointer to print a log
lv_malloc
Allocate memory dynamically @param size requested size in bytes @return pointer to allocated uninitialized memory, or NULL on failure
lv_malloc_core
Used internally to execute a plain malloc operation @param size size in bytes to malloc
lv_malloc_zeroed
Allocate zeroed memory dynamically @param size requested size in bytes @return pointer to allocated zeroed memory, or NULL on failure
lv_map
Get the mapped of a number given an input and output range @param x integer which mapped value should be calculated @param min_in min input range @param max_in max input range @param min_out max output range @param max_out max output range @return the mapped number
lv_mem_add_pool
lv_mem_deinit
Drop all dynamically allocated memory and reset the memory pools’ state
lv_mem_init
Initialize to use malloc/free/realloc etc
lv_mem_monitor
Give information about the work memory of dynamic allocation @param mon_p pointer to a lv_mem_monitor_t variable, the result of the analysis will be stored here
lv_mem_monitor_core
Used internally by lv_mem_monitor() to gather LVGL heap state information. @param mon_p pointer to lv_mem_monitor_t object to be populated.
lv_mem_remove_pool
lv_mem_test
@brief Tests the memory allocation system by allocating and freeing a block of memory. @return LV_RESULT_OK if the memory allocation system is working properly, or LV_RESULT_INVALID if there is an error.
lv_mem_test_core
lv_memcmp
@brief This function will compare two memory blocks @param p1 Pointer to the first memory block @param p2 Pointer to the second memory block @param len Number of bytes to compare @return The difference between the value of the first unmatching byte.
lv_memcpy
@brief Copies a block of memory from a source address to a destination address. @param dst Pointer to the destination array where the content is to be copied. @param src Pointer to the source of data to be copied. @param len Number of bytes to copy. @return Pointer to the destination array. @note The function does not check for any overlapping of the source and destination memory blocks.
lv_memmove
@brief Move a block of memory from source to destination @param dst Pointer to the destination array where the content is to be copied. @param src Pointer to the source of data to be copied. @param len Number of bytes to copy @return Pointer to the destination array.
lv_memset
@brief Fills a block of memory with a specified value. @param dst Pointer to the destination array to fill with the specified value. @param v Value to be set. The value is passed as an int, but the function fills the block of memory using the unsigned char conversion of this value. @param len Number of bytes to be set to the value.
lv_menu_back_button_is_root
Check if an obj is a root back btn @param menu pointer to the menu @param obj pointer to the back button @return true if it is a root back btn
lv_menu_clear_history
Clear menu history @param obj pointer to the menu
lv_menu_cont_create
Create a menu cont object @param parent pointer to a menu page or menu section object, it will be the parent of the new menu cont object @return pointer to the created menu cont
lv_menu_create
Create a menu object @param parent pointer to an object, it will be the parent of the new menu @return pointer to the created menu
lv_menu_get_cur_main_page
Get a pointer to menu page that is currently displayed in main @param obj pointer to the menu @return pointer to current page
lv_menu_get_cur_sidebar_page
Get a pointer to menu page that is currently displayed in sidebar @param obj pointer to the menu @return pointer to current page
lv_menu_get_main_header
Get a pointer to main header obj @param obj pointer to the menu @return pointer to main header obj
lv_menu_get_main_header_back_button
Get a pointer to main header back btn obj @param obj pointer to the menu @return pointer to main header back btn obj
lv_menu_get_mode_header
Get the header mode of the menu @param obj pointer to a menu @return LV_MENU_HEADER_TOP_FIXED/TOP_UNFIXED/BOTTOM_FIXED
lv_menu_get_mode_root_back_button
Get the root back button mode of the menu @param obj pointer to a menu @return LV_MENU_ROOT_BACK_BUTTON_DISABLED/ENABLED
lv_menu_get_sidebar_header
Get a pointer to sidebar header obj @param obj pointer to the menu @return pointer to sidebar header obj
lv_menu_get_sidebar_header_back_button
Get a pointer to sidebar header obj @param obj pointer to the menu @return pointer to sidebar header back btn obj
lv_menu_page_create
Create a menu page object.
lv_menu_section_create
Create a menu section object @param parent pointer to a menu page object, it will be the parent of the new menu section object @return pointer to the created menu section
lv_menu_separator_create
Create a menu separator object @param parent pointer to a menu page object, it will be the parent of the new menu separator object @return pointer to the created menu separator
lv_menu_set_load_page_event
Add menu to the menu item @param menu pointer to the menu @param obj pointer to the obj @param page pointer to the page to load when obj is clicked
lv_menu_set_mode_header
Set the how the header should behave and its position @param obj pointer to a menu @param mode LV_MENU_HEADER_TOP_FIXED/TOP_UNFIXED/BOTTOM_FIXED
lv_menu_set_mode_root_back_button
Set whether back button should appear at root @param obj pointer to a menu @param mode LV_MENU_ROOT_BACK_BUTTON_DISABLED/ENABLED
lv_menu_set_page
Set menu page to display in main @param obj pointer to the menu @param page pointer to the menu page to set (NULL to clear main and clear menu history)
lv_menu_set_page_title
Set menu page title @param page pointer to the menu page @param title pointer to text for title in header (NULL to not display title)
lv_menu_set_page_title_static
Set menu page title with a static text. It will not be saved by the label so the ‘text’ variable has to be ‘alive’ while the page exists. @param page pointer to the menu page @param title pointer to text for title in header (NULL to not display title)
lv_menu_set_sidebar_page
Set menu page to display in sidebar @param obj pointer to the menu @param page pointer to the menu page to set (NULL to clear sidebar)
lv_msgbox_add_close_button
Add a close button to the message box. It also creates a header. @param obj pointer to a message box @return the created close button
lv_msgbox_add_footer_button
Add a button to the footer of to the message box. It also creates a footer. @param obj pointer to a message box @param text the text of the button @return the created button
lv_msgbox_add_header_button
Add a button to the header of to the message box. It also creates a header. @param obj pointer to a message box @param icon the icon of the button @return the created button
lv_msgbox_add_text
Add a text to the content area of message box. Multiple texts will be created below each other. @param obj pointer to a message box @param text text to add @return the created label
lv_msgbox_add_text_fmt
Add a formatted text to the content area of message box. Multiple texts will be created below each other. @param obj pointer to a message box @param fmt printf-like format string @return the created label
lv_msgbox_add_title
Add title to the message box. It also creates a header for the title. @param obj pointer to a message box @param title the text of the tile @return the created title label
lv_msgbox_close
Close a message box @param mbox pointer to a message box
lv_msgbox_close_async
Close a message box in the next call of the message box @param mbox pointer to a message box
lv_msgbox_create
Create an empty message box @param parent the parent or NULL to create a modal msgbox @return the created message box
lv_msgbox_get_content
Get the content widget @param obj pointer to a message box @return the content
lv_msgbox_get_footer
Get the footer widget @param obj pointer to a message box @return the footer, or NULL if not exists
lv_msgbox_get_header
Get the header widget @param obj pointer to a message box @return the header, or NULL if not exists
lv_msgbox_get_title
Get the title label @param obj pointer to a message box @return the title, or NULL if it does not exist
lv_obj_add_event_cb
Add an event handler function for an object. Used by the user to react on event which happens with the object. An object can have multiple event handler. They will be called in the same order as they were added. @param obj pointer to an object @param filter an event code (e.g. LV_EVENT_CLICKED) on which the event should be called. LV_EVENT_ALL can be used to receive all the events. @param event_cb the new event function @param user_data custom data will be available in event_cb @return handler to the event. It can be used in lv_obj_remove_event_dsc.
lv_obj_add_flag
Set one or more flags @param obj pointer to an object @param f OR-ed values from lv_obj_flag_t to set.
lv_obj_add_play_timeline_event
Play a timeline animation on a trigger @param obj pointer to widget which should trigger playing the animation @param trigger an event code, e.g. LV_EVENT_CLICKED @param at pointer to an animation timeline @param delay wait time before starting the animation @param reverse true: play in reverse
lv_obj_add_screen_create_event
Add an event handler to a widget that will create a screen on a trigger. The created screen will be deleted when it’s unloaded @param obj pointer to widget which should load the screen @param trigger an event code, e.g. LV_EVENT_CLICKED @param screen_create_cb a callback to create the screen, e.g. lv_obj_t * myscreen_create(void) @param anim_type element of lv_screen_load_anim_t the screen load animation @param duration duration of the animation in milliseconds @param delay delay before the screen load in milliseconds
lv_obj_add_screen_load_event
Add an event handler to a widget that will load a screen on a trigger. @param obj pointer to widget which should load the screen @param trigger an event code, e.g. LV_EVENT_CLICKED @param screen the screen to load (must be a valid widget) @param anim_type element of lv_screen_load_anim_t the screen load animation @param duration duration of the animation in milliseconds @param delay delay before the screen load in milliseconds
lv_obj_add_state
Add one or more states to the object. The other state bits will remain unchanged. If specified in the styles, transition animation will be started from the previous state to the current. @param obj pointer to an object @param state the states to add. E.g LV_STATE_PRESSED | LV_STATE_FOCUSED
lv_obj_add_style
Add a style to an object. @param obj pointer to an object @param style pointer to a style to add @param selector OR-ed value of parts and state to which the style should be added
lv_obj_add_subject_increment_event
Add an event handler to increment (or decrement) the value of a subject on a trigger. @param obj pointer to a widget @param subject pointer to a subject to change @param trigger the trigger on which the subject should be changed @param step value to add on trigger if the minimum value is reached, the maximum value will be set on rollover.
lv_obj_add_subject_set_int_event
Set the value of an integer subject. @param obj pointer to a widget @param subject pointer to a subject to change @param trigger the trigger on which the subject should be changed @param value the value to set
lv_obj_add_subject_set_string_event
Set the value of a string subject. @param obj pointer to a widget @param subject pointer to a subject to change @param trigger the trigger on which the subject should be changed @param value the value to set
lv_obj_add_subject_toggle_event
Toggle the value of an integer subject on an event. If it was != 0 it will be 0. If it was 0, it will be 1. @param obj pointer to a widget @param subject pointer to a subject to toggle @param trigger the trigger on which the subject should be changed
lv_obj_align
Change the alignment of an object and set new coordinates. Equivalent to: lv_obj_set_align(obj, align); lv_obj_set_pos(obj, x_ofs, y_ofs); @param obj pointer to an object to align @param align type of alignment (see ‘lv_align_t’ enum) LV_ALIGN_OUT_... can’t be used. @param x_ofs x coordinate offset after alignment @param y_ofs y coordinate offset after alignment
lv_obj_align_to
Align an object to another object. @param obj pointer to an object to align @param base pointer to another object (if NULL objs parent is used). ‘obj’ will be aligned to it. @param align type of alignment (see ‘lv_align_t’ enum) @param x_ofs x coordinate offset after alignment @param y_ofs y coordinate offset after alignment @note if the position or size of base changes obj needs to be aligned manually again
lv_obj_allocate_spec_attr
Allocate special data for an object if not allocated yet. @param obj pointer to an object
lv_obj_area_is_visible
Tell whether an area of an object is visible (even partially) now or not @param obj pointer to an object @param area the are to check. The visible part of the area will be written back here. @return true visible; false not visible (hidden, out of parent, on other screen, etc)
lv_obj_bind_checked
Set an integer Subject to 1 when a Widget is checked and set it 0 when unchecked, and clear Widget’s checked state when Subject’s value changes to 0 and set it when non-zero. @param obj pointer to Widget @param subject pointer to a Subject @return pointer to newly-created Observer @note Ensure Widget’s LV_OBJ_FLAG_CHECKABLE flag is set.
lv_obj_bind_flag_if_eq
Set Widget’s flag(s) if an integer Subject’s value is equal to a reference value, clear flag otherwise. @param obj pointer to Widget @param subject pointer to Subject @param flag flag(s) (can be bit-wise OR-ed) to set or clear (e.g. LV_OBJ_FLAG_HIDDEN) @param ref_value reference value to compare Subject’s value with @return pointer to newly-created Observer
lv_obj_bind_flag_if_ge
Set Widget’s flag(s) if an integer Subject’s value is greater than or equal to a reference value, clear flag otherwise. @param obj pointer to Widget @param subject pointer to Subject @param flag flag(s) (can be bit-wise OR-ed) to set or clear (e.g. LV_OBJ_FLAG_HIDDEN) @param ref_value reference value to compare Subject’s value with @return pointer to newly-created Observer
lv_obj_bind_flag_if_gt
Set Widget’s flag(s) if an integer Subject’s value is greater than a reference value, clear flag otherwise. @param obj pointer to Widget @param subject pointer to Subject @param flag flag(s) (can be bit-wise OR-ed) to set or clear (e.g. LV_OBJ_FLAG_HIDDEN) @param ref_value reference value to compare Subject’s value with @return pointer to newly-created Observer
lv_obj_bind_flag_if_le
Set Widget’s flag(s) if an integer Subject’s value is less than or equal to a reference value, clear flag otherwise. @param obj pointer to Widget @param subject pointer to Subject @param flag flag(s) (can be bit-wise OR-ed) to set or clear (e.g. LV_OBJ_FLAG_HIDDEN) @param ref_value reference value to compare Subject’s value with @return pointer to newly-created Observer
lv_obj_bind_flag_if_lt
Set Widget’s flag(s) if an integer Subject’s value is less than a reference value, clear flag otherwise. @param obj pointer to Widget @param subject pointer to Subject @param flag flag(s) (can be bit-wise OR-ed) to set or clear (e.g. LV_OBJ_FLAG_HIDDEN) @param ref_value reference value to compare Subject’s value with @return pointer to newly-created Observer
lv_obj_bind_flag_if_not_eq
Set Widget’s flag(s) if an integer Subject’s value is not equal to a reference value, clear flag otherwise. @param obj pointer to Widget @param subject pointer to Subject @param flag flag(s) (can be bit-wise OR-ed) to set or clear (e.g. LV_OBJ_FLAG_HIDDEN) @param ref_value reference value to compare Subject’s value with @return pointer to newly-created Observer
lv_obj_bind_state_if_eq
Set Widget’s state(s) if an integer Subject’s value is equal to a reference value, clear flag otherwise. @param obj pointer to Widget @param subject pointer to Subject @param state state(s) (can be bit-wise OR-ed) to set or clear (e.g. LV_STATE_CHECKED) @param ref_value reference value to compare Subject’s value with @return pointer to newly-created Observer
lv_obj_bind_state_if_ge
Set Widget’s state(s) if an integer Subject’s value is greater than or equal to a reference value, clear flag otherwise. @param obj pointer to Widget @param subject pointer to Subject @param state state(s) (can be bit-wise OR-ed) to set or clear (e.g. LV_STATE_CHECKED) @param ref_value reference value to compare Subject’s value with @return pointer to newly-created Observer
lv_obj_bind_state_if_gt
Set Widget’s state(s) if an integer Subject’s value is greater than a reference value, clear flag otherwise. @param obj pointer to Widget @param subject pointer to Subject @param state state(s) (can be bit-wise OR-ed) to set or clear (e.g. LV_STATE_CHECKED) @param ref_value reference value to compare Subject’s value with @return pointer to newly-created Observer
lv_obj_bind_state_if_le
Set Widget’s state(s) if an integer Subject’s value is less than or equal to a reference value, clear flag otherwise. @param obj pointer to Widget @param subject pointer to Subject @param state state(s) (can be bit-wise OR-ed) to set or clear (e.g. LV_STATE_CHECKED) @param ref_value reference value to compare Subject’s value with @return pointer to newly-created Observer
lv_obj_bind_state_if_lt
Set Widget’s state(s) if an integer Subject’s value is less than a reference value, clear flag otherwise. @param obj pointer to Widget @param subject pointer to Subject @param state state(s) (can be bit-wise OR-ed) to set or clear (e.g. LV_STATE_CHECKED) @param ref_value reference value to compare Subject’s value with @return pointer to newly-created Observer
lv_obj_bind_state_if_not_eq
Set a Widget’s state(s) if an integer Subject’s value is not equal to a reference value, clear flag otherwise @param obj pointer to Widget @param subject pointer to Subject @param state state(s) (can be bit-wise OR-ed) to set or clear (e.g. LV_STATE_CHECKED) @param ref_value reference value to compare Subject’s value with @return pointer to newly-created Observer
lv_obj_bind_style
Disable a style if a subject’s value is not equal to a reference value @param obj pointer to Widget @param style pointer to a style @param selector pointer to a selector @param subject pointer to Subject @param ref_value reference value to compare Subject’s value with @return pointer to newly-created Observer
lv_obj_bind_style_prop
Connect a subject’s value to a style property of a widget. @param obj pointer to a Widget @param prop a style property @param selector a selector for which the property should be added, e.g. LV_PART_KNOB | LV_STATE_PRESSED @param subject pointer a Subject to which value the property should be bound @return pointer to newly-created Observer
lv_obj_calc_dynamic_height
@brief Calculates the height in pixels of an LVGL object based on its style and parent for a given height prop. @param obj Pointer to the LVGL object whose height is being calculated. @param prop Which style height to calculate for. Valid values are: LV_STYLE_HEIGHT, LV_STYLE_MIN_HEIGHT, or LV_STYLE_MAX_HEIGHT. @return The computed height for the object: @note If the style height is a fixed value, that value is returned. @note If the style height is LV_SIZE_CONTENT, the content height is calculated and returned. @note If the style height is a LV_PCT(), the percentage is applied to the parent’s height.
lv_obj_calc_dynamic_width
@brief Calculates the width in pixels of an LVGL object based on its style and parent for a given width prop. @param obj Pointer to the LVGL object whose width is being calculated. @param prop Which style width to calculate for. Valid values are: LV_STYLE_WIDTH, LV_STYLE_MIN_WIDTH, or LV_STYLE_MAX_WIDTH. @return The computed width for the object: @note If the style width is a fixed value, that value is returned. @note If the style width is LV_SIZE_CONTENT, the content width is calculated and returned. @note If the style width is a LV_PCT(), the percentage is applied to the parent’s width.
lv_obj_calculate_ext_draw_size
Get the required extra size (around the object’s part) to draw shadow, outline, value etc. @param obj pointer to an object @param part part of the object @return the extra size required around the object
lv_obj_calculate_style_text_align
lv_obj_center
Align an object to the center on its parent. @param obj pointer to an object to align @note if the parent size changes obj needs to be aligned manually again
lv_obj_check_type
Check the type of obj. @param obj pointer to an object @param class_p a class to check (e.g. lv_slider_class) @return true: class_p is the obj class.
lv_obj_class_create_obj
Create an object form a class descriptor @param class_p pointer to a class @param parent pointer to an object where the new object should be created @return pointer to the created object
lv_obj_class_init_obj
lv_obj_clean
Delete all children of an object. Also remove the objects from their group and remove all animations (if any). Send LV_EVENT_DELETE to deleted objects. @param obj pointer to an object
lv_obj_create
Create a base object (a rectangle) @param parent pointer to a parent object. If NULL then a screen will be created. @return pointer to the new object
lv_obj_delete
Delete an object and all of its children. Also remove the objects from their group and remove all animations (if any). Send LV_EVENT_DELETE to deleted objects. @param obj pointer to an object
lv_obj_delete_anim_completed_cb
A function to be easily used in animation ready callback to delete an object when the animation is ready @param a pointer to the animation
lv_obj_delete_async
Helper function for asynchronously deleting objects. Useful for cases where you can’t delete an object directly in an LV_EVENT_DELETE handler (i.e. parent). @param obj object to delete @see lv_async_call
lv_obj_delete_delayed
Delete an object after some delay @param obj pointer to an object @param delay_ms time to wait before delete in milliseconds
lv_obj_destruct
GLOBAL PROTOTYPES
lv_obj_dump_tree
Iterate through all children of any object and print their ID. @param start_obj start integrating from this object
lv_obj_enable_style_refresh
Enable or disable automatic style refreshing when a new style is added/removed to/from an object or any other style change happens. @param en true: enable refreshing; false: disable refreshing
lv_obj_event_base
Used by the widgets internally to call the ancestor widget types’s event handler @param class_p pointer to the class of the widget (NOT the ancestor class) @param e pointer to the event descriptor @return LV_RESULT_OK: the target object was not deleted in the event; LV_RESULT_INVALID: it was deleted in the event_code
lv_obj_fade_in
Fade in an an object and all its children. @param obj the object to fade in @param time time of fade @param delay delay to start the animation
lv_obj_fade_out
Fade out an an object and all its children. @param obj the object to fade out @param time time of fade @param delay delay to start the animation
lv_obj_get_child
Get the child of an object by the child’s index. @param obj pointer to an object whose child should be get @param idx the index of the child. 0: the oldest (firstly created) child 1: the second oldest child count-1: the youngest -1: the youngest -2: the second youngest @return pointer to the child or NULL if the index was invalid
lv_obj_get_child_by_type
Get the child of an object by the child’s index. Consider the children only with a given type. @param obj pointer to an object whose child should be get @param idx the index of the child. 0: the oldest (firstly created) child 1: the second oldest child count-1: the youngest -1: the youngest -2: the second youngest @param class_p the type of the children to check @return pointer to the child or NULL if the index was invalid
lv_obj_get_child_count
Get the number of children @param obj pointer to an object @return the number of children
lv_obj_get_child_count_by_type
Get the number of children having a given type. @param obj pointer to an object @param class_p the type of the children to check @return the number of children
lv_obj_get_class
Get the class (type) of the object @param obj pointer to an object @return the class (type) of the object
lv_obj_get_click_area
Get the an area where to object can be clicked. It’s the object’s normal area plus the extended click area. @param obj pointer to an object @param area store the result area here
lv_obj_get_content_coords
Get the area reduced by the paddings and the border width. @param obj pointer to an object @note The position of the object is recalculated only on the next redraw. To force coordinate recalculation call lv_obj_update_layout(obj). @param area the area which still fits into the parent without causing overflow (making the parent scrollable)
lv_obj_get_content_height
Get the height reduced by the top and bottom padding and the border width. @param obj pointer to an object @note The position of the object is recalculated only on the next redraw. To force coordinate recalculation call lv_obj_update_layout(obj). @return the height which still fits into the parent without causing overflow (making the parent scrollable)
lv_obj_get_content_width
Get the width reduced by the left and right padding and the border width. @param obj pointer to an object @note The position of the object is recalculated only on the next redraw. To force coordinate recalculation call lv_obj_update_layout(obj). @return the width which still fits into its parent without causing overflow (making the parent scrollable)
lv_obj_get_coords
Copy the coordinates of an object to an area @param obj pointer to an object @param coords pointer to an area to store the coordinates
lv_obj_get_display
Get the display of the object @param obj pointer to an object @return pointer to the object’s display
lv_obj_get_event_count
lv_obj_get_event_dsc
lv_obj_get_ext_draw_size
Get the extended draw area of an object. @param obj pointer to an object @return the size extended draw area around the real coordinates
lv_obj_get_group
Get the group of the object @param obj pointer to an object @return the pointer to group of the object
lv_obj_get_height
Get the height of an object @param obj pointer to an object @note The position of the object is recalculated only on the next redraw. To force coordinate recalculation call lv_obj_update_layout(obj). @return the height in pixels
lv_obj_get_index
Get the index of a child. @param obj pointer to an object @return the child index of the object. E.g. 0: the oldest (firstly created child). (-1 if child could not be found or no parent exists)
lv_obj_get_index_by_type
Get the index of a child. Consider the children only with a given type. @param obj pointer to an object @param class_p the type of the children to check @return the child index of the object. E.g. 0: the oldest (firstly created child with the given class). (-1 if child could not be found or no parent exists)
lv_obj_get_layer_type
lv_obj_get_local_style_prop
lv_obj_get_parent
Get the parent of an object @param obj pointer to an object @return the parent of the object. (NULL if obj was a screen)
lv_obj_get_screen
Get the screen of an object @param obj pointer to an object @return pointer to the object’s screen
lv_obj_get_scroll_bottom
Number of pixels a scrollable container Widget can be scrolled up before its bottom edge appears. When LV_OBJ_FLAG_SCROLL_ELASTIC flag is set in Widget, this value can go negative while Widget is being dragged above its normal bottom-edge boundary. @param obj pointer to scrollable container Widget @return pixels Widget can be scrolled up before its bottom edge appears
lv_obj_get_scroll_dir
Get directions Widget can be scrolled (set with lv_obj_set_scroll_dir()) @param obj pointer to Widget @return current scroll direction bit(s)
lv_obj_get_scroll_end
Get the X and Y coordinates where the scrolling will end for Widget if a scrolling animation is in progress. If no scrolling animation, give the current x or y scroll position. @param obj pointer to scrollable Widget @param end pointer to lv_point_t object in which to store result
lv_obj_get_scroll_left
Number of pixels a scrollable container Widget can be scrolled right before its left edge appears. When LV_OBJ_FLAG_SCROLL_ELASTIC flag is set in Widget, this value can go negative while Widget is being dragged farther right than its normal left-edge boundary. @param obj pointer to scrollable container Widget @return pixels Widget can be scrolled right before its left edge appears
lv_obj_get_scroll_right
Number of pixels a scrollable container Widget can be scrolled left before its right edge appears. When LV_OBJ_FLAG_SCROLL_ELASTIC flag is set in Widget, this value can go negative while Widget is being dragged farther left than its normal right-edge boundary. @param obj pointer to scrollable container Widget @return pixels Widget can be scrolled left before its right edge appears
lv_obj_get_scroll_snap_x
Get where to snap child Widgets when horizontal scrolling ends. @param obj pointer to Widget @return current snap value from lv_scroll_snap_t
lv_obj_get_scroll_snap_y
Get where to snap child Widgets when vertical scrolling ends. @param obj pointer to Widget @return current snap value from lv_scroll_snap_t
lv_obj_get_scroll_top
Number of pixels a scrollable container Widget can be scrolled down before its top edge appears. When LV_OBJ_FLAG_SCROLL_ELASTIC flag is set in Widget, this value can go negative while Widget is being dragged below its normal top-edge boundary. @param obj pointer to scrollable container Widget @return pixels Widget can be scrolled down before its top edge appears
lv_obj_get_scroll_x
Get current X scroll position. Identical to lv_obj_get_scroll_left(). @param obj pointer to scrollable container Widget @return current scroll position from left edge - If Widget is not scrolled return 0. - If scrolled return > 0. - If scrolled inside (elastic scroll) return < 0.
lv_obj_get_scroll_y
Get current Y scroll position. Identical to lv_obj_get_scroll_top(). @param obj pointer to scrollable container Widget @return current scroll position from top edge - If Widget is not scrolled return 0. - If scrolled return > 0. - If scrolled inside (elastic scroll) return < 0.
lv_obj_get_scrollbar_area
Get the area of the scrollbars @param obj pointer to Widget @param hor pointer to store the area of the horizontal scrollbar @param ver pointer to store the area of the vertical scrollbar
lv_obj_get_scrollbar_mode
Get the current scroll mode (when to hide the scrollbars) @param obj pointer to Widget @return the current scroll mode from lv_scrollbar_mode_t
lv_obj_get_self_height
Get the height occupied by the “parts” of the widget. E.g. the height of all rows of a table. @param obj pointer to an object @return the width of the virtually drawn content @note This size independent from the real size of the widget. It just tells how large the internal (“virtual”) content is.
lv_obj_get_self_width
Get the width occupied by the “parts” of the widget. E.g. the width of all columns of a table. @param obj pointer to an object @return the width of the virtually drawn content @note This size independent from the real size of the widget. It just tells how large the internal (“virtual”) content is.
lv_obj_get_sibling
Return a sibling of an object @param obj pointer to an object whose sibling should be get @param idx 0: obj itself -1: the first older sibling -2: the next older sibling 1: the first younger sibling 2: the next younger sibling etc @return pointer to the requested sibling or NULL if there is no such sibling
lv_obj_get_sibling_by_type
Return a sibling of an object. Consider the siblings only with a given type. @param obj pointer to an object whose sibling should be get @param idx 0: obj itself -1: the first older sibling -2: the next older sibling 1: the first younger sibling 2: the next younger sibling etc @param class_p the type of the children to check @return pointer to the requested sibling or NULL if there is no such sibling
lv_obj_get_state
Get the state of an object @param obj pointer to an object @return the state (OR-ed values from lv_state_t)
lv_obj_get_style_clamped_height
Get the style height actually used by the object after clamping the height within the min max range. @param obj pointer to an object @return the min/max/normal height set by lv_obj_set_style_<min/max>_height() @note This is not the calculated size, so if the size was set as LV_SIZE_CONTENT or LV_PCT() then that value will be returned.
lv_obj_get_style_clamped_width
Get the style width actually used by the object after clamping the width within the min max range. @param obj pointer to an object @return the min/max/normal width set by lv_obj_set_style_<min/max>_width() @note This is not the calculated size, so if the size was set as LV_SIZE_CONTENT or LV_PCT() then that value will be returned.
lv_obj_get_style_opa_recursive
Get the opa style property from all parents and multiply and >> 8 them. @param obj the object whose opacity should be get @param part the part whose opacity should be get. Non-MAIN parts will consider the opa of the MAIN part too @return the final opacity considering the parents’ opacity too
lv_obj_get_style_prop
Get the value of a style property. The current state of the object will be considered. Inherited properties will be inherited. If a property is not set a default value will be returned. @param obj pointer to an object @param part a part from which the property should be get @param prop the property to get @return the value of the property. Should be read from the correct field of the lv_style_value_t according to the type of the property.
lv_obj_get_style_recolor_recursive
Get the recolor style property from all parents and blend them recursively. @param obj the object whose recolor value should be retrieved @param part the target part to check. Non-MAIN parts will also consider the recolor value from the MAIN part during calculation @return the final blended recolor value combining all parent’s recolor values
lv_obj_get_transform
Get the transform matrix of an object @param obj pointer to an object @return pointer to the transform matrix or NULL if not set
lv_obj_get_transformed_area
Transform an area using the angle and zoom style properties of an object @param obj pointer to an object whose style properties should be used @param area an area to transform, the result will be written back here too @param flags OR-ed valued of :cpp:enum:lv_obj_point_transform_flag_t
lv_obj_get_user_data
Get the user_data field of the object @param obj pointer to an object @return the pointer to the user_data of the object
lv_obj_get_width
Get the width of an object @param obj pointer to an object @note The position of the object is recalculated only on the next redraw. To force coordinate recalculation call lv_obj_update_layout(obj). @return the width in pixels
lv_obj_get_x
Get the x coordinate of object. @param obj pointer to an object @return distance of obj from the left side of its parent plus the parent’s left padding @note The position of the object is recalculated only on the next redraw. To force coordinate recalculation call lv_obj_update_layout(obj). @note Zero return value means the object is on the left padding of the parent, and not on the left edge. @note Scrolling of the parent doesn’t change the returned value. @note The returned value is always the distance from the parent even if obj is positioned by a layout.
lv_obj_get_x2
Get the x2 coordinate of object. @param obj pointer to an object @return distance of obj from the right side of its parent plus the parent’s right padding @note The position of the object is recalculated only on the next redraw. To force coordinate recalculation call lv_obj_update_layout(obj). @note Zero return value means the object is on the right padding of the parent, and not on the right edge. @note Scrolling of the parent doesn’t change the returned value. @note The returned value is always the distance from the parent even if obj is positioned by a layout.
lv_obj_get_x_aligned
Get the actually set x coordinate of object, i.e. the offset from the set alignment @param obj pointer to an object @return the set x coordinate
lv_obj_get_y
Get the y coordinate of object. @param obj pointer to an object @return distance of obj from the top side of its parent plus the parent’s top padding @note The position of the object is recalculated only on the next redraw. To force coordinate recalculation call lv_obj_update_layout(obj). @note Zero return value means the object is on the top padding of the parent, and not on the top edge. @note Scrolling of the parent doesn’t change the returned value. @note The returned value is always the distance from the parent even if obj is positioned by a layout.
lv_obj_get_y2
Get the y2 coordinate of object. @param obj pointer to an object @return distance of obj from the bottom side of its parent plus the parent’s bottom padding @note The position of the object is recalculated only on the next redraw. To force coordinate recalculation call lv_obj_update_layout(obj). @note Zero return value means the object is on the bottom padding of the parent, and not on the bottom edge. @note Scrolling of the parent doesn’t change the returned value. @note The returned value is always the distance from the parent even if obj is positioned by a layout.
lv_obj_get_y_aligned
Get the actually set y coordinate of object, i.e. the offset from the set alignment @param obj pointer to an object @return the set y coordinate
lv_obj_has_class
Check if any object has a given class (type). It checks the ancestor classes too. @param obj pointer to an object @param class_p a class to check (e.g. lv_slider_class) @return true: obj has the given class
lv_obj_has_flag
Check if a given flag or all the given flags are set on an object. @param obj pointer to an object @param f the flag(s) to check (OR-ed values can be used) @return true: all flags are set; false: not all flags are set
lv_obj_has_flag_any
Check if a given flag or any of the flags are set on an object. @param obj pointer to an object @param f the flag(s) to check (OR-ed values can be used) @return true: at least one flag is set; false: none of the flags are set
lv_obj_has_state
Check if the object is in a given state or not. @param obj pointer to an object @param state a state or combination of states to check @return true: obj is in state; false: obj is not in state
lv_obj_has_style_prop
Check if an object has a specified style property for a given style selector. @param obj pointer to an object @param selector the style selector to be checked, defining the scope of the style to be examined. @param prop the property to be checked. @return true if the object has the specified selector and property, false otherwise.
lv_obj_hit_test
Hit-test an object given a particular point in screen space. @param obj object to hit-test @param point screen-space point (absolute coordinate) @return true: if the object is considered under the point
lv_obj_init_draw_arc_dsc
Initialize an arc draw descriptor from an object’s styles in its current state @param obj pointer to an object @param part part of the object, e.g. LV_PART_MAIN, LV_PART_SCROLLBAR, LV_PART_KNOB, etc @param draw_dsc the descriptor to initialize. Should be initialized with lv_draw_arc_dsc_init(draw_dsc).
lv_obj_init_draw_blur_dsc
Initialize a blur draw descriptor from an object’s styles in its current state. draw_dsc->radius will only be calculated if it’s 0 initially. Radius can be set before calling this function to avoid getting it twice. @param obj pointer to an object @param part part of the object, e.g. LV_PART_MAIN, LV_PART_SCROLLBAR, LV_PART_KNOB, etc @param draw_dsc the descriptor to initialize. Should be initialized with lv_draw_blur_dsc_init(draw_dsc).
lv_obj_init_draw_image_dsc
Initialize an image draw descriptor from an object’s styles in its current state @param obj pointer to an object @param part part of the object, e.g. LV_PART_MAIN, LV_PART_SCROLLBAR, LV_PART_KNOB, etc @param draw_dsc the descriptor to initialize. Should be initialized with lv_draw_image_dsc_init(draw_dsc).
lv_obj_init_draw_label_dsc
Initialize a label draw descriptor from an object’s styles in its current state @param obj pointer to an object @param part part of the object, e.g. LV_PART_MAIN, LV_PART_SCROLLBAR, LV_PART_KNOB, etc @param draw_dsc the descriptor to initialize. If the opa field is set to or the property is equal to LV_OPA_TRANSP the rest won’t be initialized. Should be initialized with lv_draw_label_dsc_init(draw_dsc).
lv_obj_init_draw_line_dsc
Initialize a line draw descriptor from an object’s styles in its current state @param obj pointer to an object @param part part of the object, e.g. LV_PART_MAIN, LV_PART_SCROLLBAR, LV_PART_KNOB, etc @param draw_dsc the descriptor to initialize. Should be initialized with lv_draw_line_dsc_init(draw_dsc).
lv_obj_init_draw_rect_dsc
Initialize a rectangle draw descriptor from an object’s styles in its current state @param obj pointer to an object @param part part of the object, e.g. LV_PART_MAIN, LV_PART_SCROLLBAR, LV_PART_KNOB, etc @param draw_dsc the descriptor to initialize. If an ..._opa field is set to LV_OPA_TRANSP the related properties won’t be initialized. Should be initialized with lv_draw_rect_dsc_init(draw_dsc). @note Only the relevant fields will be set. E.g. if border width == 0 the other border properties won’t be evaluated.
lv_obj_invalidate
Mark the object as invalid to redrawn its area @param obj pointer to an object @return LV_RESULT_OK: the area is invalidated; LV_RESULT_INVALID: the area wasn’t invalidated. (maybe it was off-screen or fully clipped)
lv_obj_invalidate_area
Mark an area of an object as invalid. The area will be truncated to the object’s area and marked for redraw. @param obj pointer to an object @param area the area to redraw @return LV_RESULT_OK: the area is invalidated; LV_RESULT_INVALID: the area wasn’t invalidated. (maybe it was off-screen or fully clipped)
lv_obj_is_editable
lv_obj_is_group_def
lv_obj_is_height_max
@brief Determine if the object’s resolved height was limited by its maximum height constraint.
lv_obj_is_height_min
@brief Determine if the object’s resolved height was limited by its minimum height constraint.
lv_obj_is_layout_positioned
Test whether the and object is positioned by a layout or not @param obj pointer to an object to test @return true: positioned by a layout; false: not positioned by a layout
lv_obj_is_radio_button
Get whether the object is a radio button @param obj pointer to a widget @return true if radio button behavior is enabled
lv_obj_is_scrolling
Tell whether Widget is being scrolled or not at this moment @param obj pointer to Widget @return true: obj is being scrolled
lv_obj_is_valid
Check if any object is still “alive”. @param obj pointer to an object @return true: valid
lv_obj_is_visible
Tell whether an object is visible (even partially) now or not @param obj pointer to an object @return true: visible; false not visible (hidden, out of parent, on other screen, etc)
lv_obj_is_width_max
@brief Determine if the object’s resolved width was limited by its maximum width constraint.
lv_obj_is_width_min
@brief Determine if the object’s resolved width was limited by its minimum width constraint.
lv_obj_mark_layout_as_dirty
Mark the object for layout update. @param obj pointer to an object whose children need to be updated
lv_obj_move_children_by
lv_obj_move_to
lv_obj_move_to_index
moves the object to the given index in its parent. When used in listboxes, it can be used to sort the listbox items. @param obj pointer to the object to be moved. @param index new index in parent. -1 to count from the back @note to move to the background: lv_obj_move_to_index(obj, 0) @note to move forward (up): lv_obj_move_to_index(obj, lv_obj_get_index(obj) - 1)
lv_obj_null_on_delete
Utility to set an object reference to NULL when it gets deleted. The reference should be in a location that will not become invalid during the object’s lifetime, i.e. static or allocated. @param obj_ptr a pointer to a pointer to an object
lv_obj_readjust_scroll
Checks if the content is scrolled “in” and adjusts it to a normal position. @param obj pointer to Widget @param anim_en LV_ANIM_ON/OFF
lv_obj_redraw
Redrawn on object and all its children using the passed draw context @param layer pointer to a layer where to draw. @param obj the start object from the redraw should start
lv_obj_refr
Render an object to a layer @param layer target drawing layer @param obj object to render
lv_obj_refr_pos
lv_obj_refr_size
Recalculate the size of the object @param obj pointer to an object @return true: the size has been changed
lv_obj_refresh_ext_draw_size
Send a ‘LV_EVENT_REFR_EXT_DRAW_SIZE’ Call the ancestor’s event handler to the object to refresh the value of the extended draw size. The result will be saved in obj. @param obj pointer to an object
lv_obj_refresh_self_size
Handle if the size of the internal (“virtual”) content of an object has changed. @param obj pointer to an object @return false: nothing happened; true: refresh happened
lv_obj_refresh_style
Notify an object and its children about its style is modified. @param obj pointer to an object @param part the part whose style was changed. E.g. LV_PART_ANY, LV_PART_MAIN @param prop LV_STYLE_PROP_ANY or an LV_STYLE_... property. It is used to optimize what needs to be refreshed. LV_STYLE_PROP_INV to perform only a style cache update
lv_obj_remove_event
lv_obj_remove_event_cb
Remove an event_cb from an object @param obj pointer to a obj @param event_cb the event_cb of the event to remove @return the count of the event removed
lv_obj_remove_event_cb_with_user_data
Remove an event_cb with user_data @param obj pointer to a obj @param event_cb the event_cb of the event to remove @param user_data user_data @return the count of the event removed
lv_obj_remove_event_dsc
lv_obj_remove_flag
Remove one or more flags @param obj pointer to an object @param f OR-ed values from lv_obj_flag_t to clear.
lv_obj_remove_from_subject
Remove Observers associated with Widget obj from specified subject or all Subjects. @param obj pointer to Widget whose Observers should be removed @param subject Subject to remove Widget from, or NULL to remove from all Subjects @note This function can be used e.g. when a Widget’s Subject(s) needs to be replaced by other Subject(s)
lv_obj_remove_local_style_prop
Remove a local style property from a part of an object with a given state. @param obj pointer to an object @param prop a style property to remove. @param selector OR-ed value of parts and state for which the style should be removed @return true the property was found and removed; false: the property was not found
lv_obj_remove_state
Remove one or more states to the object. The other state bits will remain unchanged. If specified in the styles, transition animation will be started from the previous state to the current. @param obj pointer to an object @param state the states to add. E.g LV_STATE_PRESSED | LV_STATE_FOCUSED
lv_obj_remove_style
Remove a style from an object. @param obj pointer to an object @param style pointer to a style to remove. Can be NULL to check only the selector @param selector OR-ed values of states and a part to remove only styles with matching selectors. LV_STATE_ANY and LV_PART_ANY can be used
lv_obj_remove_style_all
Remove all styles from an object @param obj pointer to an object
lv_obj_remove_theme
Remove all styles added by a theme from a widget @param selector OR-ed values of states and a part to remove only styles with matching selectors. LV_STATE_ANY and LV_PART_ANY can be used @param obj pointer to a widget
lv_obj_replace_style
Replaces a style of an object, preserving the order of the style stack (local styles and transitions are ignored). @param obj pointer to an object @param old_style pointer to a style to replace. @param new_style pointer to a style to replace the old style with. @param selector OR-ed values of states and a part to replace only styles with matching selectors. LV_STATE_ANY and LV_PART_ANY can be used
lv_obj_report_style_change
Notify all object if a style is modified @param style pointer to a style. Only the objects with this style will be notified (NULL to notify all objects)
lv_obj_reset_transform
Reset the transform matrix of an object to identity matrix @param obj pointer to an object @note LV_DRAW_TRANSFORM_USE_MATRIX needs to be enabled.
lv_obj_scroll_by
Scroll by given amount of pixels. @param obj pointer to scrollable Widget to scroll @param dx pixels to scroll horizontally @param dy pixels to scroll vertically @param anim_en LV_ANIM_ON: scroll with animation; LV_ANIM_OFF: scroll immediately @note > 0 value means scroll right/bottom (show the more content on the right/bottom) @note e.g. dy = -20 means scroll down 20 px
lv_obj_scroll_by_bounded
Scroll by given amount of pixels. dx and dy will be limited internally to allow scrolling only on the content area. @param obj pointer to scrollable Widget to scroll @param dx pixels to scroll horizontally @param dy pixels to scroll vertically @param anim_en LV_ANIM_ON: scroll with animation; LV_ANIM_OFF: scroll immediately @note e.g. dy = -20 means scroll down 20 px
lv_obj_scroll_by_raw
Low level function to scroll by given x and y coordinates. LV_EVENT_SCROLL is sent. @param obj pointer to an object to scroll @param x pixels to scroll horizontally @param y pixels to scroll vertically @return LV_RESULT_INVALID: to object was deleted in LV_EVENT_SCROLL; LV_RESULT_OK: if the object is still valid
lv_obj_scroll_to
Scroll to given coordinate on Widget. x and y will be limited internally to allow scrolling only on the content area. @param obj pointer to scrollable Widget to scroll @param x pixels to scroll horizontally @param y pixels to scroll vertically @param anim_en LV_ANIM_ON: scroll with animation; LV_ANIM_OFF: scroll immediately
lv_obj_scroll_to_view
Scroll obj’s parent Widget until obj becomes visible. @param obj pointer to Widget to scroll into view @param anim_en LV_ANIM_ON: scroll with animation; LV_ANIM_OFF: scroll immediately
lv_obj_scroll_to_view_recursive
Scroll obj’s parent Widgets recursively until obj becomes visible. Widget will be scrolled into view even it has nested scrollable parents. @param obj pointer to Widget to scroll into view @param anim_en LV_ANIM_ON: scroll with animation; LV_ANIM_OFF: scroll immediately
lv_obj_scroll_to_x
Scroll to X coordinate on Widget. x will be limited internally to allow scrolling only on the content area. @param obj pointer to scrollable Widget to scroll @param x pixels to scroll horizontally @param anim_en LV_ANIM_ON: scroll with animation; LV_ANIM_OFF: scroll immediately
lv_obj_scroll_to_y
Scroll to Y coordinate on Widget. y will be limited internally to allow scrolling only on the content area. @param obj pointer to scrollable Widget to scroll @param y pixels to scroll vertically @param anim_en LV_ANIM_ON: scroll with animation; LV_ANIM_OFF: scroll immediately
lv_obj_scrollbar_invalidate
Invalidate the area of the scrollbars @param obj pointer to Widget
lv_obj_send_event
Send an event to the object @param obj pointer to an object @param event_code the type of the event from lv_event_t @param param arbitrary data depending on the widget type and the event. (Usually NULL) @return LV_RESULT_OK: obj was not deleted in the event; LV_RESULT_INVALID: obj was deleted in the event_code
lv_obj_set_align
Change the alignment of an object. @param obj pointer to an object to align @param align type of alignment (see ‘lv_align_t’ enum) LV_ALIGN_OUT_... can’t be used.
lv_obj_set_content_height
Set the height reduced by the top and bottom padding and the border width. @param obj pointer to an object @param h the height without paddings in pixels
lv_obj_set_content_width
Set the width reduced by the left and right padding and the border width. @param obj pointer to an object @param w the width without paddings in pixels
lv_obj_set_ext_click_area
Set the size of an extended clickable area @param obj pointer to an object @param size extended clickable area in all 4 directions [px]
lv_obj_set_flag
Set add or remove one or more flags. @param obj pointer to an object @param f OR-ed values from lv_obj_flag_t to update. @param v true: add the flags; false: remove the flags
lv_obj_set_flex_align
Set how to place (where to align) the items and tracks @param obj pointer to an object. The parent must have flex layout else nothing will happen. @param main_place where to place the items on main axis (in their track). Any value of lv_flex_align_t. @param cross_place where to place the item in their track on the cross axis. LV_FLEX_ALIGN_START/END/CENTER @param track_cross_place where to place the tracks in the cross direction. Any value of lv_flex_align_t.
lv_obj_set_flex_flow
Set how the item should flow @param obj pointer to an object. The parent must have flex layout else nothing will happen. @param flow an element of lv_flex_flow_t.
lv_obj_set_flex_grow
Sets the width or height (on main axis) to grow the object in order fill the free space @param obj pointer to an object. The parent must have flex layout else nothing will happen. @param grow a value to set how much free space to take proportionally to other growing items.
lv_obj_set_grid_align
lv_obj_set_grid_cell
Set the cell of an object. The object’s parent needs to have grid layout, else nothing will happen @param obj pointer to an object @param column_align the vertical alignment in the cell. LV_GRID_START/END/CENTER/STRETCH @param col_pos column ID @param col_span number of columns to take (>= 1) @param row_align the horizontal alignment in the cell. LV_GRID_START/END/CENTER/STRETCH @param row_pos row ID @param row_span number of rows to take (>= 1)
lv_obj_set_grid_dsc_array
lv_obj_set_height
Set the height of an object @param obj pointer to an object @param h the new height @note possible values are: pixel simple set the size accordingly LV_SIZE_CONTENT set the size to involve all children in the given direction lv_pct(x) to set size in percentage of the parent’s content area size (the size without paddings). x should be in [0..1000]% range
lv_obj_set_layout
Set a layout for an object @param obj pointer to an object @param layout pointer to a layout descriptor to set
lv_obj_set_local_style_prop
Set local style property on an object’s part and state. @param obj pointer to an object @param prop the property @param value value of the property. The correct element should be set according to the type of the property @param selector OR-ed value of parts and state for which the style should be set
lv_obj_set_parent
Move the parent of an object. The relative coordinates will be kept.
lv_obj_set_pos
Set the position of an object relative to the set alignment. @param obj pointer to an object @param x new x coordinate @param y new y coordinate @note With default alignment it’s the distance from the top left corner @note E.g. LV_ALIGN_CENTER alignment it’s the offset from the center of the parent @note The position is interpreted on the content area of the parent @note The values can be set in pixel or in percentage of parent size with lv_pct(v)
lv_obj_set_radio_button
Allow only one RADIO_BUTTON sibling to be checked @param obj pointer to a widget @param en enable or disable radio button behavior
lv_obj_set_scroll_dir
Set direction Widget can be scrolled @param obj pointer to Widget @param dir one or more bit-wise OR-ed values of lv_dir_t enumeration
lv_obj_set_scroll_snap_x
Set where to snap the children when scrolling ends horizontally @param obj pointer to Widget @param align value from lv_scroll_snap_t enumeration
lv_obj_set_scroll_snap_y
Set where to snap the children when scrolling ends vertically @param obj pointer to Widget @param align value from lv_scroll_snap_t enumeration
lv_obj_set_scrollbar_mode
Set how the scrollbars should behave. @param obj pointer to Widget @param mode LV_SCROLL_MODE_ON/OFF/AUTO/ACTIVE
lv_obj_set_size
Set the size of an object. @param obj pointer to an object @param w the new width @param h the new height @note possible values are: pixel simple set the size accordingly LV_SIZE_CONTENT set the size to involve all children in the given direction lv_pct(x) to set size in percentage of the parent’s content area size (the size without paddings). x should be in [0..1000]% range
lv_obj_set_state
Add or remove one or more states to the object. The other state bits will remain unchanged. @param obj pointer to an object @param state the states to add. E.g LV_STATE_PRESSED | LV_STATE_FOCUSED @param v true: add the states; false: remove the states
lv_obj_set_style_align
Set the alignment which tells from which point of the parent the X and Y coordinates should be interpreted. Possible values are: LV_ALIGN_DEFAULT, LV_ALIGN_TOP_LEFT/MID/RIGHT, LV_ALIGN_BOTTOM_LEFT/MID/RIGHT, LV_ALIGN_LEFT/RIGHT_MID, LV_ALIGN_CENTER. LV_ALIGN_DEFAULT means LV_ALIGN_TOP_LEFT with LTR base direction and LV_ALIGN_TOP_RIGHT with RTL base direction. Default: LV_ALIGN_DEFAULT, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_anim
Animation template for Widget’s animation. Should be a pointer to lv_anim_t. The animation parameters are widget specific, e.g. animation time could be the E.g. blink time of the cursor on the Text Area or scroll time of a roller. See Widgets’ documentation to learn more. Default: NULL, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Pointer to animation descriptor @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_anim_duration
Animation duration in milliseconds. Its meaning is widget specific. E.g. blink time of the cursor on the Text Area or scroll time of a roller. See Widgets’ documentation to learn more. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_arc_color
Set color of arc. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Color to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_arc_image_src
Set an image from which arc will be masked out. It’s useful to display complex effects on the arcs. Can be a pointer to lv_image_dsc_t or a path to a file. Default: NULL, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Pointer to image source @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_arc_opa
Set opacity of arcs. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_arc_rounded
Make end points of arcs rounded. true: rounded, false: perpendicular line ending. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_arc_width
Set width (thickness) of arcs in pixels. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_base_dir
Set base direction of Widget. Possible values are LV_BIDI_DIR_LTR/RTL/AUTO. Default: LV_BASE_DIR_AUTO, inherited: Yes, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bg_color
Set background color of Widget. Default: 0xffffff, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Color to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bg_grad
Set gradient definition. The pointed instance must exist while Widget is alive. NULL to disable. It wraps BG_GRAD_COLOR, BG_GRAD_DIR, BG_MAIN_STOP and BG_GRAD_STOP into one descriptor and allows creating gradients with more colors as well. If it’s set other gradient related properties will be ignored. Default: NULL, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Pointer to gradient descriptor @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bg_grad_color
Set gradient color of the background. Used only if grad_dir is not LV_GRAD_DIR_NONE. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Color to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bg_grad_dir
Set direction of the gradient of the background. Possible values are LV_GRAD_DIR_NONE/HOR/VER. Default: LV_GRAD_DIR_NONE, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bg_grad_opa
Set opacity of the second gradient color. Default: 255, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bg_grad_stop
Set point from which background’s gradient color should start. 0 means to top/left side, 255 the bottom/right side, 128 the center, and so on. Default: 255, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bg_image_opa
Set opacity of the background image. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bg_image_recolor
Set a color to mix to the background image. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Color to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bg_image_recolor_opa
Set intensity of background image recoloring. Value 0, LV_OPA_0 or LV_OPA_TRANSP means no mixing, 255, LV_OPA_100 or LV_OPA_COVER means full recoloring, other values or LV_OPA_10, LV_OPA_20, etc are interpreted proportionally. Default: LV_OPA_TRANSP, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bg_image_src
Set a background image. Can be a pointer to lv_image_dsc_t, a path to a file or an LV_SYMBOL_.... Default: NULL, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Pointer to image source @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bg_image_tiled
If enabled the background image will be tiled. Possible values are true or false. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bg_main_opa
Set opacity of the first gradient color. Default: 255, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bg_main_stop
Set point from which background color should start for gradients. 0 means to top/left side, 255 the bottom/right side, 128 the center, and so on. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bg_opa
Set opacity of the background. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_TRANSP, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_bitmap_mask_src
If set, a layer will be created for the widget and the layer will be masked with this A8 bitmap mask. Default: NULL, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Pointer to A8 bitmap mask @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_blend_mode
Describes how to blend the colors to the background. Possible values are LV_BLEND_MODE_NORMAL/ADDITIVE/SUBTRACTIVE/MULTIPLY/DIFFERENCE. Default: LV_BLEND_MODE_NORMAL, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_blur_backdrop
If true the background of the widget will be blurred. The part should have < 100% opacity to make it visible. If false the given part will be blurred when it’s rendered but before drawing the children. Default: false, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_blur_quality
Setting to LV_BLUR_QUALITY_SPEED the blurring algorithm will prefer speed over quality. LV_BLUR_QUALITY_PRECISION will force using higher quality but slower blur. With LV_BLUR_QUALITY_AUTO the quality will be selected automatically. Default: LV_BLUR_QUALITY_AUTO, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_blur_radius
Sets the intensity of blurring. Applied on each lv_part separately before the children are rendered. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_border_color
Set color of the border. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Color to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_border_opa
Set opacity of the border. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_border_post
Sets whether the border should be drawn before or after the children are drawn. true: after children, false: before children. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_border_side
Set only which side(s) the border should be drawn. Possible values are LV_BORDER_SIDE_NONE/TOP/BOTTOM/LEFT/RIGHT/INTERNAL. OR-ed values can be used as well, e.g. LV_BORDER_SIDE_TOP | LV_BORDER_SIDE_LEFT. Default: LV_BORDER_SIDE_FULL, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_border_width
Set width of the border. Only pixel values can be used. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_clip_corner
Enable clipping of content that overflows rounded corners of parent Widget. Can be true or false. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_color_filter_dsc
Mix a color with all colors of the Widget. Default: NULL, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Pointer to color-filter descriptor @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_color_filter_opa
The intensity of mixing of color filter. Default: LV_OPA_TRANSP, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_drop_shadow_color
Set the color of the shadow. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Color to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_drop_shadow_offset_x
Set an offset on the shadow in pixels in X direction. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_drop_shadow_offset_y
Set an offset on the shadow in pixels in Y direction. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_drop_shadow_opa
Set the opacity of the shadow. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_drop_shadow_quality
Setting to LV_BLUR_QUALITY_SPEED the blurring algorithm will prefer speed over quality. LV_BLUR_QUALITY_PRECISION will force using higher quality but slower blur. With LV_BLUR_QUALITY_AUTO the quality will be selected automatically. Default: LV_BLUR_QUALITY_PRECISION, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_drop_shadow_radius
Sets the intensity of blurring. Applied on each lv_part separately before the children are rendered. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_flex_cross_place
Defines how to align the children perpendicular to the direction of flex flow. Default: LV_FLEX_ALIGN_NONE, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_flex_flow
Defines in which direction the flex layout should arrange the children. Default: LV_FLEX_FLOW_NONE, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_flex_grow
Defines how much space to take proportionally from the free space of the Widget’s track. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_flex_main_place
Defines how to align the children in the direction of flex flow. Default: LV_FLEX_ALIGN_NONE, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_flex_track_place
Defines how to align the tracks of the flow. Default: LV_FLEX_ALIGN_NONE, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_grid_cell_column_pos
Set column in which Widget should be placed. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_grid_cell_column_span
Set how many columns Widget should span. Needs to be >= 1. Default: 1, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_grid_cell_row_pos
Set row in which Widget should be placed. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_grid_cell_row_span
Set how many rows Widget should span. Needs to be >= 1. Default: 1, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_grid_cell_x_align
Set how to align Widget horizontally. Default: LV_GRID_ALIGN_START, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_grid_cell_y_align
Set how to align Widget vertically. Default: LV_GRID_ALIGN_START, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_grid_column_align
Defines how to distribute the columns. Default: LV_GRID_ALIGN_START, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_grid_column_dsc_array
An array to describe the columns of the grid. Should be LV_GRID_TEMPLATE_LAST terminated. Default: NULL, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Pointer to grid-column descriptor array @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_grid_row_align
Defines how to distribute the rows. Default: LV_GRID_ALIGN_START, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_grid_row_dsc_array
An array to describe the rows of the grid. Should be LV_GRID_TEMPLATE_LAST terminated. Default: NULL, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Pointer to grid-row descriptor array @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_height
Sets height of Widget. Pixel, percentage and LV_SIZE_CONTENT can be used. Percentage values are relative to the height of the parent’s content area. Default: Widget dependent, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_image_colorkey
Set image colorkey definition. The lv_image_colorkey_t contains two color values: high_color and low_color. the color of pixels ranging from low_color to high_color will be transparent. Default: NULL, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Pointer to image color key @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_image_opa
Set opacity of an image. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_image_recolor
Set color to mix with the image. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Color to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_image_recolor_opa
Set intensity of color mixing. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_layout
Set layout of Widget. Children will be repositioned and resized according to policies set for the layout. For possible values see documentation of the layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_length
Its meaning depends on the type of Widget. For example in case of lv_scale it means the length of the ticks. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_line_color
Set color of lines. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Color to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_line_dash_gap
Set gap between dashes in pixels. Note that dash works only on horizontal and vertical lines. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_line_dash_width
Set width of dashes in pixels. Note that dash works only on horizontal and vertical lines. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_line_opa
Set opacity of lines. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_line_rounded
Make end points of the lines rounded. true: rounded, false: perpendicular line ending. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_line_width
Set width of lines in pixels. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_margin_bottom
Sets margin on the bottom. Widget will keep this space from its siblings in layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_margin_left
Sets margin on the left. Widget will keep this space from its siblings in layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_margin_right
Sets margin on the right. Widget will keep this space from its siblings in layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_margin_top
Sets margin on the top. Widget will keep this space from its siblings in layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_max_height
Sets a maximal height. Pixel and percentage values can be used. Percentage values are relative to the height of the parent’s content area. Default: LV_COORD_MAX, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_max_width
Sets a maximal width. Pixel and percentage values can be used. Percentage values are relative to the width of the parent’s content area. Default: LV_COORD_MAX, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_min_height
Sets a minimal height. Pixel and percentage values can be used. Percentage values are relative to the height of the parent’s content area. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_min_width
Sets a minimal width. Pixel and percentage values can be used. Percentage values are relative to the width of the parent’s content area. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_opa
Scale down all opacity values of the Widget by this factor. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: Yes, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_opa_layered
First draw Widget on the layer, then scale down layer opacity factor. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: Yes, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_outline_color
Set color of outline. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Color to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_outline_opa
Set opacity of outline. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_outline_pad
Set padding of outline, i.e. the gap between Widget and the outline. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_outline_width
Set width of outline in pixels. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_pad_bottom
Sets the padding on the bottom. It makes the content area smaller in this direction. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_pad_column
Sets the padding between the columns. Used by the layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_pad_left
Sets the padding on the left. It makes the content area smaller in this direction. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_pad_radial
Pad text labels away from the scale ticks/remainder of the LV_PART_. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_pad_right
Sets the padding on the right. It makes the content area smaller in this direction. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_pad_row
Sets the padding between the rows. Used by the layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_pad_top
Sets the padding on the top. It makes the content area smaller in this direction. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_radial_offset
Move start point of object (e.g. scale tick) radially. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_radius
Set radius on every corner. The value is interpreted in pixels (>= 0) or LV_RADIUS_CIRCLE for max radius. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_recolor
Set a color to mix to the obj. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Color to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_recolor_opa
Sets the intensity of color mixing. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent. A value of 255, LV_OPA_100 or LV_OPA_COVER means fully opaque. Intermediate values like LV_OPA_10, LV_OPA_20, etc result in semi-transparency. Default: LV_OPA_TRANSP, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_rotary_sensitivity
Adjust sensitivity for rotary encoders in 1/256 unit. It means, 128: slow down the rotary to half, 512: speeds up to double, 256: no change. Default: 256, inherited: Yes, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_shadow_color
Set color of shadow. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Color to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_shadow_offset_x
Set an offset on the shadow in pixels in X direction. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_shadow_offset_y
Set an offset on the shadow in pixels in Y direction. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_shadow_opa
Set opacity of shadow. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_shadow_spread
Make shadow calculation to use a larger or smaller rectangle as base. The value can be in pixels to make the area larger/smaller. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_shadow_width
Set width of the shadow in pixels. The value should be >= 0. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_text_align
Set how to align the lines of the text. Note that it doesn’t align the Widget itself, only the lines inside the Widget. Possible values are LV_TEXT_ALIGN_LEFT/CENTER/RIGHT/AUTO. LV_TEXT_ALIGN_AUTO detect the text base direction and uses left or right alignment accordingly. Default: LV_TEXT_ALIGN_AUTO, inherited: Yes, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_text_color
Sets color of text. Default: 0x000000, inherited: Yes, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Color to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_text_decor
Set decoration for the text. Possible values are LV_TEXT_DECOR_NONE/UNDERLINE/STRIKETHROUGH. OR-ed values can be used as well. Default: LV_TEXT_DECOR_NONE, inherited: Yes, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_text_font
Set font of text (a pointer lv_font_t *). Default: LV_FONT_DEFAULT, inherited: Yes, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Pointer to font @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_text_letter_space
Set letter space in pixels. Default: 0, inherited: Yes, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_text_line_space
Set line space in pixels. Default: 0, inherited: Yes, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_text_opa
Set opacity of text. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: Yes, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_text_outline_stroke_color
Sets the color of letter outline stroke. Default: 0x000000, inherited: Yes, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Color to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_text_outline_stroke_opa
Set the opacity of the letter outline stroke. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: Yes, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_text_outline_stroke_width
Set the letter outline stroke width in pixels. Default: 0, inherited: Yes, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_transform_height
Make Widget higher on both sides with this value. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to Widget’s height. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_transform_pivot_x
Set pivot point’s X coordinate for transformations. Relative to Widget’s top left corner. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_transform_pivot_y
Set pivot point’s Y coordinate for transformations. Relative to Widget’s top left corner. Default: 0, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_transform_rotation
Rotate Widget. The value is interpreted in 0.1 degree units. E.g. 450 means 45 deg. Default: 0, inherited: No, layout: Yes, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_transform_scale_x
Zoom Widget horizontally. The value 256 (or LV_SCALE_NONE) means normal size, 128 half size, 512 double size, and so on. Default: 0, inherited: No, layout: Yes, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_transform_scale_y
Zoom Widget vertically. The value 256 (or LV_SCALE_NONE) means normal size, 128 half size, 512 double size, and so on. Default: 0, inherited: No, layout: Yes, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_transform_skew_x
Skew Widget horizontally. The value is interpreted in 0.1 degree units. E.g. 450 means 45 deg. Default: 0, inherited: No, layout: Yes, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_transform_skew_y
Skew Widget vertically. The value is interpreted in 0.1 degree units. E.g. 450 means 45 deg. Default: 0, inherited: No, layout: Yes, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_transform_width
Make Widget wider on both sides with this value. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to Widget’s width. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_transition
An initialized lv_style_transition_dsc_t to describe a transition. Default: NULL, inherited: No, layout: No, ext. draw: No. @param obj Pointer to Widget @param value Pointer to transition descriptor @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_translate_radial
Move object around the centre of the parent object (e.g. around the circumference of a scale). Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_translate_x
Move Widget with this value in X direction. Applied after layouts, aligns and other positioning. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to Widget’s width. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_translate_y
Move Widget with this value in Y direction. Applied after layouts, aligns and other positioning. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to Widget’s height. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_width
Sets width of Widget. Pixel, percentage and LV_SIZE_CONTENT values can be used. Percentage values are relative to the width of the parent’s content area. Default: Widget dependent, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_x
Set X coordinate of Widget considering the align setting. Pixel and percentage values can be used. Percentage values are relative to the width of the parent’s content area. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_style_y
Set Y coordinate of Widget considering the align setting. Pixel and percentage values can be used. Percentage values are relative to the height of the parent’s content area. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param obj Pointer to Widget @param value Value to submit @param selector A joint type for lv_part_t and lv_state_t. Example values: - 0: means LV_PART_MAIN | LV_STATE_DEFAULT - LV_STATE_PRESSED - LV_PART_KNOB - LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED
lv_obj_set_subject_increment_event_max_value
Set the maximum subject value to set by the event @param obj pointer to the Widget to which the event is attached @param dsc pointer to the descriptor returned by lv_obj_add_subject_increment_event() @param max_value the maximum value to set
lv_obj_set_subject_increment_event_min_value
Set the minimum subject value to set by the event @param obj pointer to the Widget to which the event is attached @param dsc pointer to the descriptor returned by lv_obj_add_subject_increment_event() @param min_value the minimum value to set
lv_obj_set_subject_increment_event_rollover
Set what to do when the min/max value is crossed. @param obj pointer to the Widget to which the event is attached @param dsc pointer to the descriptor returned by lv_obj_add_subject_increment_event() @param rollover false: stop at the min/max value; true: jump to the other end @note the subject also can have min/max values and always the smaller range will be considered
lv_obj_set_transform
Set the transform matrix of an object @param obj pointer to an object @param matrix pointer to a matrix to set @note LV_DRAW_TRANSFORM_USE_MATRIX needs to be enabled.
lv_obj_set_user_data
Set the user_data field of the object @param obj pointer to an object @param user_data pointer to the new user_data.
lv_obj_set_width
Set the width of an object @param obj pointer to an object @param w the new width @note possible values are: pixel simple set the size accordingly LV_SIZE_CONTENT set the size to involve all children in the given direction lv_pct(x) to set size in percentage of the parent’s content area size (the size without paddings). x should be in [0..1000]% range
lv_obj_set_x
Set the x coordinate of an object @param obj pointer to an object @param x new x coordinate @note With default alignment it’s the distance from the top left corner @note E.g. LV_ALIGN_CENTER alignment it’s the offset from the center of the parent @note The position is interpreted on the content area of the parent @note The values can be set in pixel or in percentage of parent size with lv_pct(v)
lv_obj_set_y
Set the y coordinate of an object @param obj pointer to an object @param y new y coordinate @note With default alignment it’s the distance from the top left corner @note E.g. LV_ALIGN_CENTER alignment it’s the offset from the center of the parent @note The position is interpreted on the content area of the parent @note The values can be set in pixel or in percentage of parent size with lv_pct(v)
lv_obj_stop_scroll_anim
Stop scrolling the current object
lv_obj_style_apply_color_filter
Used internally for color filtering
lv_obj_style_apply_recolor
Apply recolor effect to the input color based on the object’s style properties. @param obj the target object containing recolor style properties @param part the part to retrieve recolor styles. @param color the original color to be modified @return the blended color after applying recolor and opacity
lv_obj_style_create_transition
Used internally to create a style transition @param obj @param part @param prev_state @param new_state @param tr
lv_obj_style_deinit
Deinitialize the object related style manager module. Called by LVGL in lv_deinit()
lv_obj_style_get_disabled
Get if a given style is disabled on an object. @param obj pointer to an object @param style pointer to a style @param selector the selector of a style (e.g. LV_STATE_PRESSED | LV_PART_KNOB) @return true: disable the style, false: enable the style
lv_obj_style_init
Initialize the object related style manager module. Called by LVGL in lv_init()
lv_obj_style_set_disabled
Temporary disable a style for a selector. It will look like is the style wasn’t added @param obj pointer to an object @param style pointer to a style @param selector the selector of a style (e.g. LV_STATE_PRESSED | LV_PART_KNOB) @param dis true: disable the style, false: enable the style
lv_obj_style_state_compare
Used internally to compare the appearance of an object in 2 states @param obj @param state1 @param state2 @return
lv_obj_swap
Swap the positions of two objects. When used in listboxes, it can be used to sort the listbox items. @param obj1 pointer to the first object @param obj2 pointer to the second object
lv_obj_transform_point
Transform a point using the angle and zoom style properties of an object @param obj pointer to an object whose style properties should be used @param p a point to transform, the result will be written back here too @param flags OR-ed valued of :cpp:enum:lv_obj_point_transform_flag_t
lv_obj_transform_point_array
Transform an array of points using the angle and zoom style properties of an object @param obj pointer to an object whose style properties should be used @param points the array of points to transform, the result will be written back here too @param count number of points in the array @param flags OR-ed valued of :cpp:enum:lv_obj_point_transform_flag_t
lv_obj_tree_walk
Iterate through all children of any object. @param start_obj start integrating from this object @param cb call this callback on the objects @param user_data pointer to any user related data (will be passed to cb)
lv_obj_update_layer_type
Update the layer type of a widget bayed on its current styles. The result will be stored in obj->spec_attr->layer_type @param obj the object whose layer should be updated
lv_obj_update_layout
Update the layout of an object. @param obj pointer to an object whose position and size needs to be updated
lv_obj_update_snap
Check children of obj and scroll obj to fulfill scroll_snap settings. @param obj Widget whose children need to be checked and snapped @param anim_en LV_ANIM_ON/OFF
lv_observer_get_target
Get target of an Observer. @param observer pointer to Observer @return pointer to saved target
lv_observer_get_target_obj
Get target Widget of Observer. This is the same as lv_observer_get_target(), except it returns target as an lv_obj_t *. @param observer pointer to Observer @return pointer to saved Widget target
lv_observer_get_user_data
Get Observer’s user data. @param observer pointer to Observer @return void pointer to saved user data
lv_observer_remove
Remove Observer from its Subject. @param observer pointer to Observer
lv_os_get_idle_percent
Set it for LV_SYSMON_GET_IDLE to show the CPU usage @return the idle percentage since the last call
lv_os_init
Initialize the OS layer
lv_palette_darken
lv_palette_lighten
lv_palette_main
lv_pct
Convert a percentage value to int32_t. Percentage values are stored in special range @param x the percentage (0..1000) @return a coordinate that stores the percentage
lv_pct_to_px
lv_point_array_transform
Transform an array of points @param points pointer to an array of points @param count number of points in the array @param angle angle with 0.1 resolutions (123 means 12.3°) @param scale_x horizontal zoom, 256 means 100% @param scale_y vertical zoom, 256 means 100% @param pivot pointer to the pivot point of the transformation @param zoom_first true: zoom first and rotate after that; else: opposite order
lv_point_from_precise
lv_point_precise_set
lv_point_precise_swap
lv_point_set
lv_point_swap
lv_point_to_precise
lv_point_transform
Transform a point @param point pointer to a point @param angle angle with 0.1 resolutions (123 means 12.3°) @param scale_x horizontal zoom, 256 means 100% @param scale_y vertical zoom, 256 means 100% @param pivot pointer to the pivot point of the transformation @param zoom_first true: zoom first and rotate after that; else: opposite order
lv_pow
Calculate the integer exponents. @param base @param exp @return base raised to the power exponent
lv_rand
Get a pseudo random number in the given range @param min the minimum value @param max the maximum value @return return the random number. min <= return_value <= max
lv_rand_set_seed
Set the seed of the pseudo random number generator @param seed a number to initialize the random generator
lv_rb_destroy
lv_rb_drop
lv_rb_drop_node
lv_rb_find
lv_rb_init
GLOBAL PROTOTYPES
lv_rb_insert
lv_rb_maximum
lv_rb_maximum_from
lv_rb_minimum
lv_rb_minimum_from
lv_rb_remove
lv_rb_remove_node
lv_realloc
Reallocate a memory with a new size. The old content will be kept. @param data_p pointer to an allocated memory. Its content will be copied to the new memory block and freed @param new_size the desired new size in byte @return pointer to the new memory, NULL on failure
lv_realloc_core
Used internally to execute a plain realloc operation @param p memory address to realloc @param new_size size in bytes to realloc
lv_reallocf
Reallocate a memory with a new size. The old content will be kept. In case of failure, the old pointer is free’d. @param data_p pointer to an allocated memory. Its content will be copied to the new memory block and freed @param new_size the desired new size in byte @return pointer to the new memory, NULL on failure
lv_refr_deinit
Deinitialize the screen refresh subsystem
lv_refr_get_disp_refreshing
Get the display which is being refreshed @return the display being refreshed
lv_refr_get_top_obj
Search the most top object which fully covers an area @param area_p pointer to an area @param obj the first object to start the searching (typically a screen) @return
lv_refr_init
Initialize the screen refresh subsystem
lv_refr_now
Redraw the invalidated areas now. Normally the redrawing is periodically executed in lv_timer_handler but a long blocking process can prevent the call of lv_timer_handler. In this case if the GUI is updated in the process (e.g. progress bar) this function can be called when the screen should be updated. @param disp pointer to display to refresh. NULL to refresh all displays.
lv_refr_set_disp_refreshing
Set the display which is being refreshed @param disp the display being refreshed
lv_roller_bind_value
Bind an integer Subject to a Roller’s value. @param obj pointer to Roller @param subject pointer to Subject @return pointer to newly-created Observer
lv_roller_create
Create a roller object @param parent pointer to an object, it will be the parent of the new roller. @return pointer to the created roller
lv_roller_get_option_count
Get the total number of options @param obj pointer to a roller object @return the total number of options
lv_roller_get_option_str
Get an option as a string. @param obj pointer to roller object @param option index of chosen option @param buf pointer to an array to store the string @param buf_size size of buf in bytes. 0: to ignore it. @return LV_RESULT_OK if option found
lv_roller_get_options
Get the options of a roller @param obj pointer to roller object @return the options separated by ‘\n’-s (E.g. “Option1\nOption2\nOption3”)
lv_roller_get_selected
Get the index of the selected option @param obj pointer to a roller object @return index of the selected option (0 … number of option - 1);
lv_roller_get_selected_str
Get the current selected option as a string. @param obj pointer to roller object @param buf pointer to an array to store the string @param buf_size size of buf in bytes. 0: to ignore it.
lv_roller_set_options
Set the options on a roller @param obj pointer to roller object @param options a string with ‘\n’ separated options. E.g. “One\nTwo\nThree” @param mode LV_ROLLER_MODE_NORMAL or LV_ROLLER_MODE_INFINITE
lv_roller_set_selected
Set the selected option @param obj pointer to a roller object @param sel_opt index of the selected option (0 … number of option - 1); @param anim LV_ANIM_ON: set with animation; LV_ANIM_OFF set immediately
lv_roller_set_selected_str
Sets the given string as the selection on the roller. Does not alter the current selection on failure. @param obj pointer to roller object @param sel_opt pointer to the string you want to set as an option @param anim LV_ANIM_ON: set with animation; LV_ANIM_OFF set immediately @return true if set successfully and false if the given string does not exist as an option in the roller
lv_roller_set_visible_row_count
Set the height to show the given number of rows (options) @param obj pointer to a roller object @param row_cnt number of desired visible rows
lv_scale_add_section
Add a Section to specified Scale. Section will not be drawn until a valid range is set for it using lv_scale_set_section_range(). @param obj pointer to Scale Widget @return pointer to new Section
lv_scale_bind_section_max_value
Bind an integer subject to a scales section maximum value @param obj pointer to an Scale @param section pointer to a Scale section @param subject pointer to a Subject @return pointer to newly-created Observer
lv_scale_bind_section_min_value
Bind an integer subject to a scales section minimum value @param obj pointer to a Scale @param section pointer to a Scale section @param subject pointer to a Subject @return pointer to newly-created Observer
lv_scale_create
Create an scale object @param parent pointer to an object, it will be the parent of the new scale @return pointer to created Scale Widget
lv_scale_get_angle_range
Get Scale’s range in degrees @param obj pointer to Scale Widget @return Scale’s angle_range
lv_scale_get_label_show
Gets label visibility @param obj pointer to Scale Widget @return true if tick label is enabled, false otherwise
lv_scale_get_major_tick_every
Get how often the major tick will be drawn @param obj pointer to Scale Widget @return Scale major tick every count
lv_scale_get_mode
Get scale mode. See lv_scale_mode_t @param obj pointer to Scale Widget @return Scale mode
lv_scale_get_range_max_value
Get maximum value for Scale @param obj pointer to Scale Widget @return Scale’s maximum value
lv_scale_get_range_min_value
Get minimum value for Scale @param obj pointer to Scale Widget @return Scale’s minimum value
lv_scale_get_rotation
Get angular location of low end of Scale. @param obj pointer to Scale Widget @return Scale low end angular location
lv_scale_get_total_tick_count
Get scale total tick count (including minor and major ticks) @param obj pointer to Scale Widget @return Scale total tick count
lv_scale_section_set_range
DEPRECATED, use lv_scale_set_section_range instead. Set range for specified Scale Section @param section pointer to Section @param range_min Section new minimum value @param range_max Section new maximum value
lv_scale_section_set_style
DEPRECATED, use lv_scale_set_section_style_main/indicator/items instead. Set style for specified part of Section. @param section pointer to Section @param part the part of the Scale the style will apply to, e.g. LV_PART_INDICATOR @param section_part_style pointer to style to apply
lv_scale_set_angle_range
Set angle between the low end and the high end of the Scale. (Applies only to round Scales.) @param obj pointer to Scale Widget @param max_angle angle in degrees from Scale minimum where top end of Scale will be drawn
lv_scale_set_draw_ticks_on_top
Draw Scale ticks on top of all other parts. @param obj pointer to Scale Widget @param en true: enable draw ticks on top of all parts
lv_scale_set_image_needle_value
Point image needle to specified value; image must point to the right. E.g. -O——> @param obj pointer to Scale Widget @param needle_img pointer to needle’s Image @param value Scale value needle will point to
lv_scale_set_label_show
Sets label visibility. @param obj pointer to Scale Widget @param show_label true/false to enable tick label
lv_scale_set_line_needle_value
Point line needle to specified value. @param obj pointer to Scale Widget @param needle_line needle_line of the Scale. The line points will be allocated and managed by the Scale unless the line point array was previously set using lv_line_set_points_mutable. @param needle_length length of the needle - needle_length>0: needle_length=needle_length; - needle_length<0: needle_length=radius-|needle_length|; @param value Scale value needle will point to
lv_scale_set_major_tick_every
Sets how often major ticks are drawn. @param obj pointer to Scale Widget @param major_tick_every the new count for major tick drawing
lv_scale_set_max_value
Set maximum values on Scale. @param obj pointer to Scale Widget @param min minimum value of Scale
lv_scale_set_min_value
Set minimum values on Scale. @param obj pointer to Scale Widget @param min minimum value of Scale
lv_scale_set_mode
Set scale mode. See lv_scale_mode_t. @param obj pointer to Scale Widget @param mode the new scale mode
lv_scale_set_post_draw
Draw Scale after all its children are drawn. @param obj pointer to Scale Widget @param en true: enable post draw
lv_scale_set_range
Set minimum and maximum values on Scale. @param obj pointer to Scale Widget @param min minimum value of Scale @param max maximum value of Scale
lv_scale_set_rotation
Set angular offset from the 3-o’clock position of the low end of the Scale. (Applies only to round Scales.) @param obj pointer to Scale Widget @param rotation clockwise angular offset (in degrees) from the 3-o’clock position of the low end of the scale; negative and >360 values are first normalized to range [0..360]. Examples: - 0 = 3 o’clock (right side) - 30 = 4 o’clock - 60 = 5 o’clock - 90 = 6 o’clock - 135 = midway between 7 and 8 o’clock (default) - 180 = 9 o’clock - 270 = 12 o’clock - 300 = 1 o’clock - 330 = 2 o’clock - -30 = 2 o’clock - 390 = 4 o’clock
lv_scale_set_section_max_value
Set the maximum value of a scale section @param scale pointer to scale @param section pointer to section @param max the section’s new maximum value
lv_scale_set_section_min_value
Set the minimum value of a scale section @param scale pointer to scale @param section pointer to section @param min the section’s new minimum value
lv_scale_set_section_range
Set the range of a scale section @param scale pointer to scale @param section pointer to section @param range_min the section’s new minimum value @param range_max the section’s new maximum value
lv_scale_set_section_style_indicator
Set the style of the major ticks and label on a section. @param scale pointer to scale @param section pointer to section @param style point to a style
lv_scale_set_section_style_items
Set the style of the minor ticks on a section. @param scale pointer to scale @param section pointer to section @param style point to a style
lv_scale_set_section_style_main
Set the style of the line on a section. @param scale pointer to scale @param section pointer to section @param style point to a style
lv_scale_set_text_src
Set custom text source for major ticks labels. @param obj pointer to Scale Widget @param txt_src pointer to an array of strings which will be display at major ticks; last element must be a NULL pointer.
lv_scale_set_total_tick_count
Set scale total tick count (including minor and major ticks). @param obj pointer to Scale Widget @param total_tick_count New total tick count
lv_screen_active
Get the active screen of the default display @return pointer to the active screen
lv_screen_load
Load a screen on the default display @param scr pointer to a screen
lv_screen_load_anim
Switch screen with animation @param scr pointer to the new screen to load @param anim_type type of the animation from lv_screen_load_anim_t, e.g. LV_SCREEN_LOAD_ANIM_MOVE_LEFT @param time time of the animation @param delay delay before the transition @param auto_del true: automatically delete the old screen
lv_sleep_ms
Sleeps the current thread by an amount of milliseconds. @param ms amount of milliseconds to sleep the current thread.
lv_slider_bind_value
Bind an integer or float Subject to a Slider’s value. @param obj pointer to Slider @param subject pointer to Subject @return pointer to newly-created Observer
lv_slider_create
Create a slider object @param parent pointer to an object, it will be the parent of the new slider. @return pointer to the created slider
lv_slider_get_left_value
Get the value of the left knob of a slider @param obj pointer to a slider object @return the value of the left knob of the slider
lv_slider_get_max_value
Get the maximum value of a slider @param obj pointer to a slider object @return the maximum value of the slider
lv_slider_get_min_value
Get the minimum value of a slider @param obj pointer to a slider object @return the minimum value of the slider
lv_slider_get_mode
Get the mode of the slider. @param slider pointer to a slider object @return see lv_slider_mode_t
lv_slider_get_orientation
Get the orientation of slider. @param obj pointer to a slider object @return slider orientation from lv_slider_orientation_t
lv_slider_get_value
Get the value of the main knob of a slider @param obj pointer to a slider object @return the value of the main knob of the slider
lv_slider_is_dragged
Give the slider is being dragged or not @param obj pointer to a slider object @return true: drag in progress false: not dragged
lv_slider_is_symmetrical
Give the slider is in symmetrical mode or not @param obj pointer to slider object @return true: in symmetrical mode false : not in
lv_slider_set_max_value
Set the maximum values of a bar @param obj pointer to the slider object @param max maximum value
lv_slider_set_min_value
Set the minimum values of a bar @param obj pointer to the slider object @param min minimum value
lv_slider_set_mode
Set the mode of slider. @param obj pointer to a slider object @param mode the mode of the slider. See lv_slider_mode_t
lv_slider_set_orientation
Set the orientation of slider. @param obj pointer to a slider object @param orientation slider orientation from lv_slider_orientation_t
lv_slider_set_range
Set the minimum and the maximum values of a bar @param obj pointer to the slider object @param min minimum value @param max maximum value
lv_slider_set_start_value
Set a new value for the left knob of a slider @param obj pointer to a slider object @param value new value @param anim LV_ANIM_ON: set the value with an animation; LV_ANIM_OFF: change the value immediately
lv_slider_set_value
Set a new value on the slider @param obj pointer to a slider object @param value the new value @param anim LV_ANIM_ON: set the value with an animation; LV_ANIM_OFF: change the value immediately
lv_snprintf
lv_span_get_style
Get a pointer to the style of a span’s built-in style. Any lv_style_set_… functions can be applied on the returned style. @param span pointer to the span @return pointer to the style. (valid as long as the span is valid)
lv_span_get_text
Get a pointer to the text of a span @param span pointer to the span @return pointer to the text
lv_span_set_text
Set a new text for a span. Memory will be allocated to store the text by the span. As the spangroup is not passed a redraw (invalidation) can’t be triggered automatically. Therefore lv_spangroup_refresh(spangroup) needs to be called manually, @param span pointer to a span. @param text pointer to a text.
lv_span_set_text_fmt
Set a new text for a span using a printf-like formatting string. Memory will be allocated to store the text by the span. As the spangroup is not passed a redraw (invalidation) can’t be triggered automatically. Therefore lv_spangroup_refresh(spangroup) needs to be called manually, @param span pointer to a span. @param fmt printf-like format string
lv_span_set_text_static
Set a static text. It will not be saved by the span so the ‘text’ variable has to be ‘alive’ while the span exist. As the spangroup is not passed a redraw (invalidation) can’t be triggered automatically. Therefore lv_spangroup_refresh(spangroup) needs to be called manually,
lv_span_stack_deinit
lv_span_stack_init
GLOBAL PROTOTYPES
lv_spangroup_add_span
Create a span string descriptor and add to spangroup. @param obj pointer to a spangroup object. @return pointer to the created span.
lv_spangroup_bind_span_text
Bind an integer, string, or pointer Subject to a Spangroup’s Span. @param obj pointer to Spangroup @param span pointer to Span @param subject pointer to Subject @param fmt optional printf-like format string with 1 format specifier (e.g. “%d °C”) or NULL to bind to the value directly. @return pointer to newly-created Observer @note If fmt == NULL strings and pointers (\0 terminated string) will be shown as text as they are, integers as %d, floats as %0.1f
lv_spangroup_create
Create a spangroup object @param parent pointer to an object, it will be the parent of the new spangroup @return pointer to the created spangroup
lv_spangroup_delete_span
Remove the span from the spangroup and free memory. @param obj pointer to a spangroup object. @param span pointer to a span. @note Note that before calling lv_spangroup_delete_span lv_observer_remove needs to be called manually as LVGL can’t remove the binding automatically.
lv_spangroup_get_align
Get the align of the spangroup. @param obj pointer to a spangroup object. @return the align value.
lv_spangroup_get_child
Get a spangroup child by its index.
lv_spangroup_get_expand_height
Get the text content height with width fixed. @param obj pointer to a spangroup object. @param width the width of the span group.
lv_spangroup_get_expand_width
Get the text content width when all span of spangroup on a line. @param obj pointer to a spangroup object. @param max_width if text content width >= max_width, return max_width to reduce computation, if max_width == 0, returns the text content width. @return text content width or max_width.
lv_spangroup_get_indent
Get the indent of the spangroup. @param obj pointer to a spangroup object. @return the indent value.
lv_spangroup_get_max_line_height
Get max line height of all span in the spangroup. @param obj pointer to a spangroup object.
lv_spangroup_get_max_lines
Get maximum lines of the spangroup. @param obj pointer to a spangroup object. @return the max lines value.
lv_spangroup_get_mode
Get the mode of the spangroup. @param obj pointer to a spangroup object.
lv_spangroup_get_overflow
Get the overflow of the spangroup. @param obj pointer to a spangroup object. @return the overflow value.
lv_spangroup_get_span_by_point
Get the span object by point. @param obj pointer to a spangroup object. @param point pointer to point containing absolute coordinates @return pointer to the span under the point or NULL if not found.
lv_spangroup_get_span_coords
Get the span’s coords in the spangroup. @note Before calling this function, please make sure that the layout of span group has been updated. Like calling lv_obj_update_layout() like function.
lv_spangroup_get_span_count
Get number of spans @param obj the spangroup object to get the child count of. @return the span count of the spangroup.
lv_spangroup_refresh
Update the mode of the spangroup. @param obj pointer to a spangroup object.
lv_spangroup_set_align
DEPRECATED. Use the text_align style property instead Set the align of the spangroup. @param obj pointer to a spangroup object. @param align see lv_text_align_t for details.
lv_spangroup_set_indent
Set the indent of the spangroup. @param obj pointer to a spangroup object. @param indent the first line indentation
lv_spangroup_set_max_lines
Set maximum lines of the spangroup. @param obj pointer to a spangroup object. @param lines max lines that can be displayed in LV_SPAN_MODE_BREAK mode. < 0 means no limit.
lv_spangroup_set_mode
DEPRECATED, set the width to LV_SIZE_CONTENT or fixed value to control expanding/wrapping“ Set the mode of the spangroup. @param obj pointer to a spangroup object. @param mode see lv_span_mode_t for details.
lv_spangroup_set_overflow
Set the overflow of the spangroup. @param obj pointer to a spangroup object. @param overflow see lv_span_overflow_t for details.
lv_spangroup_set_span_style
Copy all style properties of style to the bbuilt-in static style of the span. @param obj pointer_to a spangroup @param span pointer to a span. @param style pointer to a style to copy into the span’s built-in style
lv_spangroup_set_span_text
Set a new text for a span. Memory will be allocated to store the text by the span. @param obj pointer to a spangroup widget. @param span pointer to a span. @param text pointer to a text.
lv_spangroup_set_span_text_fmt
Set a new text for a span using a printf-like formatting string. Memory will be allocated to store the text by the span. @param obj pointer to a spangroup widget. @param span pointer to a span. @param fmt printf-like format string
lv_spangroup_set_span_text_static
Set a new text for a span. Memory will be allocated to store the text by the span. @param obj pointer to a spangroup widget. @param span pointer to a span. @param text pointer to a text.
lv_spinbox_bind_value
Bind an integer subject to a Spinbox’s value. @param obj pointer to Spinbox @param subject pointer to Subject @return pointer to newly-created Observer
lv_spinbox_create
Create a spinbox object @param parent pointer to an object, it will be the parent of the new spinbox @return pointer to the created spinbox
lv_spinbox_decrement
Decrement spinbox value by one step @param obj pointer to spinbox
lv_spinbox_get_dec_point_pos
Get the decimal point position @param obj pointer to spinbox @return decimal point position
lv_spinbox_get_digit_count
Get the spinbox digit count @param obj pointer to spinbox @return number of digits
lv_spinbox_get_digit_step_direction
Get the digit step direction @param obj pointer to spinbox @return direction (LV_DIR_RIGHT or LV_DIR_LEFT)
lv_spinbox_get_max_value
Get the spinbox maximum value @param obj pointer to spinbox @return maximum value
lv_spinbox_get_min_value
Get the spinbox minimum value @param obj pointer to spinbox @return minimum value
lv_spinbox_get_rollover
Get spinbox rollover function status @param obj pointer to spinbox
lv_spinbox_get_step
Get the spinbox step value (user has to convert to float according to its digit format) @param obj pointer to spinbox @return value integer step value of the spinbox
lv_spinbox_get_value
Get the spinbox numeral value (user has to convert to float according to its digit format) @param obj pointer to spinbox @return value integer value of the spinbox
lv_spinbox_increment
Increment spinbox value by one step @param obj pointer to spinbox
lv_spinbox_set_cursor_pos
Set cursor position to a specific digit for edition @param obj pointer to spinbox @param pos selected position in spinbox
lv_spinbox_set_dec_point_pos
Set the position of the decimal point @param obj pointer to spinbox @param dec_point_pos 0: there is no separator, 2: two integer digits
lv_spinbox_set_digit_count
Set the number of digits @param obj pointer to spinbox @param digit_count number of digits
lv_spinbox_set_digit_format
Set spinbox digit format (digit count and decimal format) @param obj pointer to spinbox @param digit_count number of digit excluding the decimal separator and the sign @param sep_pos number of digit before the decimal point. If 0, decimal point is not shown
lv_spinbox_set_digit_step_direction
Set direction of digit step when clicking an encoder button while in editing mode @param obj pointer to spinbox @param direction the direction (LV_DIR_RIGHT or LV_DIR_LEFT)
lv_spinbox_set_max_value
Set the maximum value @param obj pointer to spinbox @param max_value the maximum value
lv_spinbox_set_min_value
Set the minimum value @param obj pointer to spinbox @param min_value the minimum value
lv_spinbox_set_range
Set spinbox value range @param obj pointer to spinbox @param min_value minimum value, inclusive @param max_value maximum value, inclusive
lv_spinbox_set_rollover
Set spinbox rollover function @param obj pointer to spinbox @param rollover true or false to enable or disable (default)
lv_spinbox_set_step
Set spinbox step @param obj pointer to spinbox @param step steps on increment/decrement. Can be 1, 10, 100, 1000, etc the digit that will change.
lv_spinbox_set_value
Set spinbox value @param obj pointer to spinbox @param v value to be set
lv_spinbox_step_next
Select next lower digit for edition by dividing the step by 10 @param obj pointer to spinbox
lv_spinbox_step_prev
Select next higher digit for edition by multiplying the step by 10 @param obj pointer to spinbox
lv_spinner_create
Create a spinner widget @param parent pointer to an object, it will be the parent of the new spinner. @return the created spinner
lv_spinner_get_anim_duration
Get the animation duration of the spinner @param obj pointer to a spinner @return the animation time in milliseconds
lv_spinner_get_arc_sweep
Get the animation arc length of the spinner @param obj pointer to a spinner @return the angle of the arc in degrees
lv_spinner_set_anim_duration
Set the animation time of the spinner @param obj pointer to a spinner @param t the animation time in milliseconds
lv_spinner_set_anim_params
Set the animation time and arc length of the spinner The animation is suited for angle values between 180 and 360. @param obj pointer to a spinner @param t the animation time in milliseconds @param angle the angle of the arc in degrees
lv_spinner_set_arc_sweep
Set the animation arc length of the spinner. The animation is suited to values between 180 and 360. @param obj pointer to a spinner @param angle the angle of the arc in degrees
lv_sqrt
Get the square root of a number @param x integer which square root should be calculated @param q store the result here. q->i: integer part, q->f: fractional part in 1/256 unit @param mask optional to skip some iterations if the magnitude of the root is known. Set to 0x8000 by default. If root < 16: mask = 0x80 If root < 256: mask = 0x800 Else: mask = 0x8000
lv_sqrt32
Alternative (fast, approximate) implementation for getting the square root of an integer. @param x integer which square root should be calculated
lv_strcat
@brief Copies the string pointed to by src, including the terminating null character, to the end of the string pointed to by dst. @param dst Pointer to the destination string where the content is to be appended. @param src Pointer to the source of data to be copied. @return A pointer to the destination string, which is dst.
lv_strchr
@brief Searches for the first occurrence of character c in the string str. @param str Pointer to the null-terminated byte string to be searched. @param c The character to be searched for. @return A pointer to the first occurrence of character c in the string str, or a null pointer if c is not found.
lv_strcmp
@brief This function will compare two strings without specified length. @param s1 pointer to the first string @param s2 pointer to the second string @return the difference between the value of the first unmatching character.
lv_strcpy
@brief Copies the string pointed to by src, including the terminating null character, to the character array pointed to by dst. @param dst Pointer to the destination array where the content is to be copied. @param src Pointer to the source of data to be copied. @return A pointer to the destination array, which is dst.
lv_strdup
@brief Duplicate a string by allocating a new one and copying the content. @param src Pointer to the source of data to be copied. @return A pointer to the new allocated string. NULL if failed.
lv_strlcpy
@brief Copies up to dst_size-1 (non-null) characters from src to dst. A null terminator is always added. @param dst Pointer to the destination array where the content is to be copied. @param src Pointer to the source of data to be copied. @param dst_size Maximum number of characters to be copied to dst, including the null character. @return The length of src. The return value is equivalent to the value returned by lv_strlen(src)
lv_strlen
@brief Computes the length of the string str up to (but not including) the terminating null character. @param str Pointer to the null-terminated byte string to be examined. @return The length of the string in bytes.
lv_strncat
@brief Copies up to src_len characters from the string pointed to by src to the end of the string pointed to by dst. A terminating null character is appended to dst even if no null character was encountered in src after src_len characters were copied. @param dst Pointer to the destination string where the content is to be appended. @param src Pointer to the source of data to be copied. @param src_len Maximum number of characters from src to be copied to the end of dst. @return A pointer to the destination string, which is dst.
lv_strncmp
@brief This function will compare two strings up to the given length. @param s1 pointer to the first string @param s2 pointer to the second string @param len the maximum amount of characters to compare @return the difference between the value of the first unmatching character.
lv_strncpy
@brief Copies up to dest_size characters from the string pointed to by src to the character array pointed to by dst and fills the remaining length with null bytes. @param dst Pointer to the destination array where the content is to be copied. @param src Pointer to the source of data to be copied. @param dest_size Maximum number of characters to be copied to dst. @return A pointer to the destination array, which is dst. @note dst will not be null terminated if dest_size bytes were copied from src before the end of src was reached.
lv_strndup
@brief Duplicate a string by allocating a new one and copying the content up to the end or the specified maximum length, whichever comes first. @param src Pointer to the source of data to be copied. @param max_len Maximum number of characters to be copied. @return Pointer to a newly allocated null-terminated string. NULL if failed.
lv_strnlen
@brief Computes the length of the string str up to (but not including) the terminating null character, or the given maximum length. @param str Pointer to byte string that is null-terminated or at least max_len bytes long. @param max_len Maximum number of characters to examine. @return The length of the string in bytes.
lv_style_copy
Copy all properties of a style to an other. It has the same affect callying the same lv_set_style_... functions on both styles. It means new memory will be allocated to store the properties in the destination style. After the copy the destination style is fully independent of the source and source can removed without affecting the destination style. @param dst the destination to copy into (can not the a constant style) @param src the source style to copy from.
lv_style_get_num_custom_props
Get the number of custom properties that have been registered thus far.
lv_style_get_prop
Get the value of a property @param style pointer to a style @param prop the ID of a property @param value pointer to a lv_style_value_t variable to store the value @return LV_RESULT_INVALID: the property wasn’t found in the style (value is unchanged) LV_RESULT_OK: the property was fond, and value is set accordingly @note For performance reasons there are no sanity check on style
lv_style_init
Initialize a style @param style pointer to a style to initialize @note Do not call lv_style_init on styles that already have some properties because this function won’t free the used memory, just sets a default state for the style. In other words be sure to initialize styles only once!
lv_style_is_empty
Checks if a style is empty (has no properties) @param style pointer to a style @return true if the style is empty
lv_style_merge
Copy all properties of a style to an other without resetting the dst style. It has the same effect as calling the same lv_set_style_... functions on both styles. It means new memory will be allocated to store the properties in the destination style. After the copy the destination style is fully independent of the source and source can removed without affecting the destination style. @param dst the destination to copy into (cannot be a constant style) @param src the source style to copy from.
lv_style_prop_get_default
Get the default value of a property @param prop the ID of a property @return the default value
lv_style_prop_lookup_flags
Get the flags of a built-in or custom property.
lv_style_register_prop
Register a new style property for custom usage @return a new property ID, or LV_STYLE_PROP_INV if there are no more available.
lv_style_remove_prop
Remove a property from a style @param style pointer to a style @param prop a style property ORed with a state. @return true: the property was found and removed; false: the property wasn’t found
lv_style_reset
Clear all properties from a style and free all allocated memories. @param style pointer to a style
lv_style_set_align
Set the alignment which tells from which point of the parent the X and Y coordinates should be interpreted. Possible values are: LV_ALIGN_DEFAULT, LV_ALIGN_TOP_LEFT/MID/RIGHT, LV_ALIGN_BOTTOM_LEFT/MID/RIGHT, LV_ALIGN_LEFT/RIGHT_MID, LV_ALIGN_CENTER. LV_ALIGN_DEFAULT means LV_ALIGN_TOP_LEFT with LTR base direction and LV_ALIGN_TOP_RIGHT with RTL base direction. Default: LV_ALIGN_DEFAULT, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_anim
Animation template for Widget’s animation. Should be a pointer to lv_anim_t. The animation parameters are widget specific, e.g. animation time could be the E.g. blink time of the cursor on the Text Area or scroll time of a roller. See Widgets’ documentation to learn more. Default: NULL, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Pointer to animation descriptor
lv_style_set_anim_duration
Animation duration in milliseconds. Its meaning is widget specific. E.g. blink time of the cursor on the Text Area or scroll time of a roller. See Widgets’ documentation to learn more. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_arc_color
Set color of arc. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Color to submit
lv_style_set_arc_image_src
Set an image from which arc will be masked out. It’s useful to display complex effects on the arcs. Can be a pointer to lv_image_dsc_t or a path to a file. Default: NULL, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Pointer to image source
lv_style_set_arc_opa
Set opacity of arcs. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_arc_rounded
Make end points of arcs rounded. true: rounded, false: perpendicular line ending. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_arc_width
Set width (thickness) of arcs in pixels. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_base_dir
Set base direction of Widget. Possible values are LV_BIDI_DIR_LTR/RTL/AUTO. Default: LV_BASE_DIR_AUTO, inherited: Yes, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_bg_color
Set background color of Widget. Default: 0xffffff, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Color to submit
lv_style_set_bg_grad
Set gradient definition. The pointed instance must exist while Widget is alive. NULL to disable. It wraps BG_GRAD_COLOR, BG_GRAD_DIR, BG_MAIN_STOP and BG_GRAD_STOP into one descriptor and allows creating gradients with more colors as well. If it’s set other gradient related properties will be ignored. Default: NULL, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Pointer to gradient descriptor
lv_style_set_bg_grad_color
Set gradient color of the background. Used only if grad_dir is not LV_GRAD_DIR_NONE. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Color to submit
lv_style_set_bg_grad_dir
Set direction of the gradient of the background. Possible values are LV_GRAD_DIR_NONE/HOR/VER. Default: LV_GRAD_DIR_NONE, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_bg_grad_opa
Set opacity of the second gradient color. Default: 255, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_bg_grad_stop
Set point from which background’s gradient color should start. 0 means to top/left side, 255 the bottom/right side, 128 the center, and so on. Default: 255, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_bg_image_opa
Set opacity of the background image. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_bg_image_recolor
Set a color to mix to the background image. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Color to submit
lv_style_set_bg_image_recolor_opa
Set intensity of background image recoloring. Value 0, LV_OPA_0 or LV_OPA_TRANSP means no mixing, 255, LV_OPA_100 or LV_OPA_COVER means full recoloring, other values or LV_OPA_10, LV_OPA_20, etc are interpreted proportionally. Default: LV_OPA_TRANSP, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_bg_image_src
Set a background image. Can be a pointer to lv_image_dsc_t, a path to a file or an LV_SYMBOL_.... Default: NULL, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Pointer to image source
lv_style_set_bg_image_tiled
If enabled the background image will be tiled. Possible values are true or false. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_bg_main_opa
Set opacity of the first gradient color. Default: 255, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_bg_main_stop
Set point from which background color should start for gradients. 0 means to top/left side, 255 the bottom/right side, 128 the center, and so on. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_bg_opa
Set opacity of the background. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_TRANSP, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_bitmap_mask_src
If set, a layer will be created for the widget and the layer will be masked with this A8 bitmap mask. Default: NULL, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Pointer to A8 bitmap mask
lv_style_set_blend_mode
Describes how to blend the colors to the background. Possible values are LV_BLEND_MODE_NORMAL/ADDITIVE/SUBTRACTIVE/MULTIPLY/DIFFERENCE. Default: LV_BLEND_MODE_NORMAL, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_blur_backdrop
If true the background of the widget will be blurred. The part should have < 100% opacity to make it visible. If false the given part will be blurred when it’s rendered but before drawing the children. Default: false, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_blur_quality
Setting to LV_BLUR_QUALITY_SPEED the blurring algorithm will prefer speed over quality. LV_BLUR_QUALITY_PRECISION will force using higher quality but slower blur. With LV_BLUR_QUALITY_AUTO the quality will be selected automatically. Default: LV_BLUR_QUALITY_AUTO, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_blur_radius
Sets the intensity of blurring. Applied on each lv_part separately before the children are rendered. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_border_color
Set color of the border. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Color to submit
lv_style_set_border_opa
Set opacity of the border. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_border_post
Sets whether the border should be drawn before or after the children are drawn. true: after children, false: before children. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_border_side
Set only which side(s) the border should be drawn. Possible values are LV_BORDER_SIDE_NONE/TOP/BOTTOM/LEFT/RIGHT/INTERNAL. OR-ed values can be used as well, e.g. LV_BORDER_SIDE_TOP | LV_BORDER_SIDE_LEFT. Default: LV_BORDER_SIDE_FULL, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_border_width
Set width of the border. Only pixel values can be used. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_clip_corner
Enable clipping of content that overflows rounded corners of parent Widget. Can be true or false. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_color_filter_dsc
Mix a color with all colors of the Widget. Default: NULL, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Pointer to color-filter descriptor
lv_style_set_color_filter_opa
The intensity of mixing of color filter. Default: LV_OPA_TRANSP, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_drop_shadow_color
Set the color of the shadow. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Color to submit
lv_style_set_drop_shadow_offset_x
Set an offset on the shadow in pixels in X direction. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_drop_shadow_offset_y
Set an offset on the shadow in pixels in Y direction. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_drop_shadow_opa
Set the opacity of the shadow. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_drop_shadow_quality
Setting to LV_BLUR_QUALITY_SPEED the blurring algorithm will prefer speed over quality. LV_BLUR_QUALITY_PRECISION will force using higher quality but slower blur. With LV_BLUR_QUALITY_AUTO the quality will be selected automatically. Default: LV_BLUR_QUALITY_PRECISION, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_drop_shadow_radius
Sets the intensity of blurring. Applied on each lv_part separately before the children are rendered. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_flex_cross_place
Defines how to align the children perpendicular to the direction of flex flow. Default: LV_FLEX_ALIGN_NONE, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_flex_flow
Defines in which direction the flex layout should arrange the children. Default: LV_FLEX_FLOW_NONE, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_flex_grow
Defines how much space to take proportionally from the free space of the Widget’s track. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_flex_main_place
Defines how to align the children in the direction of flex flow. Default: LV_FLEX_ALIGN_NONE, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_flex_track_place
Defines how to align the tracks of the flow. Default: LV_FLEX_ALIGN_NONE, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_grid_cell_column_pos
Set column in which Widget should be placed. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_grid_cell_column_span
Set how many columns Widget should span. Needs to be >= 1. Default: 1, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_grid_cell_row_pos
Set row in which Widget should be placed. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_grid_cell_row_span
Set how many rows Widget should span. Needs to be >= 1. Default: 1, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_grid_cell_x_align
Set how to align Widget horizontally. Default: LV_GRID_ALIGN_START, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_grid_cell_y_align
Set how to align Widget vertically. Default: LV_GRID_ALIGN_START, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_grid_column_align
Defines how to distribute the columns. Default: LV_GRID_ALIGN_START, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_grid_column_dsc_array
An array to describe the columns of the grid. Should be LV_GRID_TEMPLATE_LAST terminated. Default: NULL, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Pointer to grid-column descriptor array
lv_style_set_grid_row_align
Defines how to distribute the rows. Default: LV_GRID_ALIGN_START, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_grid_row_dsc_array
An array to describe the rows of the grid. Should be LV_GRID_TEMPLATE_LAST terminated. Default: NULL, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Pointer to grid-row descriptor array
lv_style_set_height
Sets height of Widget. Pixel, percentage and LV_SIZE_CONTENT can be used. Percentage values are relative to the height of the parent’s content area. Default: Widget dependent, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_image_colorkey
Set image colorkey definition. The lv_image_colorkey_t contains two color values: high_color and low_color. the color of pixels ranging from low_color to high_color will be transparent. Default: NULL, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Pointer to image color key
lv_style_set_image_opa
Set opacity of an image. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_image_recolor
Set color to mix with the image. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Color to submit
lv_style_set_image_recolor_opa
Set intensity of color mixing. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_layout
Set layout of Widget. Children will be repositioned and resized according to policies set for the layout. For possible values see documentation of the layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_length
Its meaning depends on the type of Widget. For example in case of lv_scale it means the length of the ticks. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_line_color
Set color of lines. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Color to submit
lv_style_set_line_dash_gap
Set gap between dashes in pixels. Note that dash works only on horizontal and vertical lines. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_line_dash_width
Set width of dashes in pixels. Note that dash works only on horizontal and vertical lines. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_line_opa
Set opacity of lines. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_line_rounded
Make end points of the lines rounded. true: rounded, false: perpendicular line ending. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_line_width
Set width of lines in pixels. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_margin_bottom
Sets margin on the bottom. Widget will keep this space from its siblings in layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_margin_left
Sets margin on the left. Widget will keep this space from its siblings in layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_margin_right
Sets margin on the right. Widget will keep this space from its siblings in layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_margin_top
Sets margin on the top. Widget will keep this space from its siblings in layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_max_height
Sets a maximal height. Pixel and percentage values can be used. Percentage values are relative to the height of the parent’s content area. Default: LV_COORD_MAX, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_max_width
Sets a maximal width. Pixel and percentage values can be used. Percentage values are relative to the width of the parent’s content area. Default: LV_COORD_MAX, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_min_height
Sets a minimal height. Pixel and percentage values can be used. Percentage values are relative to the height of the parent’s content area. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_min_width
Sets a minimal width. Pixel and percentage values can be used. Percentage values are relative to the width of the parent’s content area. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_opa
Scale down all opacity values of the Widget by this factor. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: Yes, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_opa_layered
First draw Widget on the layer, then scale down layer opacity factor. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: Yes, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_outline_color
Set color of outline. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Color to submit
lv_style_set_outline_opa
Set opacity of outline. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_outline_pad
Set padding of outline, i.e. the gap between Widget and the outline. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_outline_width
Set width of outline in pixels. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_pad_bottom
Sets the padding on the bottom. It makes the content area smaller in this direction. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_pad_column
Sets the padding between the columns. Used by the layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_pad_left
Sets the padding on the left. It makes the content area smaller in this direction. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_pad_radial
Pad text labels away from the scale ticks/remainder of the LV_PART_. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_pad_right
Sets the padding on the right. It makes the content area smaller in this direction. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_pad_row
Sets the padding between the rows. Used by the layouts. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_pad_top
Sets the padding on the top. It makes the content area smaller in this direction. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_prop
Set the value of property in a style. This function shouldn’t be used directly by the user. Instead use lv_style_set_<prop_name>(). E.g. lv_style_set_bg_color() @param style pointer to style @param prop the ID of a property (e.g. LV_STYLE_BG_COLOR) @param value lv_style_value_t variable in which a field is set according to the type of prop
lv_style_set_radial_offset
Move start point of object (e.g. scale tick) radially. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_radius
Set radius on every corner. The value is interpreted in pixels (>= 0) or LV_RADIUS_CIRCLE for max radius. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_recolor
Set a color to mix to the obj. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Color to submit
lv_style_set_recolor_opa
Sets the intensity of color mixing. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent. A value of 255, LV_OPA_100 or LV_OPA_COVER means fully opaque. Intermediate values like LV_OPA_10, LV_OPA_20, etc result in semi-transparency. Default: LV_OPA_TRANSP, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_rotary_sensitivity
Adjust sensitivity for rotary encoders in 1/256 unit. It means, 128: slow down the rotary to half, 512: speeds up to double, 256: no change. Default: 256, inherited: Yes, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_shadow_color
Set color of shadow. Default: 0x000000, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Color to submit
lv_style_set_shadow_offset_x
Set an offset on the shadow in pixels in X direction. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_shadow_offset_y
Set an offset on the shadow in pixels in Y direction. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_shadow_opa
Set opacity of shadow. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_shadow_spread
Make shadow calculation to use a larger or smaller rectangle as base. The value can be in pixels to make the area larger/smaller. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_shadow_width
Set width of the shadow in pixels. The value should be >= 0. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_text_align
Set how to align the lines of the text. Note that it doesn’t align the Widget itself, only the lines inside the Widget. Possible values are LV_TEXT_ALIGN_LEFT/CENTER/RIGHT/AUTO. LV_TEXT_ALIGN_AUTO detect the text base direction and uses left or right alignment accordingly. Default: LV_TEXT_ALIGN_AUTO, inherited: Yes, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_text_color
Sets color of text. Default: 0x000000, inherited: Yes, layout: No, ext. draw: No. @param style Pointer to style @param value Color to submit
lv_style_set_text_decor
Set decoration for the text. Possible values are LV_TEXT_DECOR_NONE/UNDERLINE/STRIKETHROUGH. OR-ed values can be used as well. Default: LV_TEXT_DECOR_NONE, inherited: Yes, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_text_font
Set font of text (a pointer lv_font_t *). Default: LV_FONT_DEFAULT, inherited: Yes, layout: Yes, ext. draw: No. @param style Pointer to style @param value Pointer to font
lv_style_set_text_letter_space
Set letter space in pixels. Default: 0, inherited: Yes, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_text_line_space
Set line space in pixels. Default: 0, inherited: Yes, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_text_opa
Set opacity of text. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: Yes, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_text_outline_stroke_color
Sets the color of letter outline stroke. Default: 0x000000, inherited: Yes, layout: No, ext. draw: No. @param style Pointer to style @param value Color to submit
lv_style_set_text_outline_stroke_opa
Set the opacity of the letter outline stroke. Value 0, LV_OPA_0 or LV_OPA_TRANSP means fully transparent, 255, LV_OPA_100 or LV_OPA_COVER means fully covering, other values or LV_OPA_10, LV_OPA_20, etc means semi transparency. Default: LV_OPA_COVER, inherited: Yes, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_text_outline_stroke_width
Set the letter outline stroke width in pixels. Default: 0, inherited: Yes, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_transform_height
Make Widget higher on both sides with this value. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to Widget’s height. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_transform_pivot_x
Set pivot point’s X coordinate for transformations. Relative to Widget’s top left corner. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_transform_pivot_y
Set pivot point’s Y coordinate for transformations. Relative to Widget’s top left corner. Default: 0, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_transform_rotation
Rotate Widget. The value is interpreted in 0.1 degree units. E.g. 450 means 45 deg. Default: 0, inherited: No, layout: Yes, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_transform_scale_x
Zoom Widget horizontally. The value 256 (or LV_SCALE_NONE) means normal size, 128 half size, 512 double size, and so on. Default: 0, inherited: No, layout: Yes, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_transform_scale_y
Zoom Widget vertically. The value 256 (or LV_SCALE_NONE) means normal size, 128 half size, 512 double size, and so on. Default: 0, inherited: No, layout: Yes, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_transform_skew_x
Skew Widget horizontally. The value is interpreted in 0.1 degree units. E.g. 450 means 45 deg. Default: 0, inherited: No, layout: Yes, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_transform_skew_y
Skew Widget vertically. The value is interpreted in 0.1 degree units. E.g. 450 means 45 deg. Default: 0, inherited: No, layout: Yes, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_transform_width
Make Widget wider on both sides with this value. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to Widget’s width. Default: 0, inherited: No, layout: No, ext. draw: Yes. @param style Pointer to style @param value Value to submit
lv_style_set_transition
An initialized lv_style_transition_dsc_t to describe a transition. Default: NULL, inherited: No, layout: No, ext. draw: No. @param style Pointer to style @param value Pointer to transition descriptor
lv_style_set_translate_radial
Move object around the centre of the parent object (e.g. around the circumference of a scale). Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_translate_x
Move Widget with this value in X direction. Applied after layouts, aligns and other positioning. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to Widget’s width. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_translate_y
Move Widget with this value in Y direction. Applied after layouts, aligns and other positioning. Pixel and percentage (with lv_pct(x)) values can be used. Percentage values are relative to Widget’s height. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_width
Sets width of Widget. Pixel, percentage and LV_SIZE_CONTENT values can be used. Percentage values are relative to the width of the parent’s content area. Default: Widget dependent, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_x
Set X coordinate of Widget considering the align setting. Pixel and percentage values can be used. Percentage values are relative to the width of the parent’s content area. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_set_y
Set Y coordinate of Widget considering the align setting. Pixel and percentage values can be used. Percentage values are relative to the height of the parent’s content area. Default: 0, inherited: No, layout: Yes, ext. draw: No. @param style Pointer to style @param value Value to submit
lv_style_transition_dsc_init
Initialize a transition descriptor. @param tr pointer to a transition descriptor to initialize @param props an array with the properties to transition. The last element must be zero. @param path_cb an animation path (ease) callback. If NULL liner path will be used. @param time duration of the transition in [ms] @param delay delay before the transition in [ms] @param user_data any custom data that will be saved in the transition animation and will be available when path_cb is called
lv_subject_add_observer
Add Observer to Subject. When Subject’s value changes observer_cb will be called. @param subject pointer to Subject @param observer_cb notification callback @param user_data optional user data @return pointer to newly-created Observer
lv_subject_add_observer_obj
Add Observer to Subject for a Widget. When the Widget is deleted, Observer will be unsubscribed from Subject automatically. @param subject pointer to Subject @param observer_cb notification callback @param obj pointer to Widget @param user_data optional user data @return pointer to newly-created Observer @note Do not call lv_observer_remove() on Observers created this way. Only clean up such Observers by either: - deleting the Widget, or - calling lv_subject_deinit() to gracefully de-couple and remove all Observers.
lv_subject_add_observer_with_target
Add an Observer to a Subject and also save a target pointer. @param subject pointer to Subject @param observer_cb notification callback @param target any pointer (NULL is okay) @param user_data optional user data @return pointer to newly-created Observer
lv_subject_copy_string
Copy a string to a Subject and notify Observers if it changed. @param subject pointer to Subject @param buf new string
lv_subject_deinit
Remove all Observers from a Subject and free allocated memory, and delete any associated Widget-Binding events. This leaves subject “disconnected” from all Observers and all associated Widget events established through Widget Binding. @param subject pointer to Subject @note This can safely be called regardless of whether any Observers added with lv_subject_add_observer_obj() or bound to a Widget Property with one of the ..._bind_...() functions.
lv_subject_get_color
Get current value of a color Subject. @param subject pointer to Subject @return current value
lv_subject_get_group_element
Get an element from Subject Group’s list. @param subject pointer to Group-type Subject @param index index of element to get @return pointer to indexed Subject from list, or NULL if index is out of bounds
lv_subject_get_int
Get current value of an integer Subject. @param subject pointer to Subject @return current value
lv_subject_get_pointer
Get current value of a pointer Subject. @param subject pointer to Subject @return current value
lv_subject_get_previous_color
Get previous value of a color Subject. @param subject pointer to Subject @return previous value
lv_subject_get_previous_int
Get previous value of an integer Subject. @param subject pointer to Subject @return current value
lv_subject_get_previous_pointer
Get previous value of a pointer Subject. @param subject pointer to Subject @return previous value
lv_subject_get_previous_string
Get previous value of a string Subject. @param subject pointer to Subject @return pointer to buffer containing previous value @note NULL will be returned if NULL was passed in lv_subject_init_string() as prev_buf.
lv_subject_get_string
Get current value of a string Subject. @param subject pointer to Subject @return pointer to buffer containing current value
lv_subject_init_color
Initialize a color-type Subject. @param subject pointer to Subject @param color initial value
lv_subject_init_group
Initialize a Group-type Subject. @param group_subject pointer to Group-type Subject @param list list of other Subject addresses; when any of these have values updated, Observers of group_subject will be notified. @param list_len number of elements in list[]
lv_subject_init_int
Initialize an integer-type Subject. @param subject pointer to Subject @param value initial value
lv_subject_init_pointer
Initialize a pointer-type Subject. @param subject pointer to Subject @param value initial value
lv_subject_init_string
Initialize a string-type Subject. @param subject pointer to Subject @param buf pointer to buffer to store string @param prev_buf pointer to buffer to store previous string; can be NULL if not used @param size size of buffer(s) @param value initial value of string, e.g. “hello” @note A string Subject stores its own copy of the string, not just the pointer.
lv_subject_notify
Notify all Observers of Subject. @param subject pointer to Subject
lv_subject_set_color
Set value of a color Subject and notify Observers if it changed. @param subject pointer to Subject @param color new value
lv_subject_set_int
Set value of an integer Subject and notify Observers. @param subject pointer to Subject @param value new value
lv_subject_set_max_value_int
Set a maximum value for an integer subject @param subject pointer to Subject @param max_value the maximum value
lv_subject_set_min_value_int
Set a minimum value for an integer subject @param subject pointer to Subject @param min_value the minimum value
lv_subject_set_pointer
Set value of a pointer Subject and notify Observers (regardless of whether it changed). @param subject pointer to Subject @param ptr new value
lv_subject_snprintf
Format a new string, updating Subject, and notify Observers if it changed. @param subject pointer to Subject @param format format string
lv_switch_create
Create a switch object @param parent pointer to an object, it will be the parent of the new switch @return pointer to the created switch
lv_switch_get_orientation
Get the orientation of switch. @param obj pointer to switch object @return switch orientation from ::lv_switch_orientation_t
lv_switch_set_orientation
Set the orientation of switch. @param obj pointer to switch object @param orientation switch orientation from lv_switch_orientation_t
lv_table_clear_cell_ctrl
Clear control bits of the cell. @param obj pointer to a Table object @param row id of the row [0 .. row_cnt -1] @param col id of the column [0 .. col_cnt -1] @param ctrl OR-ed values from ::lv_table_cell_ctrl_t
lv_table_create
Create a table object @param parent pointer to an object, it will be the parent of the new table @return pointer to the created table
lv_table_get_cell_user_data
Get custom user data to the cell. @param obj pointer to a Table object @param row id of the row [0 .. row_cnt -1] @param col id of the column [0 .. col_cnt -1]
lv_table_get_cell_value
Get the value of a cell. @param obj pointer to a Table object @param row id of the row [0 .. row_cnt -1] @param col id of the column [0 .. col_cnt -1] @return text in the cell
lv_table_get_column_count
Get the number of columns. @param obj table pointer to a Table object @return number of columns.
lv_table_get_column_width
Get the width of a column @param obj table pointer to a Table object @param col id of the column [0 .. LV_TABLE_COL_MAX -1] @return width of the column
lv_table_get_row_count
Get the number of rows. @param obj table pointer to a Table object @return number of rows.
lv_table_get_selected_cell
Get the selected cell (pressed and or focused) @param obj pointer to a table object @param row pointer to variable to store the selected row (LV_TABLE_CELL_NONE: if no cell selected) @param col pointer to variable to store the selected column (LV_TABLE_CELL_NONE: if no cell selected)
lv_table_has_cell_ctrl
Get whether a cell has the control bits @param obj pointer to a Table object @param row id of the row [0 .. row_cnt -1] @param col id of the column [0 .. col_cnt -1] @param ctrl OR-ed values from ::lv_table_cell_ctrl_t @return true: all control bits are set; false: not all control bits are set
lv_table_set_cell_ctrl
Add control bits to the cell. @param obj pointer to a Table object @param row id of the row [0 .. row_cnt -1] @param col id of the column [0 .. col_cnt -1] @param ctrl OR-ed values from ::lv_table_cell_ctrl_t
lv_table_set_cell_user_data
Add custom user data to the cell. @param obj pointer to a Table object @param row id of the row [0 .. row_cnt -1] @param col id of the column [0 .. col_cnt -1] @param user_data pointer to the new user_data. Should be allocated by lv_malloc, and it will be freed automatically when the table is deleted or when the cell is dropped due to lower row or column count.
lv_table_set_cell_value
Set the value of a cell. @param obj pointer to a Table object @param row id of the row [0 .. row_cnt -1] @param col id of the column [0 .. col_cnt -1] @param txt text to display in the cell. It will be copied and saved so this variable is not required after this function call. @note New roes/columns are added automatically if required
lv_table_set_cell_value_fmt
Set the value of a cell. Memory will be allocated to store the text by the table. @param obj pointer to a Table object @param row id of the row [0 .. row_cnt -1] @param col id of the column [0 .. col_cnt -1] @param fmt printf-like format @note New roes/columns are added automatically if required
lv_table_set_column_count
Set the number of columns @param obj table pointer to a Table object @param col_cnt number of columns.
lv_table_set_column_width
Set the width of a column @param obj table pointer to a Table object @param col_id id of the column [0 .. LV_TABLE_COL_MAX -1] @param w width of the column
lv_table_set_row_count
Set the number of rows @param obj table pointer to a Table object @param row_cnt number of rows
lv_table_set_selected_cell
Set the selected cell @param obj pointer to a table object @param row id of the cell row to select @param col id of the cell column to select
lv_tabview_add_tab
Add a tab to the tabview @param obj pointer to a tabview widget @param name the name of the tab, it will be displayed on the tab bar @return the widget where the content of the tab can be created
lv_tabview_create
Create a tabview widget @param parent pointer to a parent widget @return the created tabview
lv_tabview_get_content
Get the widget where the container of each tab is created @param obj pointer to a tabview widget @return the main container widget
lv_tabview_get_tab_active
Get the current tab’s index @param obj pointer to a tabview widget @return the zero based index of the current tab
lv_tabview_get_tab_bar
Get the tab bar where the buttons are created @param obj pointer to a tabview widget @return the tab bar
lv_tabview_get_tab_bar_position
Get the position of the tab bar @param obj pointer to a tabview widget @return LV_DIR_TOP/BOTTOM/LEFT/RIGHT
lv_tabview_get_tab_button
Get a given tab button by index @param obj pointer to a tabview widget @param idx zero based index of the tab button to get. < 0 means start counting tab button from the back (-1 is the last tab button) @return pointer to the tab button, or NULL if the index was out of range
lv_tabview_get_tab_count
Get the number of tabs @param obj pointer to a tabview widget @return the number of tabs
lv_tabview_set_active
Show a tab @param obj pointer to a tabview widget @param idx the index of the tab to show @param anim_en LV_ANIM_ON/OFF
lv_tabview_set_tab_bar_position
Set the position of the tab bar @param obj pointer to a tabview widget @param dir LV_DIR_TOP/BOTTOM/LEFT/RIGHT
lv_tabview_set_tab_bar_size
Set the width or height of the tab bar @param obj pointer to tabview widget @param size size of the tab bar in pixels or percentage. will be used as width or height based on the position of the tab bar)
lv_tabview_set_tab_text
Change the name of the tab @param obj pointer to a tabview widget @param idx the index of the tab to rename @param new_name the new name as a string
lv_text_attributes_init
Initialize the text attributes descriptor @param attributes the text attributes descriptor to initialize
lv_text_cut
Delete a part of a string @param txt string to modify, must be ‘\0’ terminated and should point to a heap or stack frame, not read-only memory. @param pos position where to start the deleting (0: before the first char, 1: after the first char etc.) @param len number of characters to delete
lv_text_encoded_letter_next_2
Decode two encoded character from a string. @param txt pointer to ‘\0’ terminated string @param letter the first decoded Unicode character or 0 on invalid data code @param letter_next the second decoded Unicode character or 0 on invalid data code @param ofs start index in ‘txt’ where to start. After the call it will point to the next encoded char in ‘txt’. NULL to use txt[0] as index
lv_text_get_next_line
Get the next line of text. Check line length and break chars too. @param txt a ‘\0’ terminated string @param len length of ‘txt’ in bytes @param font pointer to a font @param used_width When used_width != NULL, save the width of this line if flag == LV_TEXT_FLAG_NONE, otherwise save -1. @param attributes text attributes, flags to control line break behaviour, spacing etc @return the index of the first char of the new line (in byte index not letter index. With UTF-8 they are different)
lv_text_get_size
Get size of a text @param size_res pointer to a ‘point_t’ variable to store the result @param text pointer to a text @param font pointer to font of the text @param letter_space letter space of the text @param line_space line space of the text @param max_width max width of the text (break the lines to fit this size). Set COORD_MAX to avoid @param flag settings for the text from ::lv_text_flag_t
lv_text_get_size_attributes
Get size of a text @param size_res pointer to a ‘point_t’ variable to store the result @param text pointer to a text @param font pointer to font of the text @param attributes the text attributes, flags for line break behaviour, spacing etc
lv_text_get_width
Give the length of a text with a given font with text flags @param txt a ‘\0’ terminate string @param length length of ‘txt’ in byte count and not characters (Á is 1 character but 2 bytes in UTF-8) @param font pointer to font of the text @param attributes the text attributes, flags for line break behaviour, spacing etc @return length of a char_num long text
lv_text_ins
Insert a string into another @param txt_buf the original text (must be big enough for the result text and NULL terminated) @param pos position to insert (0: before the original text, 1: after the first char etc.) @param ins_txt text to insert, must be ‘\0’ terminated
lv_text_is_cmd
Check if c is command state @param state @param c @return True if c is state
lv_text_set_text_vfmt
Return a new formatted text. Memory will be allocated to store the text. @param fmt printf-like format @param ap items to print
lv_textarea_add_char
Insert a character to the current cursor position. To add a wide char, e.g. ‘Á’ use lv_text_encoded_conv_wc('Á') @param obj pointer to a text area object @param c a character (e.g. ‘a’)
lv_textarea_add_text
Insert a text to the current cursor position @param obj pointer to a text area object @param txt a ‘\0’ terminated string to insert
lv_textarea_clear_selection
Clear the selection on the text area. @param obj pointer to a text area object
lv_textarea_create
Create a text area object @param parent pointer to an object, it will be the parent of the new text area @return pointer to the created text area
lv_textarea_cursor_down
Move the cursor one line down @param obj pointer to a text area object
lv_textarea_cursor_left
Move the cursor one character left @param obj pointer to a text area object
lv_textarea_cursor_right
Move the cursor one character right @param obj pointer to a text area object
lv_textarea_cursor_up
Move the cursor one line up @param obj pointer to a text area object
lv_textarea_delete_char
Delete a the left character from the current cursor position @param obj pointer to a text area object
lv_textarea_delete_char_forward
Delete the right character from the current cursor position @param obj pointer to a text area object
lv_textarea_get_accepted_chars
Get a list of accepted characters. @param obj pointer to a text area object @return list of accented characters.
lv_textarea_get_current_char
Get a the character from the current cursor position @param obj pointer to a text area object @return a the character or 0
lv_textarea_get_cursor_click_pos
Get whether the cursor click positioning is enabled or not. @param obj pointer to a text area object @return true: enable click positions; false: disable
lv_textarea_get_cursor_pos
Get the current cursor position in character index @param obj pointer to a text area object @return the cursor position
lv_textarea_get_label
Get the label of a text area @param obj pointer to a text area object @return pointer to the label object
lv_textarea_get_max_length
Get max length of a Text Area. @param obj pointer to a text area object @return the maximal number of characters to be add
lv_textarea_get_one_line
Get the one line configuration attribute @param obj pointer to a text area object @return true: one line configuration is enabled, false: disabled
lv_textarea_get_password_bullet
Get the replacement characters to show in password mode @param obj pointer to a text area object @return pointer to the replacement text
lv_textarea_get_password_mode
Get the password mode attribute @param obj pointer to a text area object @return true: password mode is enabled, false: disabled
lv_textarea_get_password_show_time
Set how long show the password before changing it to ‘*’ @param obj pointer to a text area object @return show time in milliseconds. 0: hide immediately.
lv_textarea_get_placeholder_text
Get the placeholder text of a text area @param obj pointer to a text area object @return pointer to the text
lv_textarea_get_text
Get the text of a text area. In password mode it gives the real text (not ’*’s). @param obj pointer to a text area object @return pointer to the text
lv_textarea_get_text_selection
Find whether selection mode is enabled. @param obj pointer to a text area object @return true: selection mode is enabled, false: disabled
lv_textarea_set_accepted_chars
Set a list of characters. Only these characters will be accepted by the text area @param obj pointer to a text area object @param list list of characters. A copy is saved. Example: “+-.,0123456789”
lv_textarea_set_accepted_chars_static
Set a list of characters. Only these characters will be accepted by the text area @param obj pointer to a text area object @param list list of characters. Only the pointer is saved. Example: “+-.,0123456789”
lv_textarea_set_align
@deprecated Use the normal text_align style property instead Set the label’s alignment. It sets where the label is aligned (in one line mode it can be smaller than the text area) and how the lines of the area align in case of multiline text area @param obj pointer to a text area object @param align the align mode from ::lv_text_align_t
lv_textarea_set_cursor_click_pos
Enable/Disable the positioning of the cursor by clicking the text on the text area. @param obj pointer to a text area object @param en true: enable click positions; false: disable
lv_textarea_set_cursor_pos
Set the cursor position @param obj pointer to a text area object @param pos the new cursor position in character index < 0 : index from the end of the text LV_TEXTAREA_CURSOR_LAST: go after the last character
lv_textarea_set_insert_replace
In LV_EVENT_INSERT the text which planned to be inserted can be replaced by another text. It can be used to add automatic formatting to the text area. @param obj pointer to a text area object @param txt pointer to a new string to insert. If "" no text will be added. The variable must be live after the event_cb exists. (Should be global or static)
lv_textarea_set_max_length
Set max length of a Text Area. @param obj pointer to a text area object @param num the maximal number of characters can be added (lv_textarea_set_text ignores it)
lv_textarea_set_one_line
Configure the text area to one line or back to normal @param obj pointer to a text area object @param en true: one line, false: normal
lv_textarea_set_password_bullet
Set the replacement characters to show in password mode @param obj pointer to a text area object @param bullet pointer to the replacement text
lv_textarea_set_password_mode
Enable/Disable password mode @param obj pointer to a text area object @param en true: enable, false: disable
lv_textarea_set_password_show_time
Set how long show the password before changing it to ‘*’ @param obj pointer to a text area object @param time show time in milliseconds. 0: hide immediately.
lv_textarea_set_placeholder_text
Set the placeholder text of a text area @param obj pointer to a text area object @param txt pointer to the text
lv_textarea_set_text
Set the text of a text area @param obj pointer to a text area object @param txt pointer to the text
lv_textarea_set_text_selection
Enable/disable selection mode. @param obj pointer to a text area object @param en true or false to enable/disable selection mode
lv_textarea_text_is_selected
Find whether text is selected or not. @param obj pointer to a text area object @return whether text is selected or not
lv_theme_apply
Apply the active theme on an object @param obj pointer to an object
lv_theme_copy
Copy ‘src’ theme into ‘dst’ @param dst pointer to the destination theme @param src pointer to the source theme
lv_theme_create
Creates a new theme @return the new theme or NULL if allocation failed
lv_theme_default_deinit
Deinitialize the default theme
lv_theme_default_get
Get default theme @return a pointer to default theme, or NULL if this is not initialized
lv_theme_default_init
Initialize the theme @param disp pointer to display @param color_primary the primary color of the theme @param color_secondary the secondary color for the theme @param dark @param font pointer to a font to use. @return a pointer to reference this theme later
lv_theme_default_is_inited
Check if default theme is initialized @return true if default theme is initialized, false otherwise
lv_theme_delete
Delete a theme @param theme the theme to destroy
lv_theme_get_color_primary
Get the primary color of the theme @param obj pointer to an object @return the color
lv_theme_get_color_secondary
Get the secondary color of the theme @param obj pointer to an object @return the color
lv_theme_get_font_large
Get the subtitle font of the theme @param obj pointer to an object @return pointer to the font
lv_theme_get_font_normal
Get the normal font of the theme @param obj pointer to an object @return pointer to the font
lv_theme_get_font_small
Get the small font of the theme @param obj pointer to an object @return pointer to the font
lv_theme_get_from_obj
Get the theme assigned to the display of the object @param obj pointer to a theme object @return the theme of the object’s display (can be NULL)
lv_theme_mono_deinit
Deinitialize the mono theme
lv_theme_mono_get
Get mono theme @return a pointer to mono theme, or NULL if this is not initialized
lv_theme_mono_init
Initialize the theme @param disp pointer to display @param dark_bg @param font pointer to a font to use. @return a pointer to reference this theme later
lv_theme_mono_is_inited
Check if the theme is initialized @return true if default theme is initialized, false otherwise
lv_theme_set_apply_cb
Set an apply callback for a theme. The apply callback is used to add styles to different objects @param theme pointer to theme which callback should be set @param apply_cb pointer to the callback
lv_theme_set_parent
Set a base theme for a theme. The styles from the base them will be added before the styles of the current theme. Arbitrary long chain of themes can be created by setting base themes. @param theme pointer to theme which base should be set @param parent pointer to the base theme
lv_theme_simple_deinit
Deinitialize the simple theme
lv_theme_simple_get
Get simple theme @return a pointer to simple theme, or NULL if this is not initialized
lv_theme_simple_init
Initialize the theme @param disp pointer to display @return a pointer to reference this theme later
lv_theme_simple_is_inited
Check if the theme is initialized @return true if default theme is initialized, false otherwise
lv_tick_diff
Get the elapsed milliseconds between two time stamps @param tick a time stamp @param prev_tick a time stamp before tick @return the elapsed milliseconds between prev_tick and tick
lv_tick_elaps
Get the elapsed milliseconds since a previous time stamp @param prev_tick a previous time stamp (return value of lv_tick_get() ) @return the elapsed milliseconds since ‘prev_tick’
lv_tick_get
Get the elapsed milliseconds since start up @return the elapsed milliseconds
lv_tick_get_cb
Get the custom callback for ‘lv_tick_get’ @return call this callback on ‘lv_tick_get’
lv_tick_inc
You have to call this function periodically. It is typically safe to call from an interrupt handler or a different thread. @param tick_period the call period of this function in milliseconds
lv_tick_set_cb
Set the custom callback for ‘lv_tick_get’ @param cb call this callback on ‘lv_tick_get’
lv_tileview_add_tile
Add a tile to the tileview @param tv pointer to the tileview object @param col_id column id of the tile @param row_id row id of the tile @param dir direction to move to the next tile @return pointer to the added tile object
lv_tileview_create
Create a tileview object @param parent pointer to an object, it will be the parent of the new tileview @return pointer to the created tileview
lv_tileview_get_tile_active
Get the currently active tile in the tileview @param obj pointer to the tileview object @return pointer to the currently active tile object
lv_tileview_set_tile
Set the active tile in the tileview. @param parent pointer to the tileview object @param tile_obj pointer to the tile object to be set as active @param anim_en animation enable flag (LV_ANIM_ON or LV_ANIM_OFF)
lv_tileview_set_tile_by_index
Set the active tile by index in the tileview @param tv pointer to the tileview object @param col_id column id of the tile to be set as active @param row_id row id of the tile to be set as active @param anim_en animation enable flag (LV_ANIM_ON or LV_ANIM_OFF)
lv_timer_core_deinit
Deinit the lv_timer module
lv_timer_core_init
Init the lv_timer module
lv_timer_create
Create a new lv_timer @param timer_xcb a callback to call periodically. (the ‘x’ in the argument name indicates that it’s not a fully generic function because it not follows the func_name(object, callback, ...) convention) @param period call period in ms unit @param user_data custom parameter @return pointer to the new timer
lv_timer_create_basic
Create an “empty” timer. It needs to be initialized with at least lv_timer_set_cb and lv_timer_set_period @return pointer to the created timer
lv_timer_delete
Delete a lv_timer @param timer pointer to an lv_timer
lv_timer_enable
Enable or disable the whole lv_timer handling @param en true: lv_timer handling is running, false: lv_timer handling is suspended
lv_timer_get_idle
Get idle percentage @return the lv_timer idle in percentage
lv_timer_get_next
Iterate through the timers @param timer NULL to start iteration or the previous return value to get the next timer @return the next timer or NULL if there is no more timer
lv_timer_get_paused
Get the pause state of a timer @param timer pointer to a lv_timer @return true: timer is paused; false: timer is running
lv_timer_get_time_until_next
Get the time remaining until the next timer will run @return the time remaining in ms
lv_timer_get_user_data
Get the user_data passed when the timer was created @param timer pointer to the lv_timer @return pointer to the user_data
lv_timer_handler
Call it periodically to handle lv_timers. @return time till it needs to be run next (in ms)
lv_timer_handler_run_in_period
Call it in the super-loop of main() or threads. It will run lv_timer_handler() with a given period in ms. You can use it with sleep or delay in OS environment. This function is used to simplify the porting. @param period the period for running lv_timer_handler() @return the time after which it must be called again
lv_timer_handler_set_resume_cb
Set the resume callback to the timer handler @param cb the function to call when timer handler is resumed @param data pointer to a resume data
lv_timer_pause
Pause a timer. It is typically safe to call from an interrupt handler or a different thread. @param timer pointer to an lv_timer
lv_timer_periodic_handler
Call it in the super-loop of main() or threads. It will automatically call lv_timer_handler() at the right time. This function is used to simplify the porting.
lv_timer_ready
Make a lv_timer ready. It will not wait its period. @param timer pointer to a lv_timer.
lv_timer_reset
Reset a lv_timer. It will be called the previously set period milliseconds later. @param timer pointer to a lv_timer.
lv_timer_resume
Resume a timer. @param timer pointer to an lv_timer
lv_timer_set_auto_delete
Set whether a lv_timer will be deleted automatically when it is called repeat_count times. @param timer pointer to a lv_timer. @param auto_delete true: auto delete; false: timer will be paused when it is called repeat_count times.
lv_timer_set_cb
Set the callback to the timer (the function to call periodically) @param timer pointer to a timer @param timer_cb the function to call periodically
lv_timer_set_period
Set new period for a lv_timer @param timer pointer to a lv_timer @param period the new period
lv_timer_set_repeat_count
Set the number of times a timer will repeat. @param timer pointer to a lv_timer. @param repeat_count -1 : infinity; 0 : stop ; n>0: residual times
lv_timer_set_user_data
Set custom parameter to the lv_timer. @param timer pointer to a lv_timer. @param user_data custom parameter
lv_tjpgd_deinit
lv_tjpgd_init
GLOBAL PROTOTYPES
lv_tlsf_add_pool
lv_tlsf_align_size
lv_tlsf_alloc_overhead
lv_tlsf_block_size
lv_tlsf_block_size_max
lv_tlsf_block_size_min
lv_tlsf_check
lv_tlsf_check_pool
lv_tlsf_create
lv_tlsf_create_with_pool
lv_tlsf_destroy
lv_tlsf_free
lv_tlsf_get_pool
lv_tlsf_malloc
lv_tlsf_memalign
lv_tlsf_pool_overhead
lv_tlsf_realloc
lv_tlsf_remove_pool
lv_tlsf_size
lv_tlsf_walk_pool
lv_tree_node_create
@brief Create a tree node @param class_p pointer to a class of the node @param parent pointer to the parent node (or NULL if it’s the root node) @return pointer to the new node
lv_tree_node_delete
@brief Delete a tree node and all its children recursively @param node pointer to the node to delete
lv_tree_walk
@brief Walk the tree recursively and call a callback function on each node @param node pointer to the root node of the tree @param mode LV_TREE_WALK_PRE_ORDER or LV_TREE_WALK_POST_ORDER @param cb callback function to call on each node @param bcb callback function to call before visiting a node @param acb callback function to call after visiting a node @param user_data user data to pass to the callback functions @return true: traversal is finished; false: traversal broken
lv_trigo_cos
lv_trigo_sin
Return with sinus of an angle @param angle @return sinus of ‘angle’. sin(-90) = -32767, sin(90) = 32767
lv_unlock
The pair of lv_lock() and lv_lock_isr(). It unlocks LVGL general mutex. It is called internally in lv_timer_handler().
lv_utils_bsearch
Searches base[0] to base[n - 1] for an item that matches *key.
lv_vsnprintf
lv_win_add_button
Add a button to the window @param obj pointer to a window widget @param icon an icon to be displayed on the button @param btn_w width of the button @return the widget where the content of the button can be created
lv_win_add_title
Add a title to the window @param obj pointer to a window widget @param txt the text of the title @return the widget where the content of the title can be created
lv_win_create
Create a window widget @param parent pointer to a parent widget @return the created window
lv_win_get_content
Get the content of the window @param win pointer to a window widget @return the content of the window
lv_win_get_header
Get the header of the window @param win pointer to a window widget @return the header of the window
lv_zalloc
Allocate zeroed memory dynamically @param size requested size in bytes @return pointer to allocated zeroed memory, or NULL on failure
strtoimax
strtoumax
wcstoimax
wcstoumax

Type Aliases§

__blkcnt64_t
__blkcnt_t
__blksize_t
__builtin_va_list
__caddr_t
__clock_t
__clockid_t
__daddr_t
__dev_t
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__gnuc_va_list
__gwchar_t
__id_t
__ino64_t
__ino_t
__int8_t
__int16_t
__int32_t
__int64_t
__int_least8_t
__int_least16_t
__int_least32_t
__int_least64_t
__intmax_t
__intptr_t
__key_t
__loff_t
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__quad_t
__rlim64_t
__rlim_t
__sig_atomic_t
__socklen_t
__ssize_t
__suseconds64_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__time_t
__timer_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
__uint_least8_t
__uint_least16_t
__uint_least32_t
__uint_least64_t
__uintmax_t
__useconds_t
_lv_opacity_level_t
Opacity percentages.
_lv_str_symbol_id_t
_lv_style_id_t
Enumeration of all built in style properties
_lv_tree_walk_mode_t
_lvimage_flags_t
TYPEDEFS
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
lv_3dtexture_t
lv_align_t
Alignments
lv_anim_completed_cb_t
Callback to call when the animation is ready
lv_anim_custom_exec_cb_t
Same as lv_anim_exec_xcb_t but receives lv_anim_t * as the first parameter. It’s more consistent but less convenient. Might be used by binding generator functions.
lv_anim_deleted_cb_t
Callback used when the animation is deleted
lv_anim_enable_t
lv_anim_exec_xcb_t
Generic prototype of “animator” functions. First parameter is the variable to animate. Second parameter is the value to set. Compatible with lv_xxx_set_yyy(obj, value) functions The x in _xcb_t means it’s not a fully generic prototype because it doesn’t receive lv_anim_t * as its first argument
lv_anim_get_value_cb_t
Callback used when the animation values are relative to get the current value
lv_anim_path_cb_t
Get the current value during an animation
lv_anim_ready_cb_t
lv_anim_start_cb_t
Callback to call when the animation really stars (considering delay)
lv_anim_t
Describes an animation
lv_anim_timeline_dsc_t
TYPEDEFS
lv_anim_timeline_t
lv_animimg_part_t
Image parts
lv_animimg_t
Data of the animimage
lv_arc_mode_t
In which direction the indicator should grow.
lv_arc_t
TYPEDEFS
lv_arclabel_dir_t
TYPEDEFS
lv_arclabel_overflow_t
lv_arclabel_t
lv_arclabel_text_align_t
lv_array_t
Description of a array
lv_async_cb_t
Type for async callback.
lv_bar_anim_t
TYPEDEFS
lv_bar_mode_t
TYPEDEFS
lv_bar_orientation_t
lv_bar_t
lv_barcode_t
lv_base_dir_t
TYPEDEFS
lv_blend_mode_t
Possible options for blending opaque drawings
lv_blur_quality_t
lv_border_side_t
Selects on which sides border should be drawn ’OR’ed values can be used.
lv_button_t
TYPEDEFS
lv_buttonmatrix_button_draw_cb_t
lv_buttonmatrix_ctrl_t
Type to store button control flags (disabled, hidden etc.) The least-significant 4 bits are used to store button-width proportions in range [1..15].
lv_buttonmatrix_t
Data of button matrix
lv_cache_add_cb_t
The cache add function, used by the cache class to add a cache entry with a given key. This function only cares about how to add the entry, it doesn’t check if the entry already exists and doesn’t care about is it a victim or not. @return the added cache entry, or NULL if the entry is not added.
lv_cache_alloc_cb_t
The cache instance allocation function, used by the cache class to allocate memory for cache instances. @return It should return a pointer to the allocated instance.
lv_cache_class_t
Cache class struct for building custom cache classes
lv_cache_compare_cb_t
lv_cache_compare_res_t
lv_cache_create_cb_t
lv_cache_destroy_cb_t
The cache instance destruction function, used by the cache class to destroy the cache instance.
lv_cache_drop_all_cb_t
The cache drop all function, used by the cache class to remove all cache entries from the cache and free the memory.
lv_cache_drop_cb_t
The cache drop function, used by the cache class to remove a cache entry from the cache and free the memory.
lv_cache_entry_t
TYPEDEFS
lv_cache_free_cb_t
lv_cache_get_cb_t
The cache get function, used by the cache class to get a cache entry by its key. @return NULL if the key is not found.
lv_cache_get_victim_cb
The cache get victim function, used by the cache class to get a victim entry to be evicted.
lv_cache_init_cb_t
The cache instance initialization function, used by the cache class to initialize the cache instance. @return It should return true if the initialization is successful, false otherwise.
lv_cache_iter_create_cb
The cache iterator creation function, used by the cache class to create an iterator for the cache. @return A pointer to the created iterator, or NULL if the iterator cannot be created.
lv_cache_ops_t
The cache operations struct
lv_cache_remove_cb_t
The cache remove function, used by the cache class to remove a cache entry from the cache but doesn’t free the memory.. This function only cares about how to remove the entry, it doesn’t care about is it a victim or not.
lv_cache_reserve_cond_cb
The cache reserve condition function, used by the cache class to check if a new entry can be added to the cache without exceeding its maximum size. See lv_cache_reserve_cond_res_t for the possible results.
lv_cache_reserve_cond_res_t
The result of the cache reserve condition callback
lv_cache_slot_size_t
Cache entry slot struct
lv_cache_t
The cache entry struct
lv_calendar_t
Data of calendar
lv_canvas_t
Canvas data
lv_chart_axis_t
Enumeration of the axis’
lv_chart_cursor_t
lv_chart_series_t
Descriptor a chart series
lv_chart_t
lv_chart_type_t
Chart types
lv_chart_update_mode_t
Chart update mode for lv_chart_set_next
lv_checkbox_t
TYPEDEFS
lv_circle_buf_fill_cb_t
TYPEDEFS
lv_circle_buf_t
lv_color_filter_cb_t
lv_color_filter_dsc_t
TYPEDEFS
lv_color_format_t
lv_coord_t
TYPEDEFS
lv_cover_check_info_t
Used as the event parameter of ::LV_EVENT_COVER_CHECK to check if an area is covered by the object or not. In the event use const lv_area_t * area = lv_event_get_cover_area(e) to get the area to check and lv_event_set_cover_res(e, res) to set the result.
lv_cover_res_t
Cover check results.
lv_delay_cb_t
lv_dir_t
lv_disp_t
TYPEDEFS
lv_display_flush_cb_t
lv_display_flush_wait_cb_t
lv_display_render_mode_t
lv_display_rotation_t
TYPEDEFS
lv_display_t
TYPEDEFS
lv_draw_buf_align_cb_t
lv_draw_buf_cache_operation_cb_t
lv_draw_buf_copy_cb_t
lv_draw_buf_free_cb_t
lv_draw_buf_handlers_t
TYPEDEFS
lv_draw_buf_malloc_cb_t
TYPEDEFS
lv_draw_buf_t
lv_draw_buf_width_to_stride_cb_t
lv_draw_glyph_cb_t
Passed as a parameter to lv_draw_label_iterate_characters to draw the characters one by one @param t pointer to a draw task @param dsc pointer to lv_draw_glyph_dsc_t to describe the character to draw if NULL don’t draw character @param fill_dsc pointer to a fill descriptor to draw a background for the character or underline or strike through if NULL do not fill anything @param fill_area the area to fill if NULL do not fill anything
lv_draw_glyph_dsc_t
lv_draw_image_core_cb
PErform the actual rendering of a decoded image @param t pointer to a draw task @param draw_dsc the draw descriptor of the image @param decoder_dsc pointer to the decoded image’s descriptor @param sup supplementary data @param img_coords the absolute coordinates of the image @param clipped_img_area the absolute clip coordinates
lv_draw_image_dsc_t
MACROS
lv_draw_image_sup_t
TYPEDEFS
lv_draw_label_hint_t
Store some info to speed up drawing of very large texts It takes a lot of time to get the first visible character because all the previous characters needs to be checked to calculate the positions. This structure stores an earlier (e.g. at -1000 px) coordinate and the index of that line. Therefore the calculations can start from here.
lv_draw_mask_rect_dsc_t
TYPEDEFS
lv_draw_mask_t
lv_draw_sw_blend_dsc_t
TYPEDEFS
lv_draw_sw_blend_fill_dsc_t
lv_draw_sw_blend_handler_t
Custom draw function for SW rendering. @param t pointer to a draw task @param dsc pointer to an initialized blend descriptor
lv_draw_sw_blend_image_dsc_t
lv_draw_sw_mask_angle_param_t
lv_draw_sw_mask_common_dsc_t
lv_draw_sw_mask_fade_param_t
lv_draw_sw_mask_line_param_t
lv_draw_sw_mask_line_side_t
lv_draw_sw_mask_map_param_t
lv_draw_sw_mask_radius_circle_dsc_arr_t
lv_draw_sw_mask_radius_param_t
lv_draw_sw_mask_res_t
TYPEDEFS
lv_draw_sw_mask_type_t
lv_draw_sw_mask_xcb_t
A common callback type for every mask type. Used internally by the library.
lv_draw_sw_unit_t
lv_draw_task_state_t
lv_draw_task_t
TYPEDEFS
lv_draw_task_type_t
TYPEDEFS
lv_draw_unit_t
lv_draw_vector_dsc_t
lv_dropdown_list_t
lv_dropdown_t
TYPEDEFS
lv_event_cb_t
TYPEDEFS
lv_event_code_t
Type of event being sent to Widget
lv_event_dsc_t
TYPEDEFS
lv_event_t
lv_ffmpeg_player_t
lv_file_explorer_t
lv_flex_align_t
TYPEDEFS
lv_flex_flow_t
lv_font_class_t
lv_font_fmt_txt_bitmap_format_t
Bitmap formats
lv_font_fmt_txt_cmap_type_t
Format of font character map.
lv_font_glyph_format_t
The font format.
lv_font_info_t
lv_font_kerning_t
Adjust letter spacing for specific character pairs.
lv_font_manager_t
lv_font_subpx_t
The bitmaps might be upscaled by 3 to achieve subpixel rendering.
lv_font_t
Describe the properties of a font
lv_fpoint_t
lv_fragment_class_t
lv_fragment_managed_states_t
lv_fragment_t
lv_freetype_outline_event_param_t
lv_freetype_outline_vector_t
lv_fs_drv_t
lv_fs_file_cache_t
TYPEDEFS
lv_fs_mode_t
File open mode.
lv_fs_res_t
Errors in the file system module.
lv_fs_whence_t
Seek modes.
lv_global_t
lv_gltf_environment_t
lv_gltf_ibl_sampler_t
lv_gltf_model_node_t
lv_gltf_model_t
lv_gltf_t
lv_grad_dir_t
The direction of the gradient.
lv_grad_extend_t
Gradient behavior outside the defined range.
lv_grid_align_t
TYPEDEFS
lv_group_edge_cb_t
lv_group_focus_cb_t
TYPEDEFS
lv_group_refocus_policy_t
lv_group_t
Groups can be used to logically hold objects so that they can be individually focused. They are NOT for laying out objects on a screen (try layouts for that).
lv_hit_test_info_t
Used as the event parameter of ::LV_EVENT_HIT_TEST to check if an point can click the object or not. res should be set like this:
lv_image_align_t
Image size mode, when image size and object size is different
lv_image_cache_data_t
lv_image_compress_t
lv_image_decoder_args_t
Image decoder args. It determines how to decoder an image, e.g. whether to premultiply the alpha or not. It should be passed to lv_img_decoder_open() function. If NULL is provided, default args are used.
lv_image_decoder_close_f_t
Close the pending decoding. Free resources etc. @param decoder pointer to the decoder the function associated with @param dsc pointer to decoder descriptor
lv_image_decoder_custom_draw_t
Custom drawing functions for special image formats. @param layer pointer to a layer @param dsc pointer to decoder descriptor @param coords the coordinates of the image @param draw_dsc the draw image descriptor @param clip_area the clip area of the image
lv_image_decoder_dsc_t
Describe an image decoding session. Stores data about the decoding
lv_image_decoder_get_area_cb_t
Decode full_area pixels incrementally by calling in a loop. Set decoded_area values to LV_COORD_MIN on first call. Required only if the “open” function can’t return with the whole decoded pixel array. @param decoder pointer to the decoder the function associated with @param dsc pointer to decoder descriptor @param full_area input parameter. the full area to decode after enough subsequent calls @param decoded_area input+output parameter. set the values to LV_COORD_MIN for the first call and to reset decoding. the decoded area is stored here after each call. @return LV_RESULT_OK: ok; LV_RESULT_INVALID: failed or there is nothing left to decode
lv_image_decoder_info_f_t
Get info from an image and store in the header @param decoder pointer to decoder object @param dsc pointer to decoder descriptor @param header store the info here @return LV_RESULT_OK: info written correctly; LV_RESULT_INVALID: failed
lv_image_decoder_open_f_t
Open an image for decoding. Prepare it as it is required to read it later @param decoder pointer to the decoder the function associated with @param dsc pointer to decoder descriptor. src, color are already initialized in it.
lv_image_decoder_t
lv_image_header_cache_data_t
lv_image_src_t
Source of image.
lv_image_t
Data of image
lv_imagebutton_src_info_t
TYPEDEFS
lv_imagebutton_state_t
DEFINES
lv_imagebutton_t
Data of image button
lv_ime_pinyin_t
lv_img_dsc_t
Struct to describe a constant image resource. It’s similar to lv_draw_buf_t, but the data is constant.
lv_indev_gesture_type_t
lv_indev_key_remap_cb_t
Indev key remapping callback
lv_indev_mode_t
lv_indev_read_cb_t
lv_indev_state_t
States for input devices
lv_indev_t
TYPEDEFS
lv_indev_type_t
Possible input device types
lv_intptr_t
lv_iter_inspect_cb
lv_iter_next_cb
TYPEDEFS
lv_iter_t
lv_key_t
lv_keyboard_mode_t
Current keyboard mode.
lv_keyboard_t
Data of keyboard
lv_label_long_mode_t
Long mode behaviors. Used in ‘lv_label_ext_t’
lv_label_t
TYPEDEFS
lv_layer_t
lv_layer_type_t
Store the type of layer required to render a widget.
lv_layout_get_min_size_cb_t
lv_layout_t
lv_layout_update_cb_t
TYPEDEFS
lv_led_t
Data of led
lv_libinput_event_t
lv_libinput_t
lv_line_t
Data of line
lv_ll_node_t
Dummy type to make handling easier
lv_log_level_t
lv_log_print_g_cb_t
Log print function. Receives a string buffer to print“.
lv_matrix_t
lv_mem_pool_t
TYPEDEFS
lv_menu_history_t
lv_menu_load_page_event_data_t
TYPEDEFS
lv_menu_mode_header_t
TYPEDEFS
lv_menu_mode_root_back_button_t
lv_menu_page_t
lv_menu_t
lv_monkey_config_t
lv_msgbox_t
TYPEDEFS
lv_mutex_t
TYPEDEFS
lv_obj_class_editable_t
TYPEDEFS
lv_obj_class_event_cb_t
lv_obj_class_group_def_t
lv_obj_class_t
Describe the common methods of every object. Similar to a C++ class.
lv_obj_class_theme_inheritable_t
lv_obj_flag_t
lv_obj_point_transform_flag_t
TYPEDEFS
lv_obj_spec_attr_t
Special, rarely used attributes. They are allocated automatically if any elements is set.
lv_obj_style_t
TYPEDEFS
lv_obj_style_transition_dsc_t
lv_obj_t
Typedefs from various lvgl modules. They are defined here to avoid circular dependencies.
lv_obj_tree_walk_cb_t
lv_obj_tree_walk_res_t
TYPEDEFS
lv_observer_cb_t
Callback called to notify Observer that Subject’s value has changed @param observer pointer to Observer @param subject pointer to Subject being observed
lv_observer_t
The observer object: a descriptor returned when subscribing LVGL widgets to subjects
lv_opa_t
lv_opengles_window_t
lv_opengles_window_texture_t
lv_palette_t
TYPEDEFS
lv_part_t
The possible parts of widgets. The parts can be considered as the internal building block of the widgets. E.g. slider = background + indicator + knob Not all parts are used by every widget
lv_pool_t
lv_profiler_builtin_config_t
lv_prop_id_t
lv_qrcode_t
lv_rb_color_t
TYPEDEFS
lv_rb_compare_res_t
lv_rb_compare_t
lv_rb_node_t
TYPEDEFS
lv_rb_t
lv_result_t
LVGL error codes.
lv_rlottie_t
lv_roller_mode_t
Roller mode.
lv_roller_t
TYPEDEFS
lv_scale_mode_t
Scale mode
lv_scale_section_t
TYPEDEFS
lv_scale_t
lv_screen_create_cb_t
lv_screen_load_anim_t
lv_scroll_snap_t
Scroll span align options. Tells where to align the snappable children when scroll stops.
lv_scrollbar_mode_t
Scrollbar modes: shows when should the scrollbars be visible
lv_slider_mode_t
TYPEDEFS
lv_slider_orientation_t
lv_slider_t
TYPEDEFS
lv_span_coords_t
Coords of a span
lv_span_mode_t
lv_span_overflow_t
TYPEDEFS
lv_span_t
TYPEDEFS
lv_spangroup_t
Data of label
lv_spinbox_t
Data of spinbox
lv_spinner_t
lv_state_t
Possible states of a widget. OR-ed values are possible
lv_style_prop_t
lv_style_res_t
lv_style_selector_t
A joint type for lv_part_t and lv_state_t. Example values
lv_style_state_cmp_t
lv_subject_increment_dsc_t
Descriptor created by lv_obj_add_subject_increment_event()
lv_subject_t
The Subject (an observable value)
lv_subject_type_t
Values for lv_subject_t’s type field
lv_switch_orientation_t
TYPEDEFS
lv_switch_t
TYPEDEFS
lv_table_cell_ctrl_t
TYPEDEFS
lv_table_cell_t
Cell data
lv_table_t
Table data
lv_tabview_t
TYPEDEFS
lv_text_align_t
Label align policy
lv_text_cmd_state_t
State machine for text renderer.
lv_text_decor_t
Some options to apply decorations on texts. ’OR’ed values can be used.
lv_text_flag_t
Options for text rendering.
lv_textarea_t
Data of text area
lv_theme_apply_cb_t
TYPEDEFS
lv_theme_t
TYPEDEFS
lv_thread_prio_t
TYPEDEFS
lv_thread_sync_t
lv_thread_t
lv_tick_get_cb_t
TYPEDEFS
lv_tileview_t
TYPEDEFS
lv_tileview_tile_t
lv_timer_cb_t
Timers execute this type of functions.
lv_timer_handler_resume_cb_t
Timer handler resume this type of function.
lv_timer_t
Descriptor of a lv_timer
lv_tlsf_t
lv_tlsf_walker
lv_tree_after_cb_t
lv_tree_before_cb_t
lv_tree_class_t
TYPEDEFS
lv_tree_constructor_cb_t
lv_tree_destructor_cb_t
lv_tree_node_t
Description of a tree node
lv_tree_traverse_cb_t
lv_tree_walk_mode_t
lv_uintptr_t
lv_value_precise_t
lv_vector_fill_dsc_t
lv_vector_gradient_t
lv_vector_path_ctx_t
lv_vector_path_t
lv_vector_stroke_dsc_t
lv_win_t
TYPEDEFS
lv_xkb_t
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t
va_list
wchar_t

Unions§

_lv_anim_t__lv_anim_path_para_t
_lv_line_t__bindgen_ty_1
lv_font_glyph_dsc_t__bindgen_ty_1
lv_grad_dsc_t__bindgen_ty_1
lv_linux_proc_stat_t
TYPEDEFS
lv_style_value_t
A common type to handle all the property types in the same way.
lv_subject_value_t
A common type to handle all the various observable types in the same way
lv_yuv_buf_t