Contents Menu Expand Light mode Dark mode System, in dark mode System, in light mode View documentation source on GitHub Skip to content
LVGL 9.3 documentation
Light Logo Dark Logo
  • Introduction
  • Getting Started
  • Examples
  • Integration and Drivers
    • Adding LVGL to Your Project
      • Getting LVGL
      • Building LVGL
      • Configuration
      • Connecting LVGL to Your Hardware
      • Timer Handler
      • Threading Considerations
      • Other Platforms and Tools
    • Bindings
      • Output API as JSON Data
      • Cpp
      • JavaScript
      • MicroPython
      • PikaScript
    • Build systems
      • make
      • CMake
    • Chip vendors
      • Alif
      • Arm
      • Espressif (ESP32 Chip Series)
      • NXP
      • Renesas
        • Built-in Drivers
        • RA Family
        • RX Family
        • RZ/G Family
        • RZ/A Family
        • Supported Boards
      • STM32
    • Drivers
      • Display
        • Linux Framebuffer Driver
        • FT81x
        • Generic MIPI DCS compatible LCD Controller driver
        • ILI9341 LCD Controller driver
        • Step-by-step Guide: How to use the LVGL v9 LCD drivers with STM32 devices
        • Renesas GLCDC
        • STM32 LTDC Driver
        • ST7735 LCD Controller driver
        • ST7789 LCD Controller driver
        • ST7796 LCD Controller driver
      • Libinput Driver
      • OpenGL ES Display/Inputs Driver
      • Touchpad
        • Linux Evdev Driver
        • FT6X36
      • Wayland Display/Inputs driver
      • Windows Display/Inputs driver
      • X11 Display/Inputs driver
      • UEFI Display/Inputs driver
      • SDL Driver
    • Renderers and GPUs
      • Software Renderer
      • Arm-2D GPU
      • NemaGFX Acceleration
      • NXP PXP GPU
      • NXP VGLite GPU
      • NXP G2D GPU
      • SDL Renderer
      • STM32 DMA2D GPU
      • VG-Lite General GPU
    • Frameworks
      • Arduino
      • PlatformIO
      • Tasmota and berry
    • IDEs
      • MDK
      • Simulator on PC
    • (RT)OS
      • FreeRTOS
      • MQX RTOS
      • NuttX RTOS
      • PX5 RTOS
      • QNX
      • RT-Thread RTOS
      • Yocto
        • Yocto Project Core Components
        • LVGL in Yocto
        • Yocto Project Terms
      • Buildroot
        • Quick Setup
        • RPi4 custom image
        • LVGL application
      • Zephyr
      • Torizon OS
    • Boards
      • Toradex
      • Riverdi
      • Viewe
  • Common Widget Features
    • Widget Basics
    • Positions, Sizes and Layouts
    • Layers
    • Styles
      • Styles Overview
      • Style Properties
    • Events
    • Layouts
      • Flex
      • Grid
    • Scrolling
  • All Widgets
    • Base Widget (lv_obj)
    • 3D Texture (lv_3dtexture)
    • Animation Image (lv_animimg)
    • Arc (lv_arc)
    • Bar (lv_bar)
    • Button (lv_button)
    • Button Matrix (lv_buttonmatrix)
    • Calendar (lv_calendar)
    • Canvas (lv_canvas)
    • Chart (lv_chart)
    • Checkbox (lv_checkbox)
    • Drop-Down List (lv_dropdown)
    • Image (lv_image)
    • Image Button (lv_imagebutton)
    • Keyboard (lv_keyboard)
    • Label (lv_label)
    • LED (lv_led)
    • Line (lv_line)
    • List (lv_list)
    • Lottie (lv_lottie)
    • Menu (lv_menu)
    • Message Box (lv_msgbox)
    • Roller (lv_roller)
    • Scale (lv_scale)
    • Slider (lv_slider)
    • Spangroup (lv_spangroup)
    • Spinbox (lv_spinbox)
    • Spinner (lv_spinner)
    • Switch (lv_switch)
    • Table (lv_table)
    • Tab View (lv_tabview)
    • Text Area (lv_textarea)
    • Tile View (lv_tileview)
    • Window (lv_win)
    • New Widget
  • Main Modules
    • Display (lv_display)
      • Overview
      • Setting Up Your Display(s)
      • Screen Layers
      • Color Format
      • Refreshing
      • Events
      • API
      • Changing Resolution
      • Inactivity Measurement
      • Rotation
      • Constraints on Redrawn Area
      • Tiled Rendering
      • Extending/Combining Displays
    • Input Device (lv_indev)
    • Color (lv_color)
    • Font (lv_font)
    • Images (lv_image)
    • Timer (lv_timer)
    • Animation (lv_anim)
    • File System (lv_fs_drv)
    • Drawing
      • Draw Pipeline
      • Draw API
      • Draw Layers
      • Draw Descriptors
  • Auxiliary Modules
    • File Explorer
    • Font Manager
    • Fragment
    • Grid navigation
    • Pinyin IME
    • Image font
    • Monkey
    • Widget ID
    • Widget Properties
    • Observer
      • How to Use
      • Examples
    • Snapshot
    • UI Testing
    • XML - Declarative UI
      • Introduction
      • Component Library
      • Project
      • Syntax
      • Components
      • Screens
      • Widgets
      • Preview
      • API
      • Styles
      • Constants
      • View
      • Fonts
      • Images
      • Events
      • Subjects
      • Animations
      • Translations
  • 3rd-Party Libraries
    • Arduino ESP littlefs
    • Arduino SD
    • Barcode
    • BMP Decoder
    • FFmpeg Support
    • FreeType Support
    • File System Interfaces
    • GIF Decoder
    • littlefs
    • libjpeg-turbo Decoder
    • libpng Decoder
    • LodePNG Decoder
    • QR Code
    • RLE Decompression
    • Rlottie Player
    • SVG Support
    • Tiny TTF font engine
    • Tiny JPEG Decompressor (TJpgDec)
  • Debugging
    • GDB Plug-In
    • Logging
    • Profiler
    • VG-Lite Simulator
  • Contributing
    • Introduction
    • Ways to Contribute
    • Pull Requests
    • Developer Certification of Origin (DCO)
    • Coding Style
  • Change Log
  • API
    • lvgl_private.h
    • lv_api_map_v9_1.h
    • lv_api_map_v8.h
    • lv_conf_internal.h
    • lv_api_map_v9_0.h
    • lv_conf_kconfig.h
    • lv_init.h
    • lvgl.h
    • widgets
      • lottie
        • lv_lottie.h
        • lv_lottie_private.h
      • line
        • lv_line_private.h
        • lv_line.h
      • objx_templ
        • lv_objx_templ.h
      • tileview
        • lv_tileview_private.h
        • lv_tileview.h
      • switch
        • lv_switch.h
        • lv_switch_private.h
      • arc
        • lv_arc_private.h
        • lv_arc.h
      • 3dtexture
        • lv_3dtexture_private.h
        • lv_3dtexture.h
      • canvas
        • lv_canvas.h
        • lv_canvas_private.h
      • led
        • lv_led.h
        • lv_led_private.h
      • label
        • lv_label.h
        • lv_label_private.h
      • table
        • lv_table_private.h
        • lv_table.h
      • property
        • lv_style_properties.h
        • lv_obj_property_names.h
      • keyboard
        • lv_keyboard_private.h
        • lv_keyboard.h
      • checkbox
        • lv_checkbox_private.h
        • lv_checkbox.h
      • spinbox
        • lv_spinbox_private.h
        • lv_spinbox.h
      • slider
        • lv_slider_private.h
        • lv_slider.h
      • textarea
        • lv_textarea.h
        • lv_textarea_private.h
      • animimage
        • lv_animimage_private.h
        • lv_animimage.h
      • list
        • lv_list.h
      • chart
        • lv_chart_private.h
        • lv_chart.h
      • msgbox
        • lv_msgbox.h
        • lv_msgbox_private.h
      • tabview
        • lv_tabview.h
        • lv_tabview_private.h
      • win
        • lv_win.h
        • lv_win_private.h
      • image
        • lv_image_private.h
        • lv_image.h
      • imagebutton
        • lv_imagebutton.h
        • lv_imagebutton_private.h
      • span
        • lv_span_private.h
        • lv_span.h
      • calendar
        • lv_calendar.h
        • lv_calendar_chinese.h
        • lv_calendar_private.h
        • lv_calendar_header_arrow.h
        • lv_calendar_header_dropdown.h
      • roller
        • lv_roller.h
        • lv_roller_private.h
      • scale
        • lv_scale.h
        • lv_scale_private.h
      • bar
        • lv_bar_private.h
        • lv_bar.h
      • buttonmatrix
        • lv_buttonmatrix_private.h
        • lv_buttonmatrix.h
      • spinner
        • lv_spinner.h
      • dropdown
        • lv_dropdown_private.h
        • lv_dropdown.h
      • menu
        • lv_menu.h
        • lv_menu_private.h
      • button
        • lv_button.h
        • lv_button_private.h
    • font
      • lv_symbol_def.h
      • lv_font_fmt_txt.h
      • lv_binfont_loader.h
      • lv_font.h
      • lv_font_fmt_txt_private.h
    • display
      • lv_display.h
      • lv_display_private.h
    • osal
      • lv_rtthread.h
      • lv_freertos.h
      • lv_os_private.h
      • lv_sdl2.h
      • lv_os_none.h
      • lv_cmsis_rtos2.h
      • lv_mqx.h
      • lv_pthread.h
      • lv_os.h
      • lv_linux_private.h
      • lv_windows.h
    • tick
      • lv_tick_private.h
      • lv_tick.h
    • others
      • font_manager
        • lv_font_manager_recycle.h
        • lv_font_manager.h
      • test
        • lv_test_private.h
        • lv_test_helpers.h
        • lv_test_screenshot_compare.h
        • lv_test_indev_gesture.h
        • lv_test.h
        • lv_test_indev.h
        • lv_test_display.h
      • monkey
        • lv_monkey.h
        • lv_monkey_private.h
      • observer
        • lv_observer_private.h
        • lv_observer.h
      • xml
        • lv_xml.h
        • lv_xml_component.h
        • lv_xml_base_types.h
        • lv_xml_utils.h
        • lv_xml_parser.h
        • lv_xml_private.h
        • lv_xml_update.h
        • lv_xml_style.h
        • lv_xml_component_private.h
        • lv_xml_widget.h
        • parsers
          • lv_xml_dropdown_parser.h
          • lv_xml_button_parser.h
          • lv_xml_keyboard_parser.h
          • lv_xml_slider_parser.h
          • lv_xml_textarea_parser.h
          • lv_xml_bar_parser.h
          • lv_xml_label_parser.h
          • lv_xml_checkbox_parser.h
          • lv_xml_roller_parser.h
          • lv_xml_obj_parser.h
          • lv_xml_buttonmatrix_parser.h
          • lv_xml_calendar_parser.h
          • lv_xml_tabview_parser.h
          • lv_xml_spangroup_parser.h
          • lv_xml_image_parser.h
          • lv_xml_canvas_parser.h
          • lv_xml_table_parser.h
          • lv_xml_scale_parser.h
          • lv_xml_chart_parser.h
          • lv_xml_event_parser.h
          • lv_xml_arc_parser.h
      • ime
        • lv_ime_pinyin_private.h
        • lv_ime_pinyin.h
      • imgfont
        • lv_imgfont.h
      • snapshot
        • lv_snapshot.h
      • fragment
        • lv_fragment.h
        • lv_fragment_private.h
      • sysmon
        • lv_sysmon_private.h
        • lv_sysmon.h
      • gridnav
        • lv_gridnav.h
      • file_explorer
        • lv_file_explorer.h
        • lv_file_explorer_private.h
    • misc
      • lv_profiler_builtin.h
      • lv_async.h
      • lv_rb_private.h
      • lv_area.h
      • lv_event.h
      • lv_style_gen.h
      • lv_grad.h
      • lv_fs.h
      • lv_anim_timeline.h
      • lv_iter.h
      • lv_color_op_private.h
      • lv_anim_private.h
      • lv_templ.h
      • lv_matrix.h
      • lv_circle_buf.h
      • lv_utils.h
      • lv_tree.h
      • lv_math.h
      • lv_profiler_builtin_private.h
      • lv_text.h
      • lv_assert.h
      • lv_style_private.h
      • lv_bidi.h
      • lv_text_ap.h
      • lv_fs_private.h
      • lv_area_private.h
      • lv_timer_private.h
      • lv_log.h
      • lv_ll.h
      • lv_bidi_private.h
      • lv_timer.h
      • lv_color.h
      • lv_profiler.h
      • lv_rb.h
      • lv_palette.h
      • lv_style.h
      • lv_anim.h
      • lv_text_private.h
      • lv_lru.h
      • lv_array.h
      • lv_color_op.h
      • lv_event_private.h
      • cache
        • lv_cache_private.h
        • lv_cache_entry_private.h
        • lv_cache.h
        • lv_cache_entry.h
        • class
          • lv_cache_lru_rb.h
          • lv_cache_lru_ll.h
          • lv_cache_class.h
        • instance
          • lv_cache_instance.h
          • lv_image_cache.h
          • lv_image_header_cache.h
    • indev
      • lv_indev_gesture_private.h
      • lv_indev_gesture.h
      • lv_indev.h
      • lv_indev_scroll.h
      • lv_indev_private.h
    • core
      • lv_obj_style_gen.h
      • lv_obj_tree.h
      • lv_obj_scroll.h
      • lv_obj_property.h
      • lv_obj_event_private.h
      • lv_obj_event.h
      • lv_obj_class.h
      • lv_obj_pos.h
      • lv_obj.h
      • lv_refr_private.h
      • lv_obj_draw.h
      • lv_obj_private.h
      • lv_obj_style_private.h
      • lv_group.h
      • lv_refr.h
      • lv_group_private.h
      • lv_obj_style.h
      • lv_obj_class_private.h
      • lv_global.h
      • lv_obj_scroll_private.h
      • lv_obj_draw_private.h
    • themes
      • lv_theme.h
      • lv_theme_private.h
      • simple
        • lv_theme_simple.h
      • mono
        • lv_theme_mono.h
      • default
        • lv_theme_default.h
    • drivers
      • lv_drivers.h
      • display
        • lcd
          • lv_lcd_generic_mipi.h
        • ili9341
          • lv_ili9341.h
        • st_ltdc
          • lv_st_ltdc.h
        • st7789
          • lv_st7789.h
        • ft81x
          • lv_ft81x.h
          • lv_ft81x_defines.h
        • renesas_glcdc
          • lv_renesas_glcdc.h
        • drm
          • lv_linux_drm.h
        • fb
          • lv_linux_fbdev.h
        • st7796
          • lv_st7796.h
        • st7735
          • lv_st7735.h
        • tft_espi
          • lv_tft_espi.h
      • wayland
        • lv_wayland_private.h
        • lv_wayland_smm.h
        • lv_wl_touch.h
        • lv_wl_pointer.h
        • lv_wayland.h
        • lv_wl_keyboard.h
        • lv_wl_pointer_axis.h
        • lv_wl_window.h
      • sdl
        • lv_sdl_mousewheel.h
        • lv_sdl_mouse.h
        • lv_sdl_window.h
        • lv_sdl_keyboard.h
        • lv_sdl_private.h
      • windows
        • lv_windows_context.h
        • lv_windows_input.h
        • lv_windows_display.h
        • lv_windows_input_private.h
      • qnx
        • lv_qnx.h
      • uefi
        • lv_uefi_std_wrapper.h
        • lv_uefi_indev.h
        • lv_uefi.h
        • lv_uefi_private.h
        • lv_uefi_display.h
        • lv_uefi_edk2.h
        • lv_uefi_gnu_efi.h
        • lv_uefi_context.h
      • libinput
        • lv_libinput.h
        • lv_libinput_private.h
        • lv_xkb_private.h
        • lv_xkb.h
      • evdev
        • lv_evdev.h
        • lv_evdev_private.h
      • glfw
        • lv_opengles_texture.h
        • lv_opengles_driver.h
        • lv_glfw_window.h
        • lv_opengles_debug.h
        • lv_glfw_window_private.h
      • nuttx
        • lv_nuttx_profiler.h
        • lv_nuttx_entry.h
        • lv_nuttx_image_cache.h
        • lv_nuttx_touchscreen.h
        • lv_nuttx_lcd.h
        • lv_nuttx_fbdev.h
        • lv_nuttx_cache.h
        • lv_nuttx_libuv.h
      • x11
        • lv_x11.h
    • layouts
      • lv_layout_private.h
      • lv_layout.h
      • flex
        • lv_flex.h
      • grid
        • lv_grid.h
    • stdlib
      • lv_mem.h
      • lv_sprintf.h
      • lv_mem_private.h
      • lv_string.h
      • builtin
        • lv_tlsf.h
        • lv_tlsf_private.h
    • libs
      • barcode
        • lv_barcode.h
        • lv_barcode_private.h
      • bin_decoder
        • lv_bin_decoder.h
      • rle
        • lv_rle.h
      • svg
        • lv_svg_parser.h
        • lv_svg.h
        • lv_svg_render.h
        • lv_svg_decoder.h
        • lv_svg_token.h
      • ffmpeg
        • lv_ffmpeg.h
        • lv_ffmpeg_private.h
      • libpng
        • lv_libpng.h
      • rlottie
        • lv_rlottie.h
        • lv_rlottie_private.h
      • qrcode
        • lv_qrcode_private.h
        • lv_qrcode.h
      • libjpeg_turbo
        • lv_libjpeg_turbo.h
      • bmp
        • lv_bmp.h
      • tjpgd
        • lv_tjpgd.h
      • tiny_ttf
        • lv_tiny_ttf.h
      • freetype
        • lv_freetype.h
        • lv_freetype_private.h
      • gif
        • lv_gif.h
        • lv_gif_private.h
      • lodepng
        • lv_lodepng.h
      • fsdrv
        • lv_fsdrv.h
    • draw
      • lv_draw_buf.h
      • lv_draw_3d.h
      • lv_draw_line.h
      • lv_draw_image_private.h
      • lv_image_dsc.h
      • lv_draw_buf_private.h
      • lv_draw_label.h
      • lv_draw_vector_private.h
      • lv_draw_arc.h
      • lv_draw_vector.h
      • lv_draw_rect_private.h
      • lv_draw.h
      • lv_image_decoder_private.h
      • lv_draw_label_private.h
      • lv_draw_rect.h
      • lv_draw_mask.h
      • lv_draw_mask_private.h
      • lv_image_decoder.h
      • lv_draw_triangle.h
      • lv_draw_triangle_private.h
      • lv_draw_private.h
      • lv_draw_image.h
      • opengles
        • lv_draw_opengles.h
      • nema_gfx
        • lv_draw_nema_gfx_utils.h
        • lv_nema_gfx_path.h
        • lv_draw_nema_gfx.h
      • dma2d
        • lv_draw_dma2d_private.h
        • lv_draw_dma2d.h
      • nxp
        • vglite
          • lv_vglite_utils.h
          • lv_vglite_matrix.h
          • lv_vglite_buf.h
          • lv_draw_vglite.h
          • lv_vglite_path.h
        • pxp
          • lv_pxp_cfg.h
          • lv_pxp_osa.h
          • lv_draw_pxp.h
          • lv_pxp_utils.h
        • g2d
          • lv_g2d_buf_map.h
          • lv_draw_g2d.h
          • lv_g2d_utils.h
      • sdl
        • lv_draw_sdl.h
      • sw
        • lv_draw_sw.h
        • lv_draw_sw_mask_private.h
        • lv_draw_sw_mask.h
        • lv_draw_sw_utils.h
        • lv_draw_sw_grad.h
        • lv_draw_sw_private.h
        • blend
          • lv_draw_sw_blend_private.h
          • lv_draw_sw_blend_to_argb8888.h
          • lv_draw_sw_blend_to_i1.h
          • lv_draw_sw_blend_to_rgb565.h
          • lv_draw_sw_blend_to_argb8888_premultiplied.h
          • lv_draw_sw_blend.h
          • lv_draw_sw_blend_to_al88.h
          • lv_draw_sw_blend_to_rgb888.h
          • lv_draw_sw_blend_to_l8.h
          • lv_draw_sw_blend_to_rgb565_swapped.h
          • arm2d
            • lv_blend_arm2d.h
          • helium
            • lv_blend_helium.h
          • neon
            • lv_blend_neon.h
        • arm2d
          • lv_draw_sw_arm2d.h
          • lv_draw_sw_helium.h
      • vg_lite
        • lv_vg_lite_stroke.h
        • lv_vg_lite_utils.h
        • lv_vg_lite_path.h
        • lv_draw_vg_lite.h
        • lv_vg_lite_decoder.h
        • lv_vg_lite_pending.h
        • lv_draw_vg_lite_type.h
        • lv_vg_lite_math.h
        • lv_vg_lite_grad.h
      • renesas
        • dave2d
          • lv_draw_dave2d_utils.h
          • lv_draw_dave2d.h
Back to top
View this page

instanceΒΆ

  • lv_cache_instance.h
  • lv_image_cache.h
  • lv_image_header_cache.h
Next
lv_cache_instance.h
Previous
lv_cache_class.h
Copyright © 2021-2025, LVGL Kft
Made with Furo
Last updated on Jun 04, 2025