Symbols
loading...
Files
loading...

i80_controller sample sample

i80_controller sample is a sample project defining the following symbols:

Most used functions

Name
Location
Summary
GLOBAL PROTOTYPES Add a style to an object. Examples:
lv_obj_add_style(btn, &style_btn, 0); //Default button style lv_obj_add_style(btn, &btn_red, LV_STATE_PRESSED); //Overwrite only some colors to red when pressed
Mark the object as invalid to redrawn its area
Get the active screen of the default display
Free an allocated data
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.
Set the value of property in a style. This function shouldn't be used directly by the user. Instead use `lv_style_set_()`. E.g. `lv_style_set_bg_color()`
Set local style property on an object's part and state.
Set a new text for a label. Memory will be allocated to store the text by the label.
MACROS GLOBAL FUNCTIONS
Set the size of an object.
Event callback. Events are used to notify the user of some action being taken on the object. For details, see ::lv_event_t.
Align an object to the center on its parent.
Get the width of an area
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.
Check the type of obj.
Get the parent of an object
Get the height of an object
Get the width of an object
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
MACROS GLOBAL FUNCTIONS
Set one or more flags
DEFINES TYPEDEFS GLOBAL PROTOTYPES Copies a block of memory from a source address to a destination address.
Get the height of an area
GLOBAL FUNCTIONS
Get the object originally targeted by the event. It's the same even if the event is bubbled.
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
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);
Get the event code of an event
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
MACROS GLOBAL FUNCTIONS
Get the parameter passed when the event was sent
Get the value of a property
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.
Check if a given flag or all the given flags are set on an object.
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Get the child of an object by the child's index.
Set how the item should flow
Remove one or more flags
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 "normal" target.
Return with head node of the linked list
Set the start and end values of an animation
Get the width reduced by the left and right padding and the border width.
Get the common parts of two areas
Get the elapsed milliseconds since start up
Set a function to animate `var`
Create an animation
Get the height reduced by the top and bottom padding and the border width.
GLOBAL PROTOTYPES Initialize an animation variable. E.g.: lv_anim_t a; lv_anim_init(&a); lv_anim_set_...(&a); lv_anim_start(&a);
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Get the text of a label
Get the type of an input device
Return with the pointer of the next node after 'n_act'
Set the width of an object
Mark an area of an object as invalid. The area will be truncated to the object's area and marked for redraw.
Convert a percentage value to `int32_t`. Percentage values are stored in special range
Read from a file
Get the mapped of a number given an input and output range
Set the duration of an animation
Update the layout of an object.
A helper for black color
Used by the widgets internally to call the ancestor widget types's event handler
MACROS GLOBAL FUNCTIONS
Get the number of children
Set a variable to animate
Sets the width or height (on main axis) to grow the object in order fill the free space
Get the line height of a font. All characters fit into this height
Return the width of the area on the left the object. That is the number of pixels the object can be scrolled down. Normally positive but can be negative when scrolled inside.
Crate a draw task to render a text
Mix two RGB565 colors
Get the user_data passed when the event was registered on the object
Same as `memset(dst, 0x00, len)`.
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.
TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Get the vertical resolution of a display
STATIC VARIABLES GLOBAL VARIABLES MACROS GLOBAL FUNCTIONS
Get the elapsed milliseconds since a previous time stamp
Set a new formatted text for a label. Memory will be allocated to store the text by the label. Example:
lv_label_set_text_fmt(label1, "%d user", user_num);
Fills a block of memory with a specified value.
Computes the length of the string str up to, but not including the terminating null character.
Reallocate a memory with a new size. The old content will be kept.
Delete animation(s) of a variable with a given animator function
Align an object to another object.
Copy the coordinates of an object to an area
Get the group of the object
Return the height of the area above the object. That is the number of pixels the object can be scrolled down. Normally positive but can be negative when scrolled inside.
Mark the object for layout update.
Get current X scroll position.
Get current Y scroll position.
Get the next input device.
Get the horizontal resolution of a display.
Get the currently processed input device. Can be used in action functions too.
Remove the node 'node_p' from 'll_p' linked list. It does not free the memory of node.
A helper for white color
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`
Add button to a list
Initialize a label draw descriptor from an object's styles in its current state
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`.
Create a line draw task
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Set the height of an object
Get the DPI of the display
Return with area of an area (x * y)
moves the object to the given index in its parent. When used in listboxes, it can be used to sort the listbox items.
Get the width of a glyph with kerning
Check if a given flag or any of the flags are set on an object.
This function will compare two strings without specified length.
Initialize a line draw descriptor from an object's styles in its current state
Handle if the size of the internal ("virtual") content of an object has changed.
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Create a color from 0x000000..0xffffff input
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Manually set the current mode (edit or navigate).
Get the current mode (edit or navigate).
Scroll by a given amount of pixels
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Allocate zeroed memory dynamically
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.
Return with the pointer of the previous node after 'n_act'
Get the last point of an input device (for LV_INDEV_TYPE_POINTER and LV_INDEV_TYPE_BUTTON)
Allocate special data for an object if not allocated yet.
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
@cond Doxygen_Suppress Apply the added buffers on a line. Used internally by the library's drawing routines.
Check if a point is on an area
Set the cell of an object. The object's parent needs to have grid layout, else nothing will happen
Create a menu page object
Create a menu cont object
Set how to place (where to align) the items and tracks
Get the display of the object
Return with tail node of the linked list
Check if an area is fully on another
Get a pseudo random number in the given range
Get the area reduced by the paddings and the border width.
Return the width of the area on the right the object. That is the number of pixels the object can be scrolled down. Normally positive but can be negative when scrolled inside.
Set the path (curve) of the animation.
Set the value of an integer subject. It will notify all the observers as well.
Make the animation repeat itself.
Refresh a chart if its data line has changed
Notify an object and its children about its style is modified.
Send a control character to the focuses object of a group
Get the current cursor position in character index
Set the image data to display on the object
Set the behavior of the label with text longer than the object size
Set the value of a cell.
Check if the object is in a given state or not.
Create a new lv_timer
Create a color from 0x000..0xfff input
Remove and free all elements from a linked list. The list remain valid but become empty.
Scroll to a given Y coordinate on an object `y` will be limited internally to allow scrolling only on the content area.
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Test whether the and object is positioned by a layout or not
Get the index of a child.
Send an event to a display
@endcond 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`
Get the value of the main knob of a slider
Make the animation to play back to when the forward direction is ready
Set a new value on the bar
Insert a character to the current cursor position. To add a wide char, e.g. 'Á' use `lv_text_encoded_conv_wc('Á')`
MACROS GLOBAL FUNCTIONS
Align an area to another
Get the luminance of a color32: luminance = 0.3 R + 0.59 G + 0.11 B
Return the height of the area below the object. That is the number of pixels the object can be scrolled down. Normally positive but can be negative when scrolled inside.
Calculate the current value of an animation applying linear characteristic
Checks if the reset_query flag has been set. If so, perform necessary global indev cleanup actions
Add an empty draw task to the draw task list of a layer.
Set a new value on the slider
Set the width of an area
Get the animation of a variable and its `exec_cb`.
MACROS GLOBAL FUNCTIONS
Set a new value on the arc
Scroll to a given X coordinate on an object. `x` will be limited internally to allow scrolling only on the content area.
Allocate and add a data series to the chart
Get the draw descriptor of a draw task
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.
Get the luminance of a color: luminance = 0.3 R + 0.59 G + 0.11 B
Get the luminance of a color16: luminance = 0.3 R + 0.59 G + 0.11 B
Get the luminance of a color24: luminance = 0.3 R + 0.59 G + 0.11 B
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.
Initialize a line mask from two points.
Remove all styles from an object
Add a new head to a linked list
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.
Clear the selection on the text area.
Set the y coordinate of an object
Recalculate the size of the object
Move the parent of an object. The relative coordinates will be kept.
Set the height of an area
Set the position of the 'cursor' (read write pointer) in a file
Set menu page to display in main
Get the currently scrolled object (for LV_INDEV_TYPE_POINTER and LV_INDEV_TYPE_BUTTON)
Get where to snap the children when scrolling ends horizontally
Get where to snap the children when scrolling ends vertically
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Calculate the stride in bytes based on a width and color format
Get the area of a rectangle if its rotated and scaled
Initialize a transition descriptor. Example:
const static lv_style_prop_t trans_props[] = { LV_STYLE_BG_OPA, LV_STYLE_BG_COLOR, 0 }; static lv_style_transition_dsc_t trans1; lv_style_transition_dsc_init(&trans1, trans_props, NULL, 300, 0, NULL);
Get the y coordinate of object.
Invalidate the area of the scrollbars
Remove a style from an object. Examples:
lv_obj_remove_style(obj, &style, LV_PART_ANY | LV_STATE_ANY); //Remove a specific style lv_obj_remove_style(obj, NULL, LV_PART_MAIN | LV_STATE_ANY); //Remove all styles from the main part lv_obj_remove_style(obj, NULL, LV_PART_ANY | LV_STATE_ANY); //Remove all styles
Set the next point's Y value according to the update mode policy.
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Clear all properties from a style and free all allocated memories.
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Set the start angle of an arc. 0 deg: right, 90 bottom, etc.
Set the end angle of an arc. 0 deg: right, 90 bottom, etc.
Get the required extra size (around the object's part) to draw shadow, outline, value etc.
Get the object in which directions can be scrolled
Remove a local style property from a part of an object with a given state.
Get the screen of an object
Initialize a draw buf with the given buffer and parameters. Clear draw buffer flag to zero.
Give the length of a text with a given font
Check if an area is fully out of another
Set the attributes of a button of the button matrix
Search the most top, clickable object by a point
MACROS GLOBAL FUNCTIONS
Focus the next object in a group (defocus the current)
Get the focused object or NULL if there isn't one
Get the state of an object
Set the x coordinate of an object
Transform a point using the angle and zoom style properties of an object
Register a new style property for custom usage Example:
lv_style_prop_t MY_PROP; static inline void lv_style_set_my_prop(lv_style_t * style, lv_color_t value) { lv_style_value_t v = {.color = value}; lv_style_set_prop(style, MY_PROP, v); } ... MY_PROP = lv_style_register_prop(); ... lv_style_set_my_prop(&style1, lv_palette_main(LV_PALETTE_RED));
MACROS GLOBAL FUNCTIONS
Create a menu section object
Fill the canvas with color
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Get the draw task which was just added. Can be used in `LV_EVENT_DRAW_TASK_ADDED event`
Get the data of a cache entry.
Get the current value of an integer subject
Used internally for color filtering
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.
Remove an object from its group
Close an already opened file
Get the x coordinate of object.
Add an observer to a subject for an object. When the object is deleted, it will be removed from the subject automatically.
Get the index of letter on a relative point of a label.
Close (Collapse) the drop-down list
Get the area of the scrollbars
MACROS GLOBAL FUNCTIONS
Add a tab to the tabview
Assign a Text Area to the Keyboard. The pressed characters will be put there.
Get a pointer to main header obj
MACROS GLOBAL FUNCTIONS
MACROS GLOBAL FUNCTIONS
MACROS GLOBAL FUNCTIONS
Scroll to an object until it becomes visible on its parent
Calculate the current value of an animation slowing down the end phase
Get the value of an arc
Get the text of a text area. In password mode it gives the real text (not '*'s).
Duplicate a string by allocating a new one and copying the content.
Return pointer to the buffer at the given coordinates
Send an event to an indev
Set a function call when the animation is completed
Set scale total tick count (including minor and major ticks)
Sets how often the major tick will be drawn
Set the new extra draw size. Can be used in `LV_EVENT_REFR_EXT_DRAW_SIZE`
Open the drop.down list
Create an arc draw task.
Scroll by a given amount of pixels. `dx` and `dy` will be limited internally to allow scrolling only on the content area.
Set scale mode. See lv_scale_mode_t
Get the key passed as parameter to an event. Can be used in `LV_EVENT_KEY`
Add animation to the animation timeline.
MACROS GLOBAL FUNCTIONS
Mix black to a color
Notify all object if a style is modified
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Get the primary color of the theme
Copies the string pointed to by src, including the terminating null character, to the character array pointed to by dst.
Get the pixel size of a color format in bytes
Create an image draw task
Get the type of an image source
Add a new tail to a linked list
DEFINES TYPEDEFS GLOBAL PROTOTYPES Get the extended draw area of an object.
DEFINES TYPEDEFS GLOBAL PROTOTYPES Get the next line of text. Check line length and break chars too.
Get a pointer to the style of a span
Set the style of the part for the given scale section
Set the minimal and maximal values on a scale
Configure the text area to one line or back to normal
Focus the previous object in a group (defocus the current)
Calculate the integer exponents.
Get the relative x and y coordinates of a letter
Enable or disable automatic style refreshing when a new style is added/removed to/from an object or any other style change happens.
Focus on an object (defocus the current)
Transform an area using the angle and zoom style properties of an object
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
Calculate a value of a Cubic Bezier function.
Set a new type for a chart
Set the minimal and maximal y values on an axis
Get the descriptor of a glyph
Select next higher digit for edition by multiplying the step by 10
Tells whether the list is opened or not
Set the object in which directions can be scrolled
Get the child of an object by the child's index. Consider the children only with a given type.
Return how many elements are stored in the array.
Create an RGB888 color
Get the brightness of a color
Note: Eventually, lv_draw_buf_malloc/free will be kept as private. For now, we use `create` to distinguish with malloc. Create an draw buf by allocating struct for `lv_draw_buf_t` and allocating a buffer for it that meets specified requirements.
Get the `opa` style property from all parents and multiply and `>> 8` them.
Get the cache entry of a data. The data should be allocated by the cache instance.
Set a delay before starting the animation
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.
Get the display which is being refreshed
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`.
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`.
Wait until all the drawings are finished on layer. Needs to be usd in pair with `lv_canvas_init_layer`.
Get the pivot (rotation center) of the image. If pivot is set with LV_PCT, convert it to px before return.
Set minimum and the maximum values of a bar
Get the tab bar where the buttons are created
MACROS GLOBAL FUNCTIONS
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.
Scroll to a given coordinate on an object. `x` and `y` will be limited internally to allow scrolling only on the content area.
Get the widget where the container of each tab is created
Initialize an arc draw descriptor from an object's styles in its current state
Set where to snap the children when scrolling ends horizontally
Set where to snap the children when scrolling ends vertically
Calculate the current value of an animation with overshoot at the end
Create a span string descriptor and add to spangroup.
Set the number of points on a data line on a chart
Get the array of y values of a series
MACROS GLOBAL FUNCTIONS
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
GLOBAL PROTOTYPES Create a menu object
Create a menu separator object
MACROS GLOBAL FUNCTIONS
MACROS GLOBAL FUNCTIONS
Set the text of a check box. `txt` will be copied and may be deallocated after this function returns.
Select next lower digit for edition by dividing the step by 10
Remove a property from a style
Give a pointer to a driver from its letter
Get the label of a text area
Move the cursor one character left
Get the width occupied by the "parts" of the widget. E.g. the width of all columns of a table.
GLOBAL PROTOTYPES 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.
Return a pointer to the active screen on a display
Return the sys. layer. The system layer is the same on all screen and it is above the normal screen and the top layer.
Temporarily enable and disable the invalidation of the display.
Returns a pointer to the element at position n in the array.
Check if two ARGB8888 color are equal
Convert am RGB888 color to XRGB8888 stored in `uint32_t`
Clear an area on the buffer
Try to get a label draw descriptor from a draw task.
Try to get a fill draw descriptor from a draw task.
Invalidate image cache. Use NULL to invalidate all images.
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Return the length of the linked list.
DEFINES TYPEDEFS GLOBAL PROTOTYPES Low level function to scroll by given x and y coordinates. `LV_EVENT_SCROLL` is sent.
Delete a the left character from the current cursor position
Set the start and end angles of the arc background
Get the input device passed as parameter to indev related events.
Set minimum and the maximum values of a bar
Create a new layer on a parent layer
Get the target of an observer
Set the rotation for the whole arc
Get the time used to play the animation timeline.
Increment spinbox value by one step
Decrement spinbox value by one step
Set the brightness of a LED object
Update the mode of the spangroup.
Get the movement vector of an input device (for LV_INDEV_TYPE_POINTER and LV_INDEV_TYPE_BUTTON)
Get the index of the selected option
Insert a text to the current cursor position
Checks if the content is scrolled "in" and adjusts it to a normal position.
Set a delay before repeating the animation.
MACROS GLOBAL FUNCTIONS
Set an arrow or other symbol to display when on drop-down list's button. Typically a down caret or arrow.
Reset one or all input devices
Redrawn on object and all its children using the passed draw context
Set the size of an extended clickable area
Calculate the time of an animation based on its speed, start and end values.
Check if a color format has alpha channel or not
Check if two RGB888 color are equal
Get the reference count of a cache entry.
Deallocate a cache entry. And the data of the cache entry will be freed.
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
Notify all observers of subject
Insert a string into another
Get the whether a control value is enabled or disabled for button of a button matrix
Add title to the message box. It also creates a header for the title.
Set custom text source for major ticks labels
Get the value of the left knob of a slider
Get a pointer to menu page that is currently displayed in sidebar
Get the value of a bar
Get the options of a drop-down list
Get the current selected option as a string
Set the options on a roller
Set the text of a text area
Scroll to an object until it becomes visible on its parent. Do the same on the parent's parent, and so on. Therefore the object will be scrolled into view even it has nested scrollable parents
Get the default value of a property
Check if default theme is initialized
Get the number of object in the group
Called periodically to read the input devices
Calculate the current value of an animation applying step characteristic. (Set end value on the end of the animation)
Return with the extension of the filename
Get the text content height with width fixed.
Enable or disable the whole lv_timer handling
Iterate through the timers
Insert a text to a label. The label text cannot be static.
Get the X and Y coordinates where the scrolling will end for this object if a scrolling animation is in progress. If no scrolling animation, give the current `x` or `y` scroll position.
Check the current scroll direction of an input device (for LV_INDEV_TYPE_POINTER and LV_INDEV_TYPE_BUTTON)
Apply the active theme on an object
GLOBAL PROTOTYPES MACROS GLOBAL FUNCTIONS
Used as `get_glyph_dsc` callback in lvgl's native font format if the font is uncompressed.
Wait for draw finish in case of asynchronous task execution. If `LV_USE_OS == 0` it just return.
Set the start and end angles
Get the type of bar.
Get the one line configuration attribute
Get a list of accepted characters.
Get max length of a Text Area.
Move the cursor one character right
Add an object to a group
Get the height occupied by the "parts" of the widget. E.g. the height of all rows of a table.
Tell whether an area of an object is visible (even partially) now or not
Get the an area where to object can be clicked. It's the object's normal area plus the extended click area.
Get the current scroll mode (when to hide the scrollbars)
MACROS GLOBAL FUNCTIONS
Set a static text. It will not be saved by the span so the 'text' variable has to be 'alive' while the span exist.
Add text to a list
Set menu page to display in sidebar
Set the direction of the a drop-down list
Delete all children of an object. Also remove the objects from their group and remove all animations (if any). Send `LV_EVENT_DELETED` to deleted objects.
Do nothing until the next release
Get the user_data passed when the timer was created
Get the type of a draw task
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`
When a draw unit finished a draw task it needs to request dispatching to let LVGL assign a new draw task to it
Return the top layer. The top layer is the same on all screens and it is above the normal screen layer.
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.
Get the theme of a display
Transform an array of points using the angle and zoom style properties of an object
Shrink the memory capacity of array if necessary.
Copies up to dst_size-1 (non-null) characters from src to dst. A null terminator is always added.
Align the address of a buffer. The buffer needs to be large enough for the real data after alignment
Create a draw task to blend a layer to another layer
Get the signed rotary encoder diff. passed as parameter to an event. Can be used in `LV_EVENT_ROTARY`
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Check if two area has common parts
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Create a draw task to mask a rectangle from the buffer
Decode two encoded character from a string.
Set a pixel's color and opacity
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.
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.
Clear the attributes of all buttons of a button matrix
Add a button to the footer of to the message box. It also creates a footer.
Add a close button to the message box. It also creates a header.
Set a new value for the left knob of a slider
Get the mode of the slider.
Clean up the gradient item after it was get with `lv_grad_get_from_cache`.
Calculate the current value of an animation applying an "S" characteristic (cosine)
Light on a LED
Light off a LED
Make a lv_timer ready. It will not wait its period.
Calculate the atan2 of a vector.
Get the position of a point to the chart.
Set a new start value on the bar
Set the type of bar.
Predict where would a scroll throw end
Set a layout for an object
Get an area the should be invalidated when the arcs angle changed between start_angle and end_ange
Convert a 32-bit RGB color to HSV
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Give information about the work memory of dynamic allocation
Set the progress of the animation timeline.
Write into a file
MACROS GLOBAL FUNCTIONS
MACROS GLOBAL FUNCTIONS
MACROS GLOBAL FUNCTIONS
Set a new text for a span. Memory will be allocated to store the text by the span.
Get the data point number per data line on chart
Get the current index of the x-axis start point in the data array
Set the next point's X and Y value according to the update mode policy.
Get the index of the currently pressed point. It's the same for every series.
Set a new a mode (text or number map)
Set an array of points. The line object will connect these points.
MACROS GLOBAL FUNCTIONS
Get whether a cell has the control bits
Get the subtitle font of the theme
MACROS GLOBAL FUNCTIONS
Set the height to show the given number of rows (options)
Get the index of the selected option
Set the placeholder text of a text area
Get the actually set y coordinate of object, i.e. the offset from the set alignment
Set a static text. It will not be saved by the label so the 'text' variable has to be 'alive' while the label exists.
Got to a pixel at X and Y coordinate on a layer
Get the color format of the display
Resize the array to the given capacity.
Returns a pointer to the first element in the array.
Move a block of memory from source to destination
This function will compare two memory blocks
TYPEDEFS STATIC PROTOTYPES GLOBAL PROTOTYPES
Create an ARGB8888 color from RGB888 + alpha
GLOBAL PROTOTYPES Initialize the draw buffer with the default handlers.
Copy an area from a buffer to another
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.
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().
The pair of `lv_lock()` and `lv_lock_isr()`. It unlocks LVGL general mutex. It is called internally in lv_timer_handler().
Initialize a fill draw descriptor.
Initialize an image draw descriptor from an object's styles in its current state
DEFINES TYPEDEFS GLOBAL PROTOTYPES Get the size of a cache entry.
Return true if the image cache is enabled.
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.
Make the animation to play back to when the forward direction is ready
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Add an observer to a subject. When the subject changes `observer_cb` will be called.
Remove an observer from its subject
Check if a linked list is empty
Called periodically to handle the refreshing
Delete a part of a string
Clear the attributes of a button of the button matrix
Check if an obj is a root back btn
Add a text to the content area of message box. Multiple texts will be created below each other.
Add a section to the given scale
Set the range for the given scale section
Set properties specific to round scale
Set properties specific to round scale
Point the needle to the corresponding value through the line
Get the current tab's index
DEFINES TYPEDEFS GLOBAL PROTOTYPES Initialize LVGL library. Should be called before any other LVGL related function.
Clamp a width between min and max width. If the min/max width is in percentage value use the ref_width
Clamp a height between min and max height. If the min/max height is in percentage value use the ref_height
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`
Drop all dynamically allocated memory and reset the memory pools' state
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()`.
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Get the time used to play the animation.
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES GLOBAL PROTOTYPES MACROS GLOBAL FUNCTIONS
Get the text content width when all span of spangroup on a line.
Get the brightness of a LED object
Set the number of times a timer will repeat.
Mix white to a color
Checks if a style is empty (has no properties)
GLOBAL FUNCTIONS
Default keyboard event to add characters to the Text area and change the map. If a custom `event_cb` is added to the keyboard this function can be called from it to handle the button clicks
Get a pointer to menu page that is currently displayed in main
Check if a character is drawn under a point.
Set a destination group for a keypad input device (for LV_INDEV_TYPE_KEYPAD)
STATIC VARIABLES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Set the start angle of an arc background. 0 deg: right, 90 bottom, etc.
Set the start angle of an arc background. 0 deg: right, 90 bottom etc.
Get the start value of a bar
Get the minimum value of a bar
Get the maximum value of a bar
Enable/Disable the positioning of the cursor by clicking the text on the text area.
Get the replacement characters to show in password mode
Move the cursor one line down
Move the cursor one line up
GLOBAL FUNCTIONS
Swap 2 object in a group. The object must be in the same group
Handle the gesture of indev_proc_p->pointer.act_obj
Get the distance of the nearest snap point
Set the height reduced by the top and bottom padding and the border width.
Get the y2 coordinate of object.
Hit-test an object given a particular point in screen space.
Tell whether an object is visible (even partially) now or not
Iterate through all children of any object.
TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
remove the least recently used item @todo we can optimise this by finding the n lru items, where n = required_space / average_length
Set the 'next node pointer' of a node
STATIC FUNCTIONS Set the previous node pointer of a node
Register a new layout
Create a triangle draw task
Set a default group. New object are added to this group if it's enabled in their class with `add_to_def_group = true`
Calculate the current value of an animation slowing down the start phase
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Start the animation timeline.
Cancel an asynchronous function call
Set the playback direction of the animation timeline.
MACROS GLOBAL FUNCTIONS
Set spinbox digit format (digit count and decimal format)
MACROS GLOBAL FUNCTIONS
Set the color of the LED
Set the mode of the spangroup.
Create a spangroup object
Set the align of the spangroup.
Set the overflow of the spangroup.
Set the indent of the spangroup.
Set the callback to the timer (the function to call periodically)
@cond Doxygen_Suppress Get the square root of a number
Set update mode of the chart object. Affects
Set the number of horizontal and vertical division lines
Add a cursor with a given color
Stick the cursor to a point
Remove the provided input device. Make sure not to use the provided input device afterwards anymore.
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`.
Get the array of x values of a series
Set a new map for the keyboard
Set the value of a cell. Memory will be allocated to store the text by the table.
Add control bits to the cell.
Clear control bits of the cell.
Get the selected cell (pressed and or focused)
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.
Set an apply callback for a theme. The apply callback is used to add styles to different objects
Rotate an object to the current position of the arc (knob)
Get the text of a check box
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.
Clear all options in a drop-down list. Works with both static and dynamic options.
Set whether the selected option in the list should be highlighted or not
Get the current selected option as a string.
Set a list of characters. Only these characters will be accepted by the text area
Set max length of a Text Area.
Set a buffer for the canvas. Use lv_canvas_set_draw_buf() instead if you need to set a buffer with alignment requirement.
MACROS GLOBAL FUNCTIONS
Set the image animation images source.
Startup the image animation.
Set the image animation duration time. unit:ms
Set the image animation repeatedly play times.
MACROS GLOBAL FUNCTIONS
Change the alignment of an object.
Get the actually set x coordinate of object, i.e. the offset from the set alignment
Check the children of `obj` and scroll `obj` to fulfill the scroll_snap settings
Swap the positions of two objects. When used in listboxes, it can be used to sort the listbox items.
Search for snap point in the min..max range.
Search for snap point in the min..max range.
Get the draw area of a draw task
Try dispatching draw tasks to draw units
Used internally to try dispatching draw tasks of a specific layer
Wait for a new dispatch request. It's blocking if `LV_USE_OS == 0` else it yields
Set a default display. The new screens will be created on it by default.
Get the physical horizontal resolution of a display
Get the physical vertical resolution of a display
Get display invalidation is enabled.
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).
Get the index of a child. Consider the children only with a given type.
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Deinit the array, and free the allocated memory
Remove the element at the specified position in the array.
@endcond Calculate the y value of cubic-bezier(x1, y1, x2, y2) function as specified x.
Transform an array of points
Used internally to execute a plain `free` operation
Used internally to execute a plain realloc operation
Used internally by lv_mem_monitor() to gather LVGL heap state information.
Convert an RGB888 color to an integer
Convert am RGB888 color to RGB565 stored in `uint16_t`
As of now, draw buf share same definition as `lv_image_dsc_t`. And is interchangeable with `lv_image_dsc_t`.
Set the palette color of an indexed image. Valid only for `LV_COLOR_FORMAT_I1/2/4/8`
Duplicate a draw buf with same image size, stride and color format. Copy the image data too.
Premultiply draw buffer color with alpha channel. If it's already premultiplied, return directly. Only color formats with alpha channel will be processed.
Crate a draw task to render a single character
Initialize a border draw descriptor.
Gets a pointer to the currently active object in the currently processed input device.
Get the indev assigned group
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.
GLOBAL VARIABLES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Destroy a cache object.
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.
Give a name for a cache object. Only the pointer of the string is saved.
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.
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.
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.
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.
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.
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.
Get the pause state of a timer
Set a function call when the animation really starts (considering `delay`)
Set a function call when the animation is deleted.
Deinitialize the SW renderers
Draw an image with SW render. It handles image decoding, tiling, transformations, and recoloring.
Initialize a line mask from a point and an angle.
Add an observer to a subject and also save a target.
Set an object state if an integer subject's value is not equal to a reference value, clear the flag otherwise
Bind an integer, string, or pointer subject to a label.
Update the layer type of a widget bayed on its current styles. The result will be stored in `obj->spec_attr->layer_type`
GLOBAL PROTOTYPES 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.
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Handle throwing after scrolling. Called by LVGL during input device processing
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Get the source of the image
Give the bar is in symmetrical mode or not
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.
Set attributes of all buttons of a button matrix
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`.
Add a button to the header of to the message box. It also creates a header.
Set whether back button should appear at root
Set the position of the tab bar
Set the animation time and arc length of the spinner
Pause the animation timeline.
GLOBAL VARIABLES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Reset the long press state of an input device
Convert a HSV color to RGB
Add an event handler to the display
Deinit the 'lv' library
Find an indev preferably with POINTER type (because it's the most generic) that uses the given group. In other words, find an indev, that is related to the given group. In the worst case simply return the latest indev
Hide all characters (convert them to '*')
Scale the given number of pixels (a distance or size) relative to a 160 DPI display considering the DPI of the default display. It ensures that e.g. `lv_dpx(100)` will have the same physical size regardless to the DPI of the display.
Set the zoom factor of the image. Note that indexed and alpha only images can't be transformed.
Get the current rotation of this display.
Get the last element of a path (e.g. U:/folder/file -> file)
Get the old area of the object before its size was changed. Can be used in `LV_EVENT_SIZE_CHANGED`
Get the animation descriptor of a scrolling. Can be used in `LV_EVENT_SCROLL_BEGIN`
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`
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`
Set the result of cover checking. Can be used in `LV_EVENT_COVER_CHECK`
GLOBAL PROTOTYPES Create a new object group
Remove all objects from a group
Stop the event from bubbling. This is only valid when called in the middle of an event processing chain.
Stop processing this event. This is only valid when called in the middle of an event processing chain.
Register a new, custom event ID. It can be used the same way as e.g. `LV_EVENT_CLICKED` to send custom events Example:
uint32_t LV_EVENT_MINE = 0; ... e = lv_event_register_id(); ... lv_obj_send_event(obj, LV_EVENT_MINE, &some_data);
Do not let to change the focus from the current object
Set a function for a group which will be called when a new object is focused
Set a function for a group which will be called when a focus edge is reached
Set whether the next or previous item in a group is focused if the currently focused obj is deleted.
Set whether focus next/prev will allow wrapping from first->last or last->first object.
Get the focus callback function of a group
Get the edge callback function of a group
Get whether focus next/prev will allow wrapping from first->last or last->first object.
Returns whether the 'lv' library is currently initialized
Check if any object has a given class (type). It checks the ancestor classes too.
Get the class (type) of the object
Check if any object is still "alive".
Enable or disable one or all input devices (default enabled)
Set a cursor for a pointer input device (for LV_INPUT_TYPE_POINTER and LV_INPUT_TYPE_BUTTON)
Tests the memory allocation system by allocating and freeing a block of memory.
Get the number of currently running animations
Calculate the current value of an animation with 3 bounces
Get global animation refresher timer.
Get whether the animation timeline is played in reverse.
Give the position of the read write pointer
Initialize a 'fs_dir_t' variable for directory reading
Read the next filename form a directory. The name of the directories will begin with '/'
Close the directory reading
Fill a buffer with the letters of existing drivers
Step up one level
Set spinbox rollover function
Set cursor position to a specific digit for edition
Set direction of digit step when clicking an encoder button while in editing mode
Get spinbox rollover function status
Get the spinbox numeral value (user has to convert to float according to its digit format)
Get the spinbox step value (user has to convert to float according to its digit format)
Change the name of the tab
Get a spangroup child by its index.
Get the align of the spangroup.
Get the overflow of the spangroup.
Get the indent of the spangroup.
Get the mode of the spangroup.
Toggle the state of a LED
Create an "empty" timer. It needs to be initialized with at least `lv_timer_set_cb` and `lv_timer_set_period`
Set new period for a lv_timer
Reset a lv_timer. It will be called the previously set period milliseconds later.
Convert a color to HSV
Get the number of custom properties that have been registered thus far.
Get the type of a chart
Deallocate and remove a data series from a chart
Hide/Unhide a single series of a chart.
Change the color of a series
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.
Set the coordinate of the cursor with respect to the paddings
Get the coordinate of the cursor with respect to the paddings
Initialize all data points of a series with a value
Set an individual point's y value of a chart's series directly based on its index
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.
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.
Show the button title in a popover when pressed.
Assign a Text Area to the Keyboard. The pressed characters will be put there.
Set a new a mode (text or number map)
Set the how the header should behave and its position
Get a pointer to sidebar header obj
Close a message box in the next call of the message box
Get the long mode of a label
Delete characters from a label. The label text cannot be static.
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.
Get the y inversion attribute
Get the value of a cell.
Set the text of a check box. `txt` must not be deallocated during the life of this checkbox.
GLOBAL PROTOTYPES 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.
Test if a drive is ready or not. If the `ready` function was not initialized `true` will be returned.
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
Get the current gesture direct
Get the last pressed key of an input device (for LV_INDEV_TYPE_KEYPAD)
Get a pointer to the indev read timer to modify its parameters with `lv_timer_...` functions.
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS 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.
Get the small font of the theme
Get the normal font of the theme
Get the secondary color of the theme
Set the type of arc.
Set minimum and the maximum values of an arc
Set a change rate to limit the speed how fast the arc should reach the pressed point.
Get the start angle of an arc.
Get the end angle of an arc.
Get the start angle of an arc background.
Get the end angle of an arc background.
Get the minimum value of an arc
Get the maximum value of an arc
Get whether the arc is type or not.
Align an object to the current position of the arc (knob)
Give the slider is being dragged or not
Add an options to a drop-down list from a string. Only works for non-static options.
Get the list of a drop-down to allow styling or other modifications
Get text of the drop-down list's button.
Get the symbol on the drop-down list. Typically a down caret or arrow.
Get whether the selected option in the list should be highlighted or not
Get the direction of the drop-down list
Get the options of a roller
Set the replacement characters to show in password mode
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.
Set how long show the password before changing it to '*'
@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
Get the placeholder text of a text area
Get whether the cursor click positioning is enabled or not.
Get the password mode attribute
Find whether text is selected or not.
Find whether selection mode is enabled.
Set how long show the password before changing it to '*'
Set the palette color of a canvas for index format. Valid only for `LV_COLOR_FORMAT_I1/2/4/8`
Get a pixel's color and opacity
Copy a buffer to the canvas
Get the button matrix object of the calendar. It shows the dates and day names.
Get the number of the highlighted dates
Set the width reduced by the left and right padding and the border width.
Get the x2 coordinate of object.
Tell whether an object is being scrolled or not at this moment
Fade in an an object and all its children.
Fade out an an object and all its children.
GLOBAL PROTOTYPES
Make the refreshing from an object. Draw all its children and the youngers too.
Refresh the label with its text stored in its extended data
Set line properties Checks if the line has a custom section configuration or not and sets the properties accordingly.
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
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))`
Set the flush callback which will be called to copy the rendered image to the display.
Set the color format of the display.
GLOBAL PROTOTYPES Init the group module @remarks Internal function, do not call directly.
Deinit the group module @remarks Internal function, do not call directly.
Try to allocate a buffer for the layer.
Set a callback to get information about the image
Set a callback to a decoded line of an image
Set a callback to close a decoding session. E.g. close files and free other resources.
Check the decoded image, make any modification if decoder `args` requires.
Decode `full_area` pixels incrementally by calling in a loop. Set `decoded_area` to `LV_COORD_MIN` on first call.
Deinitialize the drawing module
Allocate a new draw unit with the given size and appends it to the list of draw units
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.
Return with a pointer to the previous screen. Only used during screen transitions.
Switch screen with animation
Get the top layer of the default display
Get the number of event attached to a display
Get an event descriptor for an event
Set the theme of a display. If there are no user created widgets yet the screens' theme will be updated
A function to be easily used in animation ready callback to delete an object when the animation is ready
Get the number of children having a given type.
Get the flags of a built-in or custom property.
Return if the array is empty
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.
Set the seed of the pseudo random number generator
Copies the string pointed to by src, including the terminating null character, to the end of the string pointed to by dst.
Initialize the draw buffer with given handlers.
Calculate the stride in bytes based on a width and color format
Note: Eventually, lv_draw_buf_malloc/free will be kept as private. For now, we use `create` to distinguish with malloc. Create an draw buf by allocating struct for `lv_draw_buf_t` and allocating a buffer for it that meets specified requirements.
Align the address of a buffer with custom draw buffer handlers. The buffer needs to be large enough for the real data after alignment
Flush the cache of the buffer
Adjust the stride of a draw buf in place.
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Create a thread synchronization object
Wait for a "signal" on a sync object
Send a wake-up signal to a sync object
PROTOTYPES Compute the color in the given gradient and fraction Gradient are specified in a virtual [0-255] range, so this function scales the virtual range to the given range
Initialize a glyph draw descriptor. Used internally.
Should be used during rendering the characters to get the position and other parameters of the characters
Try to get a border draw descriptor from a draw task.
Try to get a box shadow draw descriptor from a draw task.
Read data from an input device.
Get the number of event attached to an indev
Get an event descriptor for an event
Get a pointer to the assigned display of the indev
Add or remove one or more states to the object. The other state bits will remain unchanged.
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
GLOBAL VARIABLES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
GLOBAL VARIABLES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Check if a cache entry is invalid.
Invalidate image header cache. Use NULL to invalidate all image headers. It's also automatically called when an image is invalidated.
Return true if the image header cache is enabled.
Release the bitmap of a font.
Legacy `lv_anim_set_time` API will be removed soon, use `lv_anim_set_duration` instead.
Get the duration of an animation
Get the repeat count of the animation.
Delete all the animations
A custom cubic bezier animation path, need to specify cubic-parameters in a->parameter.bezier3
Set a whether the animation's should be applied immediately or only when the delay expired.
Set the custom user data field of the animation.
Set parameter for cubic bezier path
MACROS GLOBAL FUNCTIONS
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
STATIC VARIABLES GLOBAL VARIABLES MACROS GLOBAL FUNCTIONS
MACROS GLOBAL FUNCTIONS
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
DEFINES TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Set an object state if an integer subject's value is equal to a reference value, clear the flag otherwise
Set an integer subject to 1 when an object is checked and set it 0 when unchecked.
Bind an integer subject to an arc's value
Bind an integer subject to a slider's value
GLOBAL PROTOTYPES Called by LVGL the rendering of a screen is ready to clean up the temporal (cache) data of the masks
Deinit the lv_timer module
Deinit the animation module
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
DeInitialize built-in system monitor, such as performance and memory monitor.
TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Update the layout of a widget
Move a node before another node in the same linked list
Insert a new node in front of the n_act node
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`
Get resulting sub areas after removing the common parts of two areas from the first area
Join two areas into a third which involves the other two
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Deinitialize the object related style manager module. Called by LVGL in `lv_deinit()`
Used internally to create a style transition
Used internally to compare the appearance of an object in 2 states
Deinitialize the default theme
Deinitialize the simple theme
GLOBAL FUNCTIONS Initialize the screen refresh subsystem
Deinitialize the screen refresh subsystem
Invalidate an area on display to redraw it
Get the display which is being refreshed
Can be used by draw units for TILED images to handle the decoding and prepare everything for the actual image rendering
GLOBAL PROTOTYPES Can be used by draw units to handle the decoding and prepare everything for the actual image rendering
STATIC VARIABLES MACROS GLOBAL FUNCTIONS Initialize the image decoder module
Deinitialize the image decoder module
return a new formatted text. Memory will be allocated to store the text.
GLOBAL FUNCTIONS Fill an area with a color. Supports normal fill, fill with opacity, fill with mask, and fill with mask and opacity. dest_buf and color have native color depth. (RGB565, RGB888, XRGB8888) The background (dest_buf) cannot have alpha channel
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
Set images for a state of the image button
Frees the memory allocated by the `lv_binfont_create()` function
Set an offset for the source of an image. so the image will be displayed from the new origin.
Get the current knob angle offset
Set where text selection should start
Set where text selection should end
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.
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()`.
Get the current map of a button matrix
Get the number of points in the array of points.
Check the mutability of the stored point array pointer.
Get a pointer to the mutable array of points or NULL if it is not mutable
Get a pointer to main header back btn obj
MACROS GLOBAL FUNCTIONS
Point the needle to the corresponding value through the image, image must point to the right. E.g. -O------>
Gets how often the major tick will be drawn
Set the mode of slider.
Give the slider is in symmetrical mode or not
Get max line height of all span in the spangroup.
Delete the right character from the current cursor position
Set the width or height of the tab bar
STATIC VARIABLES MACROS GLOBAL FUNCTIONS Initialize the lvgl binary image decoder module
Get info about a lvgl binary image
Decode an image from a binary file
Close the pending decoding. Free resources etc.
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Deinitialize the File system interface
TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
Assign a display to the indev
Check if the style property has a specified behavioral flag. Do not pass multiple flags to this function as backwards-compatibility is not guaranteed for that.
Refresh the position of the roller. It uses the id stored in: roller->ddlist.selected_option_id
Get a pointer to the screen refresher timer to modify its parameters with `lv_timer_...` functions.
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.
Set the value of a pointer subject. It will notify all the observers as well.
Get the current value of a pointer subject
Remove all the observers from a subject and free all allocated memories in it
Initialize an pointer type subject
DEFINES TYPEDEFS GLOBAL PROTOTYPES Create a new system monitor label
Remove the transition from object's part's property. - Remove the transition from `lv_obj_style_trans_ll` and free it - Delete pending transitions
Test if char is break char or not (a text can broken here or not)
Set the position of list when it is closed to show the selected item
Update the control map for the current mode
Set the rotation of this display. LVGL will swap the horizontal and vertical resolutions internally.
Draw the scale after all the children are drawn
Test if char is break char or not (a text can broken here or not)
STATIC PROTOTYPES Transform a point with 1/256 precision (the output coordinates are upscaled by 256)
Used internally to update arc angles after a value change
Show system performance monitor: CPU usage and FPS count
Delete a group object
Get the nth object within a group
Get the number of groups
Get a group by its index
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
Make a path object for the memory-mapped file compatible with the file system interface
Get the next image decoder in the linked list of image decoders
Get the total number of draw units.
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.
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.
If physical resolution is not the same as the normal resolution the offset of the active display area can be set here.
Set the DPI (dot per inch) of the display. dpi = sqrt(hor_res^2 + ver_res^2) / diagonal"
Get the horizontal offset from the full / physical display
Get the vertical offset from the full / physical display
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()`
Enable anti-aliasing for the render engine
Get if anti-aliasing is enabled for a display or not
Load a screen on the default display
Get the system layer of the default display
Get the bottom layer of the default display
Get elapsed time since last user activity on a display (e.g. click)
Manually trigger an activity on a display
Delete screen refresher timer
Rotate an area in-place according to the display's rotation
Scale the given number of pixels (a distance or size) relative to a 160 DPI display considering the DPI of the given display. It ensures that e.g. `lv_dpx(100)` will have the same physical size regardless to the DPI of the display.
Delete an object after some delay
Return a sibling of an object
Return a sibling of an object. Consider the siblings only with a given type.
Iterate through all children of any object and print their ID.
Return the capacity of the array, i.e. how many elements can be stored.
Return if the array is full
Copy an array to another.
Remove all elements in array.
Remove from the array either a single element or a range of elements ([start, end)).
Concatenate two arrays. Adds new elements to the end of the array.
Assigns one content to the array, replacing its current content.
Returns a pointer to the last element in the array.
@endcond Alternative (fast, approximate) implementation for getting the square root of an integer.
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.
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.
Create an ARGB8888 color
Get the struct which holds the callbacks for draw buf management. Custom callback can be set on the returned value
Invalidate the cache of the buffer
@deprecated Use lv_draw_buf_set_palette instead.
@deprecated Use lv_draw_buffer_create/destroy instead. Free the data pointer and dsc struct of an image.
Duplicate a draw buf with same image size, stride and color format. Copy the image data too.
Lock a mutex from interrupt
Send a wake-up signal to a sync object from interrupt
Same as `lv_lock()` but can be called from an interrupt.
Initialize gradient color map from a table
Initialize a box shadow draw descriptor.
Try to get an image draw descriptor from a draw task.
Try to get a line draw descriptor from a draw task.
Try to get an arc draw descriptor from a draw task.
Set the input device's event model: event-driven mode or timer mode.
Get the input device's running mode.
Add an event handler to the indev
Set the type of an input device
Set a callback function to read input device data to the indev
Set user data to the indev
Set driver data to the indev
Set long press time to indev
Set scroll limit to the input device
Set scroll throw slow-down to the indev. Greater value means faster slow-down
Get the callback function to read input device data to the indev
Get a pointer to the user data of the indev
Get a pointer to the driver data of the indev
Get whether indev is moved while pressed
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.
Set add or remove one or more flags.
Get the object originally targeted by the event. It's the same even if the event is bubbled.
Set the user_data field of the object
Get the user_data field of the object
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.
Try to get a triangle draw descriptor from a draw task.
Resize image cache. If set to 0, the cache will be disabled.
Get the node size of a cache entry. Which is the same size with lv_cache_entry_get_size()'s node_size parameter.
Get the cache instance of a cache entry.
Resize image header cache. If set to 0, the cache is disabled.
Set the create callback of the cache.
Set the free callback of the cache.
Get the name of a cache object.
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.
Evict one entry from the cache. The eviction policy will be used to select the entry to evict.
Get the maximum size of the cache.
Get the current size of the cache.
Get the free size of the cache.
Set the compare callback of the cache.
Configure the use of kerning information stored in a font
Just a wrapper around LV_FONT_DEFAULT because it might be more convenient to use a function in some cases
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
Set the custom callback for 'lv_tick_get'
Set a custom callback for 'lv_delay_ms'
Get the time remaining until the next timer will run
Set the resume callback to the timer handler
Set whether a lv_timer will be deleted automatically when it is called `repeat_count` times.
Set custom parameter to the lv_timer.
Set a function to use the current value of the variable and make start and end value relative to the returned current value.
Legacy `lv_anim_set_playback_time` API will be removed soon, use `lv_anim_set_playback_duration` instead.
Get the user_data field of the animation
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.
Get a delay before starting the animation
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.
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
Just a wrapper to `LV_GRID_FR` for bindings.
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.
Rotate a buffer into another buffer
Get the previous value of a pointer subject
Initialize an color type subject
Set the value of a color subject. It will notify all the observers as well.
Get the current value of a color subject
Get the previous value of a color subject
Initialize a subject group
Get an element from the subject group's list
Get the previous value of an integer subject
Initialize a string type subject
Copy a string to a subject. It will notify all the observers as well.
Get the current value of an string subject
Get the previous value of an string subject
Remove the observers of an object from a subject or all subjects
Get the target object of the observer. It's the same as `lv_observer_get_target` and added only for semantic reasons
Get the user data of the observer.
Set an object flag if an integer subject's value is equal to a reference value, clear the flag otherwise
Set an object flag if an integer subject's value is not equal to a reference value, clear the flag otherwise
Bind an integer subject to a roller's value
Bind an integer subject to a dropdown's value
Replaces a style of an object, preserving the order of the style stack (local styles and transitions are ignored). Examples:
lv_obj_replace_style(obj, &yellow_style, &blue_style, LV_PART_ANY | LV_STATE_ANY); //Replace a specific style lv_obj_replace_style(obj, &yellow_style, &blue_style, LV_PART_MAIN | LV_STATE_PRESSED); //Replace a specific style assigned to the main part when it is pressed
Check if an object has a specified style property for a given style selector.
Move a node to a new linked list
DEFINES TYPEDEFS GLOBAL PROTOTYPES Set the position of an area (width and height will be kept)
Check if 2 area is the same
DEFINES TYPEDEFS GLOBAL PROTOTYPES Initialize the theme
Save a draw buf to a file
Try to get a rectangle mask draw descriptor from a draw task.
Get the image of the canvas as a pointer to an `lv_image_dsc_t` variable.
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
Just a wrapper to `LV_CANVAS_BUF_SIZE` for bindings.
Tell whether "popovers" mode is enabled or not.
Get the current map of a keyboard
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.
Use this function instead of `lv_obj_add/remove_state` to set a state manually
Get the left image in a given state
Get the middle image in a given state
Get the right image in a given state
Get the total number of options
Set the horizontal zoom factor of the image. Note that indexed and alpha only images can't be transformed.
Set the vertical zoom factor of the image. Note that indexed and alpha only images can't be transformed.
Set the blend mode of an image.
Enable/disable anti-aliasing for the transformations (rotate, zoom) or not. The quality is better with anti-aliasing looks better but slower.
Set the image object size mode.
Set an A8 bitmap mask for the image.
Get the offset's x attribute of the image object.
Get the offset's y attribute of the image object.
Get the rotation of the image.
Get the zoom factor of the image.
Get the horizontal zoom factor of the image.
Get the vertical zoom factor of the image.
Get the current blend mode of the image
Set an offset for the source of an image so the image will be displayed from the new origin.
Set an offset angle for the knob
Set the orientation of bar.
Get whether the transformations (rotate, zoom) are anti-aliased or not
Get the size mode of the image
Get the bitmap mask source.
Get the image animation images source.
Get the image animation images source.
Get the image animation duration time. unit:ms
Get the image animation repeat play times.
Get the rotation for the whole arc
Get the orientation of bar.
Tell whether "one check" mode is enabled or not.
Get the pointer to the array of points.
Get text of a given list button
Set text of a given list button
Get a pointer to sidebar header obj
Get the total number of options
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.
Remove the span from the spangroup and free memory.
Set maximum lines of the spangroup.
Draw the scale ticks on top of all parts
Get scale mode. See lv_scale_mode_t
Get scale total tick count (including minor and major ticks)
Get angle range of a round scale
Get the min range for the given scale section
Get the max range for the given scale section
Get the minimum value of a slider
Get the maximum value of a slider
Get maximum lines of the spangroup.
Get a the character from the current cursor position
Add custom user data to the cell.
Get the number of columns.
Get custom user data to the cell.
Make the animation timeline repeat itself.
Set a delay before repeating the animation timeline.
Get the progress of the animation timeline.
Get repeat count of the animation timeline.
Get repeat delay of the animation timeline.
STATIC PROTOTYPES GLOBAL VARIABLES STATIC VARIABLES MACROS GLOBAL FUNCTIONS
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
Create a playback animation
Add click event to a button
Demonstrate the usage of draw event
Basic example to create a "Hello world" label
Create a button with a label and react on click event.
Create styles from scratch for buttons.
Create a slider and write its value on a label.
A simple row and a column layout with flexbox
Arrange items in rows with wrap and place the items to get even space around them.
Reverse the order of flex items
Demonstrate the effect of column and row gap style properties
RTL base direction changes order of the items. Also demonstrate how horizontal scrolling works with RTL.
A slider sends a message on value change and a label display's that value
Simple PIN login screen to start an engine. The only interface between the UI and the application is a single "subject".
Show how to handle a complete firmware update process with observers. Normally it's hard to implement a firmware update process because in some cases - the App needs to was for the UI (wait for a button press) - the UI needs to wait for the App (connecting or downloading) With observers these complex mechanisms can be implemented a simple and clean way.
Change between light and dark mode
MACROS GLOBAL FUNCTIONS
Demonstrate how scrolling appears automatically
Show an example to scroll snap
Create a list with a floating button
Translate the object as they scroll
Using the Size, Position and Padding style properties
Using the background style properties
Demonstrate cell placement and span
Demonstrate grid's "free unit"
Demonstrate track placement
Demonstrate column and row gap
Demonstrate RTL direction on grid
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
Bar with opposite direction
Create a style transition on a button to act like a gum when clicked
Add custom drawer to the button matrix to customize buttons one by one
Create a transparent canvas with transparency
Draw a rectangle to the canvas
Use lv_scale to add ticks to a scrollable chart
Show the value of the pressed points
Recolor the bars of a chart based on their value
Add a faded area effect to the line chart and make some division lines ticker
Show cursor on the clicked point
Circular line chart with gap
Using the border style properties
Using the outline style properties
Using the Shadow style properties
Using the Image style properties
Using the Arc style properties
Using the text style properties
Using the line style properties
Add styles to parts and states
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
Create an arc which acts as a loader.
Example of styling the bar
A temperature meter example
Bar with stripe pattern and ranged value
Bar with LTR and RTL base direction
Custom drawer on the bar to display the current value
Make an object draggable.
An infinite roller with the name of the months
An vertical scale with section and custom styling
A round scale with section and custom styling
An scale with section and custom styling
A round scale with multiple needles, resembling a clock
Customizing scale major tick label color with `LV_EVENT_DRAW_TASK_ADDED` event
A default slider with a label displaying the current value
Show the current value when the slider is pressed by extending the drawer
Slider with opposite direction
A very light-weighted list created from table
Automatically format text like a clock. E.g. "12:34" Add the ':' automatically.
Create a 2x2 tile view and allow scrolling only in an "L" shape. Demonstrate scroll chaining with a long list that scrolls the tile view when it can't be scrolled further.
Create a drop down, up, left and right menus
Create a menu from a drop-down list and show some drop-down list features and styling
Demonstrate runtime image re-coloring
Show transformations (zoom and rotation) using a pivot point.
Show line wrap, re-color, line align and text scrolling.
Show customizing the circular scrolling animation of a label with `LV_LABEL_LONG_SCROLL_CIRCULAR` long mode.
Create LED's with different brightness and color
Get the value of a property
Check if a style is constant
Reshape the draw buffer if required
Search the most top object which fully covers an area
For given width, height, color format, and stride, calculate the size needed for a new draw buffer.
Process the released state of LV_INDEV_TYPE_POINTER input devices
Process a new point from LV_INDEV_TYPE_BUTTON input device
STATIC FUNCTIONS
compare a key against an existing item's key
If `src` is not defined for the current state try to get a state which is related to the current but has `src`. E.g. if the PRESSED src is not set but the RELEASED does, use the RELEASED.
Update the key and control map for the current mode
Free the dot_tmp_ptr field if it was previously allocated. Always clears the field
Set the middle page for the roller if infinite is enabled
MACROS For compatibility if LV_USE_BIDI = 0 Get the real text alignment from the a text alignment, base direction and a text.
TYPEDEFS STATIC PROTOTYPES
Set the state (fully overwrite) of an object. If specified in the styles, transition animations will be started from the previous state to the current.
Refresh the style of all children of an object. (Called recursively)
Recursively refresh the style of the children. Go deeper until a not NULL style is found because the NULL styles are inherited from the parent
Get the transition style of an object for a given part and for a given state. If the transition style for the part-state pair doesn't exist allocate and return it.
Test if character can be treated as marker, and don't need to be rendered. Note, this is not a full list. Add your findings to the list.
Check if two AL88 colors are equal
Test the circle drawing is ready or not
Code Comparator. Compares the value of both input arguments.
Reset the indev and send event to active obj and scroll obj
Process the pressed state of LV_INDEV_TYPE_POINTER input devices
Find the last item of a track
Tell a start coordinate and gap for a placement type.
Place the grid track according to align methods. It keeps the track sizes but sets their position. It can process both columns or rows according to the passed parameters.
Remove animations which are animating the same var with the same exec_cb and they are already running or they have early_apply
STATIC FUNCTIONS Periodically handle the animations.
STATIC FUNCTIONS Extract the drive letter and the real path from LVGL's "abstracted file system" path string
remove an item and push it to the free items queue
cubic-bezier Reference: https://github.com/gre/bezier-easing https://opensource.apple.com/source/WebCore/WebCore-955.66/platform/graphics/UnitBezier.h Copyright (c) 2014 Gaëtan Renaudeau Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Find out how much time remains before a timer must be run.
STATIC FUNCTIONS
Check if angle is within arc background bounds In order to avoid unexpected value update of the arc value when the user clicks outside of the arc background we need to check if the angle (of the clicked point) is within the bounds of the background. A tolerance (extra room) also should be taken into consideration. E.g. Arc with start angle of 0° and end angle of 90°, the background is only visible in that range, from 90° to 360° the background is invisible. Click in 150° should not update the arc value, click within the arc angle range should. IMPORTANT NOTE: angle is always relative to bg_angle_start, e.g. if bg_angle_start is 30 and we click a bit to the left, angle is 10, not the expected 40.
Get the width of a button in units (default is 1).
Gives the button id of a button under a given point
Enforces a single button being toggled on the button matrix. It simply clears the toggle flag on other buttons.
Get the number of days in a month
Get the day of the week
Get center point and radius of scale arc
Get coordinates for label
Get points for ticks In order to draw ticks we need two points, this interface returns both points for all scale modes.
Called to blink the cursor
Dummy function to animate char hiding in pwd mode. Does nothing, but a function is required in car hiding anim. (pwd_char_hider callback do the real job)
Hide system performance monitor
Tell the group of a property. If the a property from a group is set in a style the (1 has_group is set. It allows early skipping the style if the property is not exists in the style at all.
Initialize the draw descriptor for the scrollbar
STATIC FUNCTIONS Get the local style of an object for a given part and for a given state. If the local style for the part-state pair doesn't exist allocate and return it.
STATIC FUNCTIONS Join the areas which has got common parts
Refresh the sync areas
Refresh the joined areas
Refresh an area if there is Virtual Display Buffer
Flush the content of the draw buffer
TYPEDEFS STATIC PROTOTYPES
STATIC FUNCTIONS Check if there are older draw task overlapping the area of `t_check`
DEFINES TYPEDEFS STATIC PROTOTYPES
DEFINES TYPEDEFS STATIC PROTOTYPES
STATIC FUNCTIONS Calculate a blurred corner
STATIC VARIABLE STATIC FUNCTIONS
DEFINES TYPEDEFS STATIC PROTOTYPES
Initialize the circle drawing
Get the next point from the circle
Move the object to the foreground. It will look like if it was created as the last child of its parent. It also means it can cover any of the siblings.
Handle focus/defocus on click for POINTER input devices
Process a new point from LV_INDEV_TYPE_KEYPAD input device
STATIC FUNCTIONS Process a new point from LV_INDEV_TYPE_POINTER input device
Process a new point from LV_INDEV_TYPE_ENCODER input device
Process new points from an input device. indev->state.pressed has to be set
STATIC FUNCTIONS
Position the children in the same track
STATIC FUNCTIONS
Calculate the grid cells coordinates
Free the a grid calculation's data
Reposition a grid item in its cell
STATIC VARIABLES MACROS GLOBAL FUNCTIONS STATIC FUNCTIONS
Called when an animation is completed to do the necessary things e.g. repeat, play back, delete etc.
STATIC FUNCTIONS Helper function to easily create color filters
pop an existing item off the free queue, or create a new one
STATIC FUNCTIONS
Convert a wide character, e.g. 'Á' little endian to be UTF-8 compatible
UTF-8 ENCODER/DECODER Give the size of an UTF-8 coded character
Convert a Unicode letter to UTF-8.
Get previous UTF-8 character form a string.
Convert a character index (in an UTF-8 text) to byte index. E.g. in "AÁRT" index of 'R' is 2th char but start at byte 3 because 'Á' is 2 bytes long
Convert a byte index (in an UTF-8 text) to character index. E.g. in "AÁRT" index of 'R' is 2th char but start at byte 3 because 'Á' is 2 bytes long
Get the number of characters (and NOT bytes) in a string. Decode it with UTF-8 if enabled. E.g.: "ÁBC" is 3 characters (but 4 bytes)
Decode an UTF-8 character from a string.
STATIC FUNCTIONS Execute timer if its remaining time is zero
TYPEDEFS STATIC PROTOTYPES
TYPEDEFS STATIC PROTOTYPES
Create the required number of buttons and control bytes according to a map
Check if any of the buttons in the first row has the LV_BUTTONMATRIX_CTRL_POPOVER control flag set.
Tells whether a year is leap year or not
Get the nearest index to an X coordinate
Called when a drop down list is released to open it or set new option
Store `len` characters from `data`. Allocates space if necessary.
Get the stored dot_tmp characters
Set arc properties Checks if the arc has a custom section configuration or not and sets the properties accordingly.
Set indicator label properties Checks if the indicator has a custom section configuration or not and sets the properties accordingly.
Sets the text of the tick label descriptor when using custom labels Sets the text pointer when valid custom label is available, otherwise set it to NULL.
Stores tick width compensation information for main line sections
Stores the width of the initial and last tick of the main line This width is used to compensate the main line drawing taking into consideration the widths of both ticks
Resets the switch's animation state to "no animation in progress".
Starts an animation for the switch knob. if the anim_time style property is greater than 0
Test a unicode character if it is accepted or not. Checks max length and accepted char list.
Call when an animation is ready to convert all characters to '*'
Emulate connection and FW downloading by timers
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
STATIC VARIABLES MACROS GLOBAL FUNCTIONS
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
INCLUDES DEFINES TYPEDEFS GLOBAL PROTOTYPES
Move the object to the background. It will look like if it was created as the first child of its parent. It also means any of the siblings can cover the object.
Get the image animation underlying animation.
Checks if the stop_processing_query flag has been set. If so, do not send any events to the object
Extend A1/2/4 to A8 with interpolation to reduce rounding error.
Get the next word of text. A word is delimited by break characters. If the word cannot fit in the max_width space, obey LV_TXT_LINE_BREAK_LONG_* rules. If the next word cannot fit anything, return 0. If the first character is a break character, returns the next index. Example calls from lv_text_get_next_line() assuming sufficient max_width and txt = "Test text\n" 0123456789 Calls would be as follows: 1. Return i=4, pointing at breakchar ' ', for the string "Test" 2. Return i=5, since i=4 was a breakchar. 3. Return i=9, pointing at breakchar '\n' 4. Parenting lv_text_get_next_line() would detect subsequent '\0' TODO: Returned word_w_ptr may overestimate the returned word's width when max_width is reached. In current usage, this has no impact.
STATIC VARIABLES MACROS STATIC FUNCTIONS
STATIC VARIABLES MACROS STATIC FUNCTIONS
Calculate the square of an integer (input range is 0..32767).
Wrapper functions for VERSION macros

Other commonly used symbols

Name
Location
Summary
Typedefs from various lvgl modules. They are defined here to avoid circular dependencies.
Represents an area of the screen.
Descriptor of a style (a collection of properties and values).
DEFINES TYPEDEFS Represents a point on the screen.
DEFINES TYPEDEFS Describe the common methods of every object. Similar to a C++ class.
TYPEDEFS STATIC PROTOTYPES STATIC VARIABLES
Number integer number (opacity, enums, booleans or "normal" numbers)
Describes an animation
GLOBAL PROTOTYPES MACROS
Width of the glyph's bounding box
Height of the glyph's bounding box
Draw the next glyph after this width. 8.4 format (real_value * 16 is stored).
x offset of the bounding box
y offset of the bounding box. Measured from the top of the line
Start index of the bitmap. A font can be max 1 MB.
The subject (an observable value)
Opacities above this will fully cover
DEFINES TYPEDEFS Data of text area
Description of a linked list
Describe the properties of a font
DEFINES TYPEDEFS Descriptor a chart series
DEFINES TYPEDEFS TYPEDEFS
The cache entry struct
DEFINES TYPEDEFS 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).
DEFINES TYPEDEFS The observer object: a descriptor returned when subscribing LVGL widgets to subjects
A background like rectangle
DEFINES TYPEDEFS Descriptor of a lv_timer
Struct to describe a constant image resource. It's similar to lv_draw_buf_t, but the data is constant.
The result of the previous mask operation
TYPEDEFS Description of a array
Label of the text area
Describe an image decoding session. Stores data about the decoding
DEFINES TYPEDEFS
Show a popover when pressing this key
DEFINES TYPEDEFS Data of image
Opacities below this will be transparent
Index of the active button (being pressed/released etc) or LV_BUTTONMATRIX_BUTTON_NONE
Special events The object's value has changed (i.e. slider moved)
NEVER USE IT DRAW UNITS. USED INTERNALLY DURING DRAW TASK CREATION. The current clip area with absolute coordinates, always the same or smaller than `buf_area` Can be set before new draw tasks are added to indicate the clip area of the draw tasks. Therefore `lv_draw_add_task()` always saves it in the new draw task to know the clip area when the draw task was added. During drawing the draw units also sees the saved clip_area and should use it during drawing. During drawing the layer's clip area shouldn't be used as it might be already changed for other draw tasks.
DEFINES TYPEDEFS Data of spinbox
>> LV_TRIGO_SHIFT to normalize
DEFINES TYPEDEFS Represents a date on the calendar object (platform-agnostic).
DEFINES TYPEDEFS Dummy type to make handling easier
Constant pointers (font, cone text, etc)
A gradient stop array
Color format: See `lv_color_format_t`
The dropped down list
Point number in a data line
class_p is the final class while obj->class_p is the class currently being [de]constructed.
A header describing the basics of the image
DEFINES TYPEDEFS Data of button matrix
Options in a '\n' separated list
Number of bytes in a row
Called on release if not scrolled (regardless to long press)
NULL if ignored, or an alpha mask to apply on `blend_area`
DEFINES TYPEDEFS GLOBAL PROTOTYPES MACROS
DEFINES TYPEDEFS Canvas data
DEFINES TYPEDEFS Data of calendar
A descriptor of a gradient.
Descriptor for style transitions
Store the pointer of the children in an array.
Save the indicator area. Might be used by derived types
Used to store the original text in password mode
Describes the properties of a glyph.
DEFINES TYPEDEFS Data of keyboard
Describe store for additional data for fonts
DEFINES TYPEDEFS
DEFINES TYPEDEFS GLOBAL PROTOTYPES MACROS
Index of the current option
DEFINES A very big radius to always draw as circle
Pointer to the assigned text area
class_p is the class in which event is being processed. Widget type specific event function
DEFINES TYPEDEFS Data of the animimage
Make the object hidden. (Like it wasn't there at all)
Perform the main drawing
DEFINES TYPEDEFS Data of line
int instead of lv_draw_task_state_t to be sure its atomic
Add the ancestor's type first
Data structure passed to an input driver to fill
For LV_INDEV_TYPE_KEYPAD the currently pressed key
Button is currently toggled (e.g. checked).
255 means it's a constant style
DEFINES TYPEDEFS TYPEDEFS
Value for not zooming the image
The stop color
Index of the currently selected option
Requires layout update when changed
DEFINES TYPEDEFS TYPEDEFS
Indicator, e.g. for slider, bar, switch, or the tick box of the checkbox
Map the glyphs to Unicode characters. Array of `lv_font_cmap_fmt_txt_t` variables
Minimum value of the bar
DEFINES TYPEDEFS TYPEDEFS
Current value of the bar
Simply mix according to the opacity value
Same as Android's DIP. (Different name is chosen to avoid mistype between LV_DPI and LV_DIP) 1 dip is 1 px on a 160 DPI screen 1 dip is 2 px on a 320 DPI screen https://stackoverflow.com/questions/2025282/what-is-the-difference-between-px-dip-dp-and-sp
For LV_INDEV_TYPE_POINTER the currently pressed point
Place holder label. only visible if text is an empty string
a pointer to display text
Current value of the arc
Called in every cases when the object has been released
Linked list for the series (stores lv_chart_series_t)
Used if the widget has multiple similar elements (e.g. table cells)
The object in focus
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.
Line or column chart
Determine what to do with the long texts
Encoder with only Left, Right turn and a Button
Currently visible month (day is ignored)
DEFINES TYPEDEFS TYPEDEFS
Object coordinates/size have changed
Current time in animation. Set to negative to make delay.
Number of button in 'map_p'(Handled by the library)
DEFINES TYPEDEFS Data of led
The absolute coordinates of the buffer
Variable to animate
Touch pad, mouse, external button
Store the original index on focus
The area of `mask_buf` with absolute coordinates
First element of a gradient is a color, so it maps well here
Requires ext. draw size update when changed
Input device events The object has been pressed
Get the required extra draw area around the object (e.g. for shadow). The event parameter is `int32_t *` to store the size.
Color array followed by Alpha array
DEFINES TYPEDEFS This describes a glyph.
Start value of the bar
The area with absolute coordinates to draw on `layer->buf` will be clipped to `layer->clip_area`
Heap information structure.
Image flags, see `lv_image_flags_t`
Number of children
Actual value
Info about the opened image: color format, size, etc. MUST be set in `open` function
DEFINES TYPEDEFS 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: - If already set to `false` another event wants that point non clickable. If you want to respect it leave it as `false` or set `true` to overwrite it. - If already set `true` and `point` shouldn't be clickable set to `false` - If already set to `true` you agree that `point` can click the object leave it as `true`
DEFINES TYPEDEFS
Make the object clickable by the input devices
LV_INDEV_STATE_RELEASED or LV_INDEV_STATE_PRESSED
Perform the post draw phase (when all children are drawn)
For LV_INDEV_TYPE_ENCODER number of steps since the previous read
DEFINES TYPEDEFS GLOBAL PROTOTYPES MACROS
Map codepoints to a `glyph_dsc`s Several formats are supported to optimize memory usage See https://github.com/lvgl/lv_font_conv/blob/master/doc/font_spec.md
Animation time in ms
Input device type
Pointer to a draw buffer where the image's data (pixels) are stored in a decoded, plain format. MUST be set in `open` or `get_area_cb`function
Which bar value to set
Replacement characters displayed in password mode
Text draw position offset
Make the object scrollable
DEFINES TYPEDEFS Cell data
Array of areas of buttons
Pointer to the data of the image
The object is focused
Target draw buffer of the layer
Function to execute to animate
Invert the mask. The default is: Keep the left part. It is used to select left/right/top/bottom
Decode the next encoded character from a string.
Minimum value of the arc
Maximum value of the arc
The object is defocused
Child was removed, added, or its size, position were changed
Cache lock used to protect the cache in multithreading environments
Screens of the display Array of screen objects.
Object's style has changed
Get the internal size of a widget
Pointer to an array with the points of the line
a pointer to obj that on click triggers back btn event handler, can be same as 'main_header'
Replace characters with '*'
Opacity of values on the circumference of an 1/4 circle
256 means no zoom, 512 double size, 128 half size
The stop position in 1/255 unit
The gradient direction. Any of LV_GRAD_DIR_NONE, LV_GRAD_DIR_VER, LV_GRAD_DIR_HOR, LV_GRAD_TYPE_LINEAR, LV_GRAD_TYPE_RADIAL, LV_GRAD_TYPE_CONICAL
DEFINES TYPEDEFS TYPEDEFS
External (hardware button) which is assigned to a specific point of the screen
Max time in Bezier functions (not [0..1] to use integers)
A key is sent to the object. Get the key with `lv_indev_get_key(lv_indev_active());`
More complex but more optimal class based kern value storage
Cache operations struct lv_cache_ops_t
Do not align, leave where it is
256 means no zoom, 512 double size, 128 half size
The object is still being pressed but slid cursor/finger off of the object
Store the original index on focus
Direction in which the list should open
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.
Call it when the animation is fully completed
The opacity of the color
X / (1024*Y) steepness (X is 0..1023 range). What is the change of X in 1024 Y?
Pointer to an image to blend. If set `fill_color` is ignored
Current brightness of the LED (0..255)
1: with encoder now the right knob can be adjusted
Like handle to grab to adjust the value
Total buf size in bytes
Do not scroll the object when the parent scrolls and ignore layout
Function to execute to animate, same purpose as exec_cb but different parameters
Constant pointer (string buffer, format string, font, cone text, etc)
The area where to draw
Currently active screen on this display
Previous screen. Used during screen animations
The object is being pressed (called continuously while pressing)
Flag to indicate the text is static
Maximum value of the bar
Index of the currently pressed option
Drawing events Check if the object fully covers an area. The event parameter is `lv_cover_check_info_t *`.
Cache class. There are two built-in 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.
Cache class struct for building custom cache classes Examples: - 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.
Integer number (opacity, enums, booleans or "normal" numbers)
Store center images to each state
See: lv_image_src_t
Set the position from absolutely (from the start of file)
A simple mapping of kern values from pairs
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
Width of the glyph's bounding box
details see lv_span_mode_t
a pointer to obj that on click triggers back btn event handler, can be same as 'sidebar_header'
Arrow or other icon when the drop-down list is closed
1: Only a pointer is saved in `options`
7 * 6: A week has 7 days, and the calendar displays 6 weeks in total. 20: Including the number of dates, line breaks, names for each day, and reserving several spaces for addresses.
INCLUDES DEFINES TYPEDEFS
Free function for nodes
Linked list to store the objects in the group
Invalidated (marked to redraw) areas
A target for the observer, e.g. a widget or style
Rotation angle of the image
Called after `long_press_time` in every `long_press_repeat_time` ms. Not called if scrolled.
Size of the image in bytes
true: `point` can click the object; false: it cannot
display text style
1: the last pressed angle was closer to minimum end
Align text to center
Convert const float number cubic-bezier values to fix-point value
@see lv_display_get_layer_sys
A timer which periodically checks the dirty areas and refreshes them
first line indent
Store kerning values. Can be `lv_font_fmt_txt_kern_pair_t * or `lv_font_kern_classes_fmt_txt_t *` depending on `kern_classes`
The real text length, used in dot mode
STATIC VARIABLES
Linked list of draw tasks
Simple vertical (top to bottom) gradient
DEFINES TYPEDEFS TYPEDEFS
The differences can be shown with a simple redraw
Value from ::lv_obj_class_group_def_t
Type of the source: file or variable. Can be set in `open` function if required
Keep the size and roll the text circularly
Do not repeat press this button.
1: Send LV_EVENT_VALUE_CHANGE on CLICK, 0: Send LV_EVENT_VALUE_CHANGE on PRESS
Image source: Pointer to an array or a file or a symbol
Magic number. Must be LV_IMAGE_HEADER_MAGIC
Pointer to a font where the glyph was actually found after handling fallbacks
STATIC VARIABLES
Image size mode when image size and object size is different. See lv_image_align_t
The number of used stops in the array
The vertical resolution of the currently active display.
Used to indicate the entire original, non-clipped area where the image is to be drawn. This is important for: 1. Layer rendering, where it might happen that only a smaller area of the layer is rendered. 2. Tiled images, where the target draw area is larger than the image to be tiled.
Number of pixels to slide before actually drag the object
Scrolling begins. The event parameter is a pointer to the animation of the scroll. Can be modified
Linked list for the cursors (stores lv_chart_cursor_t)
Length of `unicode_list` and/or `glyph_id_ofs_list`
Text to display on the dropdown's button
Repeat count for the animation
Number of extra pages added to make the roller look infinite
A point relative to screen to check if it can click the object or not
Height of the glyph's bounding box
Send `LV_EVENT_DRAW_TASK_ADDED` events
The current X/Y scroll offset
The cache operations struct
Call it when the animation is starts (considering `delay`)
Value from ::lv_obj_class_editable_t
Long press repeat time stamp
Object is being deleted
A process has finished
if(type == LV_FONT_FMT_TXT_CMAP_FORMAT0_...) it's `uint8_t *` if(type == LV_FONT_FMT_TXT_CMAP_SPARSE_...) it's `uint16_t *`
Child was deleted, always bubbles up to all parents
Descriptor of a constant style property.
Width of the image (Handled by the library)
Height of the image (Handled by the library)
Finishing the post draw phase (when all children are drawn)
if 0, there is no separator and the number is an integer
the text is static flag
First glyph ID (array index of `glyph_dsc`) for this range
Type of this character map
Number of cmap tables
Only these characters will be accepted. NULL: accept all
Temporary values for text selection
User is in process of selecting
One line mode (ignore line breaks)
Apply different style on these days (pointer to user-defined array)
DEFINES Brightness when the LED if OFF
STATIC VARIABLES
Unaligned address of `data`, used internally by lvgl
< 1: malloc buffer and copy `text` there. 0: `text` is const and it's pointer will be valid during rendering.
Make the object not positioned by the layouts
Propagate the events to the parent too
The remove function for cache entries
The reserve condition function for cache entries
Align text to right
Y / (1024*X) steepness (Y is 0..1023 range). What is the change of Y in 1024 X?
The real draw area. E.g. for shadow, outline, or transformed images it's different from `area`
DEFINES TYPEDEFS 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. Default args: all field are zero or false.
Timer to periodically read the input device
@see lv_display_get_layer_top
Element of lv_display_rotation_t
Internal, used by the library
The decoder which was able to open the image source
The image source. A file path like "S:my_img.png" or pointer to an `lv_image_dsc_t` variable
Pointer to the current map
Linked list for the sections (stores lv_scale_section_t)
The object was pressed for a short period of time, then released it. Not called if scrolled.
Do not bother with perpendicular line ending if it's not visible for any reason
Get the current value during an animation
Number of points in 'point_array'
STATIC VARIABLES
Not supported by sw renderer yet.
Starting the post draw phase (when all children are drawn)
STATIC VARIABLES
Perform advanced hit-testing
The color format of the layer. LV_COLOR_FORMAT_...
Compare function for keys
The real line height where any text fits
Ignore max-width to avoid automatic word wrapping
Add the respective color channels
Subtract the foreground from the background
Multiply the foreground and background
Simple horizontal (left to right) gradient
Double buffer sync areas (redrawn during last refresh)
@see lv_display_get_layer_bottom
The screen prepared to load in lv_screen_load_anim
Vertical resolution.
Callback that should be called when the value changes
Dynamically allocated anim dsc array
Child was created, always bubbles up to all parents
the spangroup need refresh cache_w and cache_h
Number of horizontal division lines
Number of vertical division lines
1: dot is allocated, 0: dot directly holds up to 4 chars
log2(LV_BEZIER_VAL_MAX): used to normalize up scaled values
Brightness when the LED if ON
Object has been pressed for at least `long_press_time`. Not called if scrolled.
Automatically scroll object to make it visible when focused
The get function for cache entries
Current size of the cache
Call it when the animation is deleted
1: Apply start value immediately even is there is `delay`
Extended path object to specify buffer for memory-mapped files
Affects the object's transformation
Horizontal resolution.
Store any custom data here is required
Draw points and lines in 2D (x,y coordinates)
Number of rows in 'map_p'(Handled by the library)
Whether value been reversed
Any custom flag used by the theme
Variable length array
Finishing the main drawing phase
Ignore real width (used by the library with LV_LABEL_LONG_SCROLL)
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.
Describe the glyphs
Size of available memory
STATIC VARIABLES
STATIC VARIABLES
Toggle checked state when the object is clicked
Cache entry slot struct To add new fields to the cache entry, add them to a new struct and add it to the first field of the cache data struct. And this one is a size slot for the cache entry.
Maximum size of the cache
Parameter used when path is custom_bezier
Wait before repeat
Play back is in progress
No gradient (the `grad_color` property is ignored)
Callback called when the observed value changes
How many times the entry way used
A function to call when a new object is focused (optional)
A function to call when an edge is reached, no more focus targets are available in this direction (to allow edge feedback like a sound or a scroll bounce)
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
Get the number of characters (and NOT bytes) in a string. E.g. in UTF-8 "ÁBC" is 3 characters (but 4 bytes)
A process has been cancelled
DEFINES TYPEDEFS Type for async callback.
Ext. of ancestor
Set to true for rollover functionality
the cache automatically calculates the width
details see lv_span_overflow_t
TYPEDEFS Timers execute this type of functions.
Show button titles in popovers on press
a pointer to obj that is the parent of all pages not displayed
1: y == 0 will be on the bottom
Number of Unicode characters related to this range. Last Unicode character = range_start + range_length - 1
Last dragging event timestamp of the arc
The max. number of characters. 0: no limit
Time to show characters in password mode before change them to '*'
E.g. LV_BLEND_MODE_ADDITIVE
DEFINES Can be used track size to make the track fill the free space.
Bit per pixel: 1, 2, 3, 4, 8
1: the slider is being dragged
draw buffer alloc/free ops.
Allow propagating the horizontal scroll to a parent
Allow propagating the vertical scroll to a parent
The drop all function for cache entries
Get a glyph's descriptor from a font
Base line measured from the bottom of the line_height
Wait before play back
Duration of playback animation
A common type to handle all the various observable types in the same way
The index of `cir_opa` for each y value
Align to the right/bottom
Drag throw slow-down in [%]. Greater value means faster slow-down
Horizontal offset from the full / physical display. Set to 0 for fullscreen mode.
Vertical offset from the full / physical display. Set to 0 for fullscreen mode.
The blend area relative to the layer's buffer area.
Additional parameter supplied when subscribing
Rotation center of the image
1: The click was within the background arc angles. 0: Click outside
TYPEDEFS Data format for compressed image data.
left_class_cnt * right_class_cnt value
Map the glyph_ids to classes: index -> glyph_id -> class_id
Map the glyph_ids to classes: index -> glyph_id -> class_id
The bitmaps of all glyphs
DEFINES Magic number for lvgl image, 9 means lvgl version 9 It must be neither a valid ASCII character nor larger than 0x80. See `lv_image_src_get_type`.
Number of default events
The object is defocused but still selected
Amount of fragmentation
The glyph needs this space. Draw the next glyph after this width.
A gradient stop definition. This matches a color and a position in a virtual 0-255 scale.
An array with the properties to animate.
1: pos is set; 0: point_id is set
First Unicode character for this range
Scale kern values in 12.4 format
1: Make the selected option highlighted in the list
Text can be selected on this text area
Number of elements in `highlighted_days`
Some helper defines
STATIC VARIABLES MACROS
An encoder or wheel was rotated. Get the rotation count with `lv_event_get_rotary_diff(e);`
Reserved to be used later
Add focused state to the object when clicked
Thickness of the underline
Store implementation specific or run_time data or caching here
Get the current value in relative mode
Describe the path (curve) of animations
Align text to left
Helper which stores yx_steep for flat lines and xy_steep for steep (non flat) lines
Steepness in 1 px in 0..255 range. Used only by flat lines.
Linked list to store the lv_timers
1: can't focus to new object
1: Focus next/prev can wrap at end of list. 0: Focus next/prev stops at end of list.
DEFINES TYPEDEFS 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.
Define a static draw buffer with the given width, height, and color format. Stride alignment is set to LV_DRAW_BUF_STRIDE_ALIGN. For platform that needs special buffer alignment, call LV_DRAW_BUF_INIT_STATIC.
Cursor for LV_INPUT_TYPE_POINTER
1: last part of the current area is being rendered
STATIC VARIABLES GLOBAL VARIABLES
Get the previous encoded character form a string.
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
Connect the points with lines
Keep the size and write dots at the end if the text is too long
Single button toggled at once
The length of anim dsc array
TYPEDEFS STATIC PROTOTYPES
STATIC VARIABLES
Difference between `act_point` and `last_point`.
DEFINES TYPEDEFS TYPEDEFS
Mark a specific place e.g. for text area's cursor or on a chart
Current point of input device.
Ensure that all assigned draw buffers can be managed by image cache.
x offset of the bounding box
y offset of the bounding box
Indicate the currently selected option or section
The physical clipping area relative to the display.
Indev hover leave object
PErform the actual rendering of a decoded image
If scroll snap is enabled on the parent it can snap to this object
DEFINES TYPEDEFS Special, rarely used attributes. They are allocated automatically if any elements is set.
The destruction function for cache entries
The add function for cache entries
The get victim function for cache entries
The allocation function for cache entries
The initialization function for cache entries
Get a glyph's bitmap from a font
Might be used to store a size related to `type`
The x coordinate of the circle for each y value
1: One time; -1 : infinity; n>0: residual times
Current state of the input device.
Last time when there was activity on this display
Horizontal resolution of the full / physical display. Set to -1 for fullscreen mode.
Vertical resolution of the full / physical display. Set to -1 for fullscreen mode.
A copy of parameters of how this image is decoded
Index of the line at `y` coordinate
a shared draw buf for get_bitmap, do not use it directly, use glyph_data instead
Shift old data to the left and add the new one the right
Infinite mode (roller can be scrolled forever).
Store left side images to each state
Store right side images to each state
The ID of the draw_unit which should take this task
How often the timer should run
Starting the main drawing phase
The children position has changed due to a layout recalculation
Glyph is missing. But placeholder will still be displayed
the direction the digit will step on encoder button press when editing
a pointer to spangroup
0: `glyph_ids` is stored as `uint8_t`; 1: as `uint16_t`
storage format of the bitmap from `lv_font_fmt_txt_bitmap_format_t`
Drag angle rate of change of the arc (degrees/sec)
Last dragging angle of the arc
Select a character encoding for strings. Your IDE or editor should have the same character encoding - LV_TXT_ENC_UTF8 - LV_TXT_ENC_ASCII
DEFINES Buffer size for invalid areas
The current cursor position (0: before 1st letter; 1: before 2nd letter ...)
Indev has been reset
Indev hover over object
DEFINES TYPEDEFS
The image is allocated from heap, thus should be freed after use.
Allow scrolling only one snappable children
Extra click padding in all direction
Create function for nodes
Font format of the glyph see lv_font_glyph_format_t
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.
Last time the timer ran
Function pointer to read input device data.
At least this difference should be between two points to evaluate as gesture
Repeated trigger period in long press [ms]
Keypad destination group
The area being refreshed
1: flushing is in progress. (It can't be a bit field because when it's cleared from IRQ Read-Modify-Write issue might occur)
1: It was the last chunk to flush. (It can't be a bit field because when it's cleared from IRQ Read-Modify-Write issue might occur)
Convert a Unicode letter to encoded
Keep the size and roll the text back and forth
Normal mode (roller ends at the end of the options).
Apply anti-aliasing in transformations (rotate, zoom)
Current time of the animation
A gesture is detected. Get the gesture with `lv_indev_get_gesture_dir(lv_indev_active());`
Callback to call when the animation really stars (considering `delay`)
Callback used when the animation values are relative to get the current value
Callback used when the animation is deleted
Log important events.
DEFINES TYPEDEFS GLOBAL PROTOTYPES MACROS Gives 1 if the x.y.z version is supported in the current version Usage: - Require v6 #if LV_VERSION_CHECK(6,0,0) new_func_in_v6(); #endif - Require at least v5.3 #if LV_VERSION_CHECK(5,3,0) new_feature_from_v5_3(); #endif - Require v5.3.2 bugfixes #if LV_VERSION_CHECK(5,3,2) bugfix_in_v5_3_2(); #endif
Last point of input device.
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.
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.
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.
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.
Passed as a parameter to `lv_draw_label_iterate_characters` to draw the characters one by one
How to display scrollbars, see `lv_scrollbar_mode_t`
The allowed scroll direction(s), see `lv_dir_t`
Cache the layer type here. Element of lv_intermediate_layer_type_t
The drop function for cache entries
Maybe not visible Legacy simple formats
Distance between the top of the underline and base line (< 0 means below the base line)
Callback to call when the animation is ready
If an observer deleted start notifying from the beginning.
1: It's a flat line? (Near to horizontal)
Set to which extent `preferred_draw_unit_id` is good at this task. 80: means 20% better (faster) than software rendering 100: the default value 110: means 10% worse (slower) than software rendering
Called to try to assign a draw task to itself. `lv_draw_get_next_available_task` can be used to get an independent draw task. A draw task should be assign only if the draw unit can draw it too
Called to delete draw unit.
Like a semaphore to count the referencing masks
Show scroll bars when object is being scrolled
Show scroll bars when the content is large enough to be scrolled
1: Edit mode, 0: Navigate mode
1: Focus prev if focused on deletion. 0: Focus next if focused on deletion.
DEFINES TYPEDEFS TYPEDEFS
Rotary diff count will be multiplied by this value and divided by 256
Array points assigned to the button ()screen will be pressed here by the buttons
The theme assigned to the screen
MANDATORY: Write the internal buffer (draw_buf) to the display. 'lv_display_flush_ready()' has to be called when finished
Used to wait while flushing is ready. It can do any complex logic to wait, including semaphores, mutexes, polling flags, etc. If not set `flushing` flag is used which can be cleared with `lv_display_flush_ready()`
1: last area is being rendered
1: anti-aliasing is enabled on this display.
Point to cache entry information
Keep the object width, wrap lines longer than object width and expand the object height
Expand the object size to the text size
STATIC VARIABLES
Orientation of bar
Pointer to an A8 bitmap mask
Element of `lv_blend_mode_t`
whether the point array is const or mutable
A screen unload started, fired immediately when scr_load is called
A screen load started, fired when the screen change delay is expired
Total heap size
A custom user data that will be passed to the animation's user_data
A path for the animation.
Duration of the transition in [ms]
Delay before the transition in [ms]
Uninitialized state
For LV_INDEV_TYPE_BUTTON the currently pressed button
Special value can be used in some functions to target all parts
MACROS The horizontal resolution of the currently active display.
Close the pending decoding. Free resources etc.
Consider the transformation properties of the parents too
Execute the inverse of the transformation (-angle and 1/zoom)
The condition is not met and a victim is needed to be evicted
Do not clip the children to the parent's ext draw size
Start a new flex track on this item
Custom flag, free to use by widget
Allow scrolling the focused object with arrow keys
Keep the object pressed even if the press slid from the object
Allow performing more accurate hit (click) test. E.g. consider rounded corners.
EXTend the size in every direction for drawing.
Release a glyph
An element of `lv_font_kerning_t`
Timer handler resume this type of function.
Indicates the animation has run in this round
Indicates that the `start_cb` was already called
Linear gradient defined by start and end points. Can be at any angle.
The first element must be the common descriptor
The target_layer on which drawing should happen
The style properties in the 2 states are identical
The draw unit is idle, new dispatching might be requested to try again
At least this difference should be to send a gesture
Long press time in milliseconds
1: Draw previous screen over active screen
DPI (dot per inch) of the display. Default value is `LV_DPI_DEF`.
1: The current screen rendering is in progress
When set, decoded image won't be put to cache, and decoder open will also ignore cache.
Decoded indexed image as is. Convert to ARGB8888 if false.
Give the `y` coordinate of the first letter at `line start` index. Relative to the label's coordinates
The 'y1' coordinate of the label when the hint was saved. Used to invalidate the hint if the label has moved too much.
Depends on `format` field, it could be image source or draw buf of bitmap or vector data.
Header is positioned at the top
Keep width, break the too long lines and expand height
This is needed to make it compatible with a normal path
Mark if this observer was already notified
`target` is an `lv_obj_t *`
Color format from `lv_color_format_t`
Apply the current theme's style on top of this theme.
1: Recalculate size and update cache
the example show the use of cubic-bezier3 in animation. the control point P1,P2 of cubic-bezier3 can be adjusted by slider. and the chart shows the cubic-bezier3 in real time. you can click run button see animation in current point of cubic-bezier3.
Pointer to the allocated memory containing the character replaced by dots
Check the base class. Must have 0 value to let zero initialized class inherit
Check the base class. Must have 0 value to let zero initialized class inherit
A text is inserted to the object. The event data is `char *` being inserted.
Notify the object to refresh something on it (for the user)
Max size of Heap memory used
Percentage used
If set to true, the read callback is invoked again, unless the device is in event-driven mode
Set the position from the current position
Set the position from the end of the file
DEFINES Log detailed information.
Do not log anything.
Used when stepping up/down to a shorter line. (Used by the library)
Always redraw the whole screen even if only one pixel has been changed. With 2 buffers in flush_cb only and address change is required.
Events of optional LVGL components
The condition is not met and the reserve size is too large
Custom flag, free to use by layouts
Custom flag, free to use by layouts
Allow scrolling inside but with slower speed
Make the object scroll further when "thrown"
Propagate the gestures to the parent
Where to align the snappable children horizontally, see `lv_scroll_snap_t`
Where to align the snappable children vertically
Name of the cache
Image format Advanced formats
The index of the glyph in the font file. Used by the font cache
An element of `lv_font_subpx_t`
Custom user data
Parameter used when path is custom_bezier
Max-width is already equal to the longest line. (Used to skip some calculation)
FOR matrix-like objects (e.g. Button matrix)
Radial gradient defined by start and end circles
Conical gradient defined by center point, start and end angles
indicates subject not initialized yet
The first element must be the common descriptor
The first element must be the common descriptor
The first element must be the common descriptor
The first element must be the common descriptor
The clip area of the layer is saved here when the draw task is created. As the clip area of the layer can be changed as new draw tasks are added its current value needs to be saved. Therefore during drawing the layer's clip area shouldn't be used as it might be already changed for other draw tasks.
The radius of the entry
Can be used e.g. in the LV_EVENT_DELETE to deinit the drivers too
The differences can be shown with a simple redraw
The differences can be shown with a simple redraw
Stride alignment for draw buffers. It may vary between different color formats and hardware. Refine it to suit your needs.
Requires layout update on parent when changed
Pointer to the assigned display
Used when user pass in a raw buffer as display draw buffer
1: Automatically delete the previous screen when the screen load animation is ready Custom user data
DEFINES TYPEDEFS STATIC PROTOTYPES
Whether stride should be aligned
Whether image should be premultiplied or not after decoding
Whether to flush the data cache after decoding
Convert a wide character, e.g. 'Á' little endian to be compatible with the encoded format.
Keep the size and clip the text out of it
Header is positioned at the top and can be scrolled out of view
Header is positioned at the bottom
fixed the obj size
Automatically free user data when the observer is removed
knob offset from the main arc
@file lv_templ.c INCLUDES DEFINES TYPEDEFS
Cursor area relative to the Text Area
Cursor is visible now or not (Handled by the library)
LVGL custom RLE compression
The condition is met and no entries need to be evicted
An error occurred while checking the condition
The cache instance allocation function, used by the cache class to allocate memory for cache instances.
The cache instance initialization function, used by the cache class to initialize the cache instance.
The cache instance destruction function, used by the cache class to destroy the cache instance.
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.
The cache drop function, used by the cache class to remove a cache entry from the cache and free the memory.
The cache drop all function, used by the cache class to remove all cache entries from the cache and free the memory.
Fallback font for missing glyph. Resolved recursively
TYPEDEFS STATIC PROTOTYPES GLOBAL VARIABLES
Get the pixel size of a color format in bits, bpp
Value from ::lv_obj_class_theme_inheritable_t
Add the new data in a circular way
@file lv_wayland_smm.c
Special value can be used in some functions to target all states
Last point read from read_cb.
1: Enable positioning the cursor by clicking the text area
STATIC PROTOTYPES STATIC VARIABLES
@file lvgl.h Include all LVGL related headers
@file lv_log.h
GENERATED FILE, DO NOT EDIT IT! @file lv_conf_internal.h Make sure all the defines of lv_conf.h have a default value
* @file lv_conf_kconfig.h * Configs that need special handling when LVGL is used with Kconfig
@file lv_types.h
Log if something unwanted happened but didn't caused problem.
Log only critical issues, when system may fail.
Log only custom log messages added by the user.
@file lv_timer.h
@file lv_math.h
@file lv_mem.h
@file lv_async.h
@file lv_anim_timeline.h
@file lv_anim.h
@file lv_draw.h Modified by NXP in 2024
@file lv_style.h
@file lv_font.h
@file lv_symbol_def.h
@file lv_area.h
@file lv_color.h
@file lv_assert.h
@file lv_bidi.h
DEFINES Special non printable strong characters.
@file lv_fs.h
@file lv_draw_rect.h
@file lv_obj_pos.h
@file lv_draw_label.h
@file lv_draw_line.h
@file lv_draw_triangle.h
@file lv_draw_arc.h
@file lv_draw_mask.h
@file lv_ll.h Handle linked lists. The nodes are dynamically allocated by the 'lv_mem' module.
@file lv_obj.h
@file lv_obj_tree.h
@file lv_obj_scroll.h
@file lv_obj_style.h
@file lv_obj_draw.h
@file lv_obj_class.h
@file lv_event.h
@file lv_group.h
@file lv_indev.h
@file lv_refr.h
@file lv_theme.h
@file lv_font_fmt_txt.h
@file lv_arc.h
@file lv_label.h
@file lv_line.h
@file lv_table.h
@file lv_checkbox.h
@file lv_bar.h
@file lv_slider.h
@file lv_dropdown.h
@file lv_roller.h
@file lv_textarea.h
@file lv_canvas.h
@file lv_switch.h
@file lv_flex.h
@file lv_grid.h
@file lv_bmp.h
@file lv_fsdrv.h
@file lv_gif.h
@file lvgl.h This file exists only to be compatible with Arduino's library structure
@file lv_qrcode.h
@file lv_freetype.h
@file lv_rlottie.h
@file lv_ffmpeg.h
@file lv_snapshot.h
@file lv_monkey.h
Public header for Fragment @file lv_fragment.h
@file lv_imgfont.h
@file lv_ime_pinyin.h
@file lv_theme_default.h
@file lv_calendar.h
@file lv_chart.h
@file lv_keyboard.h
@file lv_list.h
@file lv_menu.h
@file lv_msgbox.h
@file lv_spinbox.h
@file lv_spinner.h
@file lv_tabview.h
@file lv_tileview.h
@file lv_win.h
@file lv_led.h
@file lv_span.h
@file lv_indev_scroll.h
@file lv_draw_sw.h
@file lv_draw_sw_blend.h
@file lv_utils.h
@file lv_lru.h
Pure rendering time without flush time
Pure flushing time without rendering time
Byte index of the letter after (on) the cursor
Unicode code point
Invert the mask. 0: Keep the pixels inside.
Directly store the characters if <=4 characters
Other events Object is being created
Custom file user data
Flags reserved for user, lvgl won't use these bits.
Number of bytes in a row
packed format
planar format with 3 plane
planar format with 2 plane
A reserved field to make it has same size as lv_draw_buf_t
Do not inherit theme from base class.
Custom flag, free to use by widget
Custom flag, free to use by user
Custom flag, free to use by user
Custom flag, free to use by user
Custom flag, free to use by user
The cache entry of the glyph draw data. Used by the font cache
Custom user data for font.
Repeat the same color
Repeat the pattern mirrored
Behaviour outside the defined range. LV_GRAD_EXTEND_NONE, LV_GRAD_EXTEND_PAD, LV_GRAD_EXTEND_REPEAT, LV_GRAD_EXTEND_REFLECT
a null value like None or NILt
Additional parameter, can be used freely by the user
The original area which is updated
Called to signal the unit to complete all tasks in order to return their ready status. This callback can be implemented in case of asynchronous task processing. Below is an example to show the difference between synchronous and asynchronous: Synchronous: LVGL thread DRAW thread HW task1 --> submit --> Receive task1 wait_for_finish() state = READY <-- Complete task1 task2 --> submit --> Receive task2 wait_for_finish() task2->state = READY <-- Complete task2 task3 --> submit --> Receive task3 wait_for_finish() state = READY <-- Complete task3 task4 --> submit --> Receive task4 wait_for_finish() state = READY <-- Complete task4 NO MORE TASKS Asynchronous: LVGL thread DRAW thread HW is IDLE task1 --> queue task1 submit --> Receive task1 task2 --> queue task2 is BUSY (with task1) task3 --> queue task3 still BUSY (with task1) task4 --> queue task4 becomes IDLE state = READY <-- Complete task1 submit --> Receive task2, task3, task4 NO MORE TASKS wait_for_finish_cb() wait_for_finish() <-- Complete task2, task3, task4 state = READY <-- state = READY <-- state = READY <--
@file lv_group_private.h
@file lv_obj_private.h
@file lv_draw_buf.h
Number of log levels
@file lv_string.h
Get the pixel size of a color format in bytes
@file lv_palette.h
@file lv_color_op.h
@file lv_image_dsc.h
@file lv_cache.h
@file lv_cache_entry.h
@file lv_os.h
@file lv_os_none.h
@file lv_cache_private.h
@file lv_cache_lru_rb.h
@file lv_image_cache.h
@file lv_tick.h Provide access to the system tick with 1 millisecond resolution
@file lv_text.h
@file lv_sprintf.h
@file lv_layout.h
@file lv_display.h
@file lv_array.h Array. The elements are dynamically allocated by the 'lv_mem' module.
@file lv_profiler.h
@file lv_matrix.h
@file lv_image_decoder.h
@file lv_draw_image.h
@file lv_obj_property.h
@file lv_obj_event.h
@file lv_global.h
@file lv_draw_vector.h
@file lv_draw_sw_mask.h
@file lv_sysmon.h
@file lv_observer.h
@file lv_timer_private.h
@file lv_anim_private.h
@file lv_tick_private.h
@file lv_draw_private.h Modified by NXP in 2024
@file lv_draw_sw_private.h
@file lv_tlsf_private.h
@file lv_sysmon_private.h
@file lv_layout_private.h
@file lv_event_private.h
@file lv_area_private.h
@file lv_indev_private.h
@file lv_display_private.h
@file lv_theme_mono.h
@file lv_theme_simple.h
@file lv_refr_private.h
How much time did it take to open the image. [ms] If not set `lv_image_cache` will measure and set the time to open
A text to display instead of the image when the image can't be opened. Can be set in `open` function or set NULL.
@file lv_bidi_private.h
@file lv_text_private.h
@file lv_draw_pxp.h Copyright 2022-2024 NXP SPDX-License-Identifier: MIT
@file lv_pxp_cfg.h Copyright 2020-2023 NXP SPDX-License-Identifier: MIT
@file lv_pxp_osa.h Copyright 2020, 2022-2023 NXP SPDX-License-Identifier: MIT
@file lv_pxp_utils.h Copyright 2023-2024 NXP SPDX-License-Identifier: MIT
@file lv_draw_vglite.h Copyright 2023-2024 NXP SPDX-License-Identifier: MIT
@file lv_vglite_buf.h Copyright 2023 NXP SPDX-License-Identifier: MIT
@file lv_vglite_matrix.h Copyright 2023 NXP SPDX-License-Identifier: MIT
@file lv_vglite_path.h Copyright 2023 NXP SPDX-License-Identifier: MIT
@file lv_vglite_utils.h Copyright 2022-2024 NXP SPDX-License-Identifier: MIT
@file lv_draw_dave2d.h
@file lv_text_ap.h
@file lv_draw_vg_lite.h
Don't draw the series
@file lv_version.h The current version of LVGL
@file lv_init.h
@file lv_rb.h
@file lv_binfont_loader.h
@file lv_animimage.h
@file lv_image.h
@file lv_button.h
@file lv_buttonmatrix.h
@file lv_imagebutton.h
@file lv_lottie.h
@file lv_scale.h
@file lv_gridnav.h
@file lv_file_explorer.h
@file lv_barcode.h
@file lv_bin_decoder.h
@file lv_rle.h
@file lv_lodepng.h
@file lv_libpng.h
@file lv_tjpgd.h
@file lv_libjpeg_turbo.h
@file lv_tiny_ttf.h
@file lv_drivers.h
@file lv_sdl_window.h
@file lv_sdl_mouse.h
@file lv_sdl_mousewheel.h
@file lv_sdl_keyboard.h
@file lv_x11.h
@file lv_linux_drm.h
@file lv_linux_fbdev.h
@file lv_tft_espi.h
@file lv_nuttx_entry.h INCLUDES
@file lv_nuttx_fbdev.h
@file lv_nuttx_touchscreen.h INCLUDES
@file lv_nuttx_lcd.h
@file lv_nuttx_libuv.h
@file lv_evdev.h
@file lv_libinput.h
@file lv_windows_input.h
@file lv_windows_display.h
@file lv_glfw_window.h
@file lv_opengles_driver.h
@file lv_qnx.h LVGL driver for the QNX Screen compositing window manager
@file lv_wayland.h - Public functions of the LVGL Wayland client Based on the original file from the repository. Porting to LVGL 9.1 2024 EDGEMTech Ltd. See LICENCE.txt for details Author(s): EDGEMTech Ltd, Erik Tagirov (erik.tagirov@edgemtech.ch)
@file lv_api_map_v8.h
@file lv_api_map_v9_0.h
DEFINES TYPEDEFS GLOBAL PROTOTYPES MACROS
@file lv_api_map_v9_1.h
DEFINES TYPEDEFS GLOBAL PROTOTYPES MACROS MACROS
@file lv_vg_lite_decoder.h
@file lv_vg_lite_grad.h
@file lv_vg_lite_math.h
@file lv_vg_lite_path.h
@file lv_vg_lite_utils.h
@file lv_vg_lite_pending.h
@file lv_vg_lite_stroke.h
@file lv_ili9341.h This driver is just a wrapper around the generic MIPI compatible LCD controller driver
@file lv_lcd_generic_mipi.h Generic driver for controllers adhering to the MIPI DBI/DCS specification Works with: ST7735 ST7789 ST7796 ILI9341 ILI9488 (NOTE: in SPI mode ILI9488 only supports RGB666 mode, which is currently not supported) any probably many more
@file lv_renesas_glcdc.h
@file lv_st7735.h This driver is just a wrapper around the generic MIPI compatible LCD controller driver
@file lv_st7789.h This driver is just a wrapper around the generic MIPI compatible LCD controller driver
@file lv_st7796.h This driver is just a wrapper around the generic MIPI compatible LCD controller driver
@file lv_opengles_debug.h
@file lv_xkb_private.h
@file lv_xkb.h
@file lv_nuttx_cache.h
@file lvgl_private.h
@file lv_mem_private.h
@file lv_monkey_private.h
@file lv_qrcode_private.h
@file lv_canvas_private.h
@file lv_image_private.h
@file lv_barcode_private.h
@file lv_gif_private.h
@file lv_theme_private.h
@file lv_fs_private.h
@file lv_rb_private.h
@file lv_style_private.h
@file lv_msgbox_private.h
@file lv_slider_private.h
@file lv_bar_private.h
@file lv_switch_private.h
@file lv_table_private.h
@file lv_roller_private.h
@file lv_win_private.h
@file lv_line_private.h
@file lv_menu_private.h
@file lv_chart_private.h
@file lv_button_private.h
@file lv_scale_private.h
@file lv_led_private.h
@file lv_arc_private.h
@file lv_spinbox_private.h
@file lv_span_private.h
@file lv_label_private.h
@file lv_tabview_private.h
@file lv_rlottie_private.h
@file lv_ffmpeg_private.h
@file lv_lottie_private.h
@file lv_os_private.h
@file lv_nuttx_profiler.h
@file lv_wayland_smm.h
@file lv_windows_context.h
GENERATED FILE, DO NOT EDIT IT! @file lv_style_properties.h
@file lv_examples.h
@file lv_example_anim.h
@file lv_example_event.h
@file lv_example_get_started.h
@file lv_example_layout.h
@file lv_example_flex.h
@file lv_example_grid.h
@file lv_example_libs.h
@file lv_example_barcode.h
@file lv_example_bmp.h
@file lv_example_ffmpeg.h
@file lv_example_gif.h
@file lv_example_lodepng.h
@file lv_example_libpng.h
@file lv_example_qrcode.h
@file lv_example_rlottie.h
@file lv_example_tjpgd.h
@file lv_example_others.h
@file lv_example_file_explorer.h
@file lv_example_gridnav.h
@file lv_example_ime_pinyin.h
@file lv_example_imgfont.h
@file lv_example_monkey.h
@file lv_example_snapshot.h
@file lv_example_osal.h
@file lv_example_scroll.h
@file lv_example_style.h
@file lv_example_widgets.h
Extension point for custom widgets
Pointer to the source data used by image fonts

Dependencies

i80_controller sample depends on the following libraries: