lv_group_private.h

API reference for lv_group_private.h

Report on GitHub
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_group.h

Functions

lv_group_init

Init the group module

 
void lv_group_init(void)

Remark: Internal function, do not call directly.

lv_group_deinit

Deinit the group module

 
void lv_group_deinit(void)

Remark: Internal function, do not call directly.

Structs

struct

_lv_group_t

Groups can be used to logically hold objects so that they can be individually focused. They are NOT for laying out objects on a screen (try layouts for that).

MemberTypeDescription
ext_datalv_ext_data_t
obj_lllv_ll_tLinked list to store the objects in the group
obj_focuslv_obj_t **The object in focus
focus_cblv_group_focus_cb_tA function to call when a new object is focused (optional)
edge_cblv_group_edge_cb_tA 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)
user_datavoid *
frozenuint8_t1: can't focus to new object
editinguint8_t1: Edit mode, 0: Navigate mode
refocus_policyuint8_t1: Focus prev if focused on deletion. 0: Focus next if focused on deletion.
wrapuint8_t1: Focus next/prev can wrap at end of list. 0: Focus next/prev stops at end of list.

Dependencies

How is this guide?

Last updated on

On this page