BSB Developer Docs
Loading...
Searching...
No Matches
lv_label_ext.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <lvgl.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
30void lv_label_ext_set_anim_speed(lv_obj_t* label, uint32_t px_per_min);
31
40void lv_label_ext_set_max_lines(lv_obj_t* label, uint32_t max_lines);
41
42#ifdef __cplusplus
43}
44#endif
void lv_label_ext_set_anim_speed(lv_obj_t *label, uint32_t px_per_min)
Set the scroll animation speed for a label.
Definition lv_label_ext.c:3
void lv_label_ext_set_max_lines(lv_obj_t *label, uint32_t max_lines)
Cap the label's height to N text lines.
Definition lv_label_ext.c:19