1void lv_style_set_width(
lv_style_t * style, lv_coord_t value);
2void lv_style_set_min_width(
lv_style_t * style, lv_coord_t value);
3void lv_style_set_max_width(
lv_style_t * style, lv_coord_t value);
4void lv_style_set_height(
lv_style_t * style, lv_coord_t value);
5void lv_style_set_min_height(
lv_style_t * style, lv_coord_t value);
6void lv_style_set_max_height(
lv_style_t * style, lv_coord_t value);
7void lv_style_set_x(
lv_style_t * style, lv_coord_t value);
8void lv_style_set_y(
lv_style_t * style, lv_coord_t value);
9void lv_style_set_align(
lv_style_t * style, lv_align_t value);
10void lv_style_set_transform_width(
lv_style_t * style, lv_coord_t value);
11void lv_style_set_transform_height(
lv_style_t * style, lv_coord_t value);
12void lv_style_set_translate_x(
lv_style_t * style, lv_coord_t value);
13void lv_style_set_translate_y(
lv_style_t * style, lv_coord_t value);
14void lv_style_set_transform_zoom(
lv_style_t * style, lv_coord_t value);
15void lv_style_set_transform_angle(
lv_style_t * style, lv_coord_t value);
16void lv_style_set_transform_pivot_x(
lv_style_t * style, lv_coord_t value);
17void lv_style_set_transform_pivot_y(
lv_style_t * style, lv_coord_t value);
18void lv_style_set_pad_top(
lv_style_t * style, lv_coord_t value);
19void lv_style_set_pad_bottom(
lv_style_t * style, lv_coord_t value);
20void lv_style_set_pad_left(
lv_style_t * style, lv_coord_t value);
21void lv_style_set_pad_right(
lv_style_t * style, lv_coord_t value);
22void lv_style_set_pad_row(
lv_style_t * style, lv_coord_t value);
23void lv_style_set_pad_column(
lv_style_t * style, lv_coord_t value);
24void lv_style_set_bg_color(
lv_style_t * style, lv_color_t value);
25void lv_style_set_bg_opa(
lv_style_t * style, lv_opa_t value);
26void lv_style_set_bg_grad_color(
lv_style_t * style, lv_color_t value);
27void lv_style_set_bg_grad_dir(
lv_style_t * style, lv_grad_dir_t value);
28void lv_style_set_bg_main_stop(
lv_style_t * style, lv_coord_t value);
29void lv_style_set_bg_grad_stop(
lv_style_t * style, lv_coord_t value);
31void lv_style_set_bg_dither_mode(
lv_style_t * style, lv_dither_mode_t value);
32void lv_style_set_bg_img_src(
lv_style_t * style,
const void * value);
33void lv_style_set_bg_img_opa(
lv_style_t * style, lv_opa_t value);
34void lv_style_set_bg_img_recolor(
lv_style_t * style, lv_color_t value);
35void lv_style_set_bg_img_recolor_opa(
lv_style_t * style, lv_opa_t value);
36void lv_style_set_bg_img_tiled(
lv_style_t * style,
bool value);
37void lv_style_set_border_color(
lv_style_t * style, lv_color_t value);
38void lv_style_set_border_opa(
lv_style_t * style, lv_opa_t value);
39void lv_style_set_border_width(
lv_style_t * style, lv_coord_t value);
40void lv_style_set_border_side(
lv_style_t * style, lv_border_side_t value);
41void lv_style_set_border_post(
lv_style_t * style,
bool value);
42void lv_style_set_outline_width(
lv_style_t * style, lv_coord_t value);
43void lv_style_set_outline_color(
lv_style_t * style, lv_color_t value);
44void lv_style_set_outline_opa(
lv_style_t * style, lv_opa_t value);
45void lv_style_set_outline_pad(
lv_style_t * style, lv_coord_t value);
46void lv_style_set_shadow_width(
lv_style_t * style, lv_coord_t value);
47void lv_style_set_shadow_ofs_x(
lv_style_t * style, lv_coord_t value);
48void lv_style_set_shadow_ofs_y(
lv_style_t * style, lv_coord_t value);
49void lv_style_set_shadow_spread(
lv_style_t * style, lv_coord_t value);
50void lv_style_set_shadow_color(
lv_style_t * style, lv_color_t value);
51void lv_style_set_shadow_opa(
lv_style_t * style, lv_opa_t value);
52void lv_style_set_img_opa(
lv_style_t * style, lv_opa_t value);
53void lv_style_set_img_recolor(
lv_style_t * style, lv_color_t value);
54void lv_style_set_img_recolor_opa(
lv_style_t * style, lv_opa_t value);
55void lv_style_set_line_width(
lv_style_t * style, lv_coord_t value);
56void lv_style_set_line_dash_width(
lv_style_t * style, lv_coord_t value);
57void lv_style_set_line_dash_gap(
lv_style_t * style, lv_coord_t value);
58void lv_style_set_line_rounded(
lv_style_t * style,
bool value);
59void lv_style_set_line_color(
lv_style_t * style, lv_color_t value);
60void lv_style_set_line_opa(
lv_style_t * style, lv_opa_t value);
61void lv_style_set_arc_width(
lv_style_t * style, lv_coord_t value);
62void lv_style_set_arc_rounded(
lv_style_t * style,
bool value);
63void lv_style_set_arc_color(
lv_style_t * style, lv_color_t value);
64void lv_style_set_arc_opa(
lv_style_t * style, lv_opa_t value);
65void lv_style_set_arc_img_src(
lv_style_t * style,
const void * value);
66void lv_style_set_text_color(
lv_style_t * style, lv_color_t value);
67void lv_style_set_text_opa(
lv_style_t * style, lv_opa_t value);
69void lv_style_set_text_letter_space(
lv_style_t * style, lv_coord_t value);
70void lv_style_set_text_line_space(
lv_style_t * style, lv_coord_t value);
71void lv_style_set_text_decor(
lv_style_t * style, lv_text_decor_t value);
72void lv_style_set_text_align(
lv_style_t * style, lv_text_align_t value);
73void lv_style_set_radius(
lv_style_t * style, lv_coord_t value);
74void lv_style_set_clip_corner(
lv_style_t * style,
bool value);
75void lv_style_set_opa(
lv_style_t * style, lv_opa_t value);
77void lv_style_set_color_filter_opa(
lv_style_t * style, lv_opa_t value);
79void lv_style_set_anim_time(
lv_style_t * style, uint32_t value);
80void lv_style_set_anim_speed(
lv_style_t * style, uint32_t value);
82void lv_style_set_blend_mode(
lv_style_t * style, lv_blend_mode_t value);
83void lv_style_set_layout(
lv_style_t * style, uint16_t value);
84void lv_style_set_base_dir(
lv_style_t * style, lv_base_dir_t value);
86#define LV_STYLE_CONST_WIDTH(val) \
88 .prop = LV_STYLE_WIDTH, .value = { .num = (int32_t)val } \
91#define LV_STYLE_CONST_MIN_WIDTH(val) \
93 .prop = LV_STYLE_MIN_WIDTH, .value = { .num = (int32_t)val } \
96#define LV_STYLE_CONST_MAX_WIDTH(val) \
98 .prop = LV_STYLE_MAX_WIDTH, .value = { .num = (int32_t)val } \
101#define LV_STYLE_CONST_HEIGHT(val) \
103 .prop = LV_STYLE_HEIGHT, .value = { .num = (int32_t)val } \
106#define LV_STYLE_CONST_MIN_HEIGHT(val) \
108 .prop = LV_STYLE_MIN_HEIGHT, .value = { .num = (int32_t)val } \
111#define LV_STYLE_CONST_MAX_HEIGHT(val) \
113 .prop = LV_STYLE_MAX_HEIGHT, .value = { .num = (int32_t)val } \
116#define LV_STYLE_CONST_X(val) \
118 .prop = LV_STYLE_X, .value = { .num = (int32_t)val } \
121#define LV_STYLE_CONST_Y(val) \
123 .prop = LV_STYLE_Y, .value = { .num = (int32_t)val } \
126#define LV_STYLE_CONST_ALIGN(val) \
128 .prop = LV_STYLE_ALIGN, .value = { .num = (int32_t)val } \
131#define LV_STYLE_CONST_TRANSFORM_WIDTH(val) \
133 .prop = LV_STYLE_TRANSFORM_WIDTH, .value = { .num = (int32_t)val } \
136#define LV_STYLE_CONST_TRANSFORM_HEIGHT(val) \
138 .prop = LV_STYLE_TRANSFORM_HEIGHT, .value = { .num = (int32_t)val } \
141#define LV_STYLE_CONST_TRANSLATE_X(val) \
143 .prop = LV_STYLE_TRANSLATE_X, .value = { .num = (int32_t)val } \
146#define LV_STYLE_CONST_TRANSLATE_Y(val) \
148 .prop = LV_STYLE_TRANSLATE_Y, .value = { .num = (int32_t)val } \
151#define LV_STYLE_CONST_TRANSFORM_ZOOM(val) \
153 .prop = LV_STYLE_TRANSFORM_ZOOM, .value = { .num = (int32_t)val } \
156#define LV_STYLE_CONST_TRANSFORM_ANGLE(val) \
158 .prop = LV_STYLE_TRANSFORM_ANGLE, .value = { .num = (int32_t)val } \
161#define LV_STYLE_CONST_TRANSFORM_PIVOT_X(val) \
163 .prop = LV_STYLE_TRANSFORM_PIVOT_X, .value = { .num = (int32_t)val } \
166#define LV_STYLE_CONST_TRANSFORM_PIVOT_Y(val) \
168 .prop = LV_STYLE_TRANSFORM_PIVOT_Y, .value = { .num = (int32_t)val } \
171#define LV_STYLE_CONST_PAD_TOP(val) \
173 .prop = LV_STYLE_PAD_TOP, .value = { .num = (int32_t)val } \
176#define LV_STYLE_CONST_PAD_BOTTOM(val) \
178 .prop = LV_STYLE_PAD_BOTTOM, .value = { .num = (int32_t)val } \
181#define LV_STYLE_CONST_PAD_LEFT(val) \
183 .prop = LV_STYLE_PAD_LEFT, .value = { .num = (int32_t)val } \
186#define LV_STYLE_CONST_PAD_RIGHT(val) \
188 .prop = LV_STYLE_PAD_RIGHT, .value = { .num = (int32_t)val } \
191#define LV_STYLE_CONST_PAD_ROW(val) \
193 .prop = LV_STYLE_PAD_ROW, .value = { .num = (int32_t)val } \
196#define LV_STYLE_CONST_PAD_COLUMN(val) \
198 .prop = LV_STYLE_PAD_COLUMN, .value = { .num = (int32_t)val } \
201#define LV_STYLE_CONST_BG_COLOR(val) \
203 .prop = LV_STYLE_BG_COLOR, .value = { .color = val } \
206#define LV_STYLE_CONST_BG_OPA(val) \
208 .prop = LV_STYLE_BG_OPA, .value = { .num = (int32_t)val } \
211#define LV_STYLE_CONST_BG_GRAD_COLOR(val) \
213 .prop = LV_STYLE_BG_GRAD_COLOR, .value = { .color = val } \
216#define LV_STYLE_CONST_BG_GRAD_DIR(val) \
218 .prop = LV_STYLE_BG_GRAD_DIR, .value = { .num = (int32_t)val } \
221#define LV_STYLE_CONST_BG_MAIN_STOP(val) \
223 .prop = LV_STYLE_BG_MAIN_STOP, .value = { .num = (int32_t)val } \
226#define LV_STYLE_CONST_BG_GRAD_STOP(val) \
228 .prop = LV_STYLE_BG_GRAD_STOP, .value = { .num = (int32_t)val } \
231#define LV_STYLE_CONST_BG_GRAD(val) \
233 .prop = LV_STYLE_BG_GRAD, .value = { .ptr = val } \
236#define LV_STYLE_CONST_BG_DITHER_MODE(val) \
238 .prop = LV_STYLE_BG_DITHER_MODE, .value = { .num = (int32_t)val } \
241#define LV_STYLE_CONST_BG_IMG_SRC(val) \
243 .prop = LV_STYLE_BG_IMG_SRC, .value = { .ptr = val } \
246#define LV_STYLE_CONST_BG_IMG_OPA(val) \
248 .prop = LV_STYLE_BG_IMG_OPA, .value = { .num = (int32_t)val } \
251#define LV_STYLE_CONST_BG_IMG_RECOLOR(val) \
253 .prop = LV_STYLE_BG_IMG_RECOLOR, .value = { .color = val } \
256#define LV_STYLE_CONST_BG_IMG_RECOLOR_OPA(val) \
258 .prop = LV_STYLE_BG_IMG_RECOLOR_OPA, .value = { .num = (int32_t)val } \
261#define LV_STYLE_CONST_BG_IMG_TILED(val) \
263 .prop = LV_STYLE_BG_IMG_TILED, .value = { .num = (int32_t)val } \
266#define LV_STYLE_CONST_BORDER_COLOR(val) \
268 .prop = LV_STYLE_BORDER_COLOR, .value = { .color = val } \
271#define LV_STYLE_CONST_BORDER_OPA(val) \
273 .prop = LV_STYLE_BORDER_OPA, .value = { .num = (int32_t)val } \
276#define LV_STYLE_CONST_BORDER_WIDTH(val) \
278 .prop = LV_STYLE_BORDER_WIDTH, .value = { .num = (int32_t)val } \
281#define LV_STYLE_CONST_BORDER_SIDE(val) \
283 .prop = LV_STYLE_BORDER_SIDE, .value = { .num = (int32_t)val } \
286#define LV_STYLE_CONST_BORDER_POST(val) \
288 .prop = LV_STYLE_BORDER_POST, .value = { .num = (int32_t)val } \
291#define LV_STYLE_CONST_OUTLINE_WIDTH(val) \
293 .prop = LV_STYLE_OUTLINE_WIDTH, .value = { .num = (int32_t)val } \
296#define LV_STYLE_CONST_OUTLINE_COLOR(val) \
298 .prop = LV_STYLE_OUTLINE_COLOR, .value = { .color = val } \
301#define LV_STYLE_CONST_OUTLINE_OPA(val) \
303 .prop = LV_STYLE_OUTLINE_OPA, .value = { .num = (int32_t)val } \
306#define LV_STYLE_CONST_OUTLINE_PAD(val) \
308 .prop = LV_STYLE_OUTLINE_PAD, .value = { .num = (int32_t)val } \
311#define LV_STYLE_CONST_SHADOW_WIDTH(val) \
313 .prop = LV_STYLE_SHADOW_WIDTH, .value = { .num = (int32_t)val } \
316#define LV_STYLE_CONST_SHADOW_OFS_X(val) \
318 .prop = LV_STYLE_SHADOW_OFS_X, .value = { .num = (int32_t)val } \
321#define LV_STYLE_CONST_SHADOW_OFS_Y(val) \
323 .prop = LV_STYLE_SHADOW_OFS_Y, .value = { .num = (int32_t)val } \
326#define LV_STYLE_CONST_SHADOW_SPREAD(val) \
328 .prop = LV_STYLE_SHADOW_SPREAD, .value = { .num = (int32_t)val } \
331#define LV_STYLE_CONST_SHADOW_COLOR(val) \
333 .prop = LV_STYLE_SHADOW_COLOR, .value = { .color = val } \
336#define LV_STYLE_CONST_SHADOW_OPA(val) \
338 .prop = LV_STYLE_SHADOW_OPA, .value = { .num = (int32_t)val } \
341#define LV_STYLE_CONST_IMG_OPA(val) \
343 .prop = LV_STYLE_IMG_OPA, .value = { .num = (int32_t)val } \
346#define LV_STYLE_CONST_IMG_RECOLOR(val) \
348 .prop = LV_STYLE_IMG_RECOLOR, .value = { .color = val } \
351#define LV_STYLE_CONST_IMG_RECOLOR_OPA(val) \
353 .prop = LV_STYLE_IMG_RECOLOR_OPA, .value = { .num = (int32_t)val } \
356#define LV_STYLE_CONST_LINE_WIDTH(val) \
358 .prop = LV_STYLE_LINE_WIDTH, .value = { .num = (int32_t)val } \
361#define LV_STYLE_CONST_LINE_DASH_WIDTH(val) \
363 .prop = LV_STYLE_LINE_DASH_WIDTH, .value = { .num = (int32_t)val } \
366#define LV_STYLE_CONST_LINE_DASH_GAP(val) \
368 .prop = LV_STYLE_LINE_DASH_GAP, .value = { .num = (int32_t)val } \
371#define LV_STYLE_CONST_LINE_ROUNDED(val) \
373 .prop = LV_STYLE_LINE_ROUNDED, .value = { .num = (int32_t)val } \
376#define LV_STYLE_CONST_LINE_COLOR(val) \
378 .prop = LV_STYLE_LINE_COLOR, .value = { .color = val } \
381#define LV_STYLE_CONST_LINE_OPA(val) \
383 .prop = LV_STYLE_LINE_OPA, .value = { .num = (int32_t)val } \
386#define LV_STYLE_CONST_ARC_WIDTH(val) \
388 .prop = LV_STYLE_ARC_WIDTH, .value = { .num = (int32_t)val } \
391#define LV_STYLE_CONST_ARC_ROUNDED(val) \
393 .prop = LV_STYLE_ARC_ROUNDED, .value = { .num = (int32_t)val } \
396#define LV_STYLE_CONST_ARC_COLOR(val) \
398 .prop = LV_STYLE_ARC_COLOR, .value = { .color = val } \
401#define LV_STYLE_CONST_ARC_OPA(val) \
403 .prop = LV_STYLE_ARC_OPA, .value = { .num = (int32_t)val } \
406#define LV_STYLE_CONST_ARC_IMG_SRC(val) \
408 .prop = LV_STYLE_ARC_IMG_SRC, .value = { .ptr = val } \
411#define LV_STYLE_CONST_TEXT_COLOR(val) \
413 .prop = LV_STYLE_TEXT_COLOR, .value = { .color = val } \
416#define LV_STYLE_CONST_TEXT_OPA(val) \
418 .prop = LV_STYLE_TEXT_OPA, .value = { .num = (int32_t)val } \
421#define LV_STYLE_CONST_TEXT_FONT(val) \
423 .prop = LV_STYLE_TEXT_FONT, .value = { .ptr = val } \
426#define LV_STYLE_CONST_TEXT_LETTER_SPACE(val) \
428 .prop = LV_STYLE_TEXT_LETTER_SPACE, .value = { .num = (int32_t)val } \
431#define LV_STYLE_CONST_TEXT_LINE_SPACE(val) \
433 .prop = LV_STYLE_TEXT_LINE_SPACE, .value = { .num = (int32_t)val } \
436#define LV_STYLE_CONST_TEXT_DECOR(val) \
438 .prop = LV_STYLE_TEXT_DECOR, .value = { .num = (int32_t)val } \
441#define LV_STYLE_CONST_TEXT_ALIGN(val) \
443 .prop = LV_STYLE_TEXT_ALIGN, .value = { .num = (int32_t)val } \
446#define LV_STYLE_CONST_RADIUS(val) \
448 .prop = LV_STYLE_RADIUS, .value = { .num = (int32_t)val } \
451#define LV_STYLE_CONST_CLIP_CORNER(val) \
453 .prop = LV_STYLE_CLIP_CORNER, .value = { .num = (int32_t)val } \
456#define LV_STYLE_CONST_OPA(val) \
458 .prop = LV_STYLE_OPA, .value = { .num = (int32_t)val } \
461#define LV_STYLE_CONST_COLOR_FILTER_DSC(val) \
463 .prop = LV_STYLE_COLOR_FILTER_DSC, .value = { .ptr = val } \
466#define LV_STYLE_CONST_COLOR_FILTER_OPA(val) \
468 .prop = LV_STYLE_COLOR_FILTER_OPA, .value = { .num = (int32_t)val } \
471#define LV_STYLE_CONST_ANIM(val) \
473 .prop = LV_STYLE_ANIM, .value = { .ptr = val } \
476#define LV_STYLE_CONST_ANIM_TIME(val) \
478 .prop = LV_STYLE_ANIM_TIME, .value = { .num = (int32_t)val } \
481#define LV_STYLE_CONST_ANIM_SPEED(val) \
483 .prop = LV_STYLE_ANIM_SPEED, .value = { .num = (int32_t)val } \
486#define LV_STYLE_CONST_TRANSITION(val) \
488 .prop = LV_STYLE_TRANSITION, .value = { .ptr = val } \
491#define LV_STYLE_CONST_BLEND_MODE(val) \
493 .prop = LV_STYLE_BLEND_MODE, .value = { .num = (int32_t)val } \
496#define LV_STYLE_CONST_LAYOUT(val) \
498 .prop = LV_STYLE_LAYOUT, .value = { .num = (int32_t)val } \
501#define LV_STYLE_CONST_BASE_DIR(val) \
503 .prop = LV_STYLE_BASE_DIR, .value = { .num = (int32_t)val } \
Definition lv_color.h:252
Definition lv_style.h:155
Definition lv_style.h:318
Definition lv_style.h:297