Home
last modified time | relevance | path

Searched refs:selector (Results 1 – 12 of 12) sorted by relevance

/lvgl-3.7.0/src/core/
Dlv_obj_style_gen.c3 void lv_obj_set_style_width(struct _lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector) in lv_obj_set_style_width() argument
8 lv_obj_set_local_style_prop(obj, LV_STYLE_WIDTH, v, selector); in lv_obj_set_style_width()
11 … lv_obj_set_style_min_width(struct _lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector) in lv_obj_set_style_min_width() argument
16 lv_obj_set_local_style_prop(obj, LV_STYLE_MIN_WIDTH, v, selector); in lv_obj_set_style_min_width()
19 … lv_obj_set_style_max_width(struct _lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector) in lv_obj_set_style_max_width() argument
24 lv_obj_set_local_style_prop(obj, LV_STYLE_MAX_WIDTH, v, selector); in lv_obj_set_style_max_width()
27 void lv_obj_set_style_height(struct _lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector) in lv_obj_set_style_height() argument
32 lv_obj_set_local_style_prop(obj, LV_STYLE_HEIGHT, v, selector); in lv_obj_set_style_height()
35 …lv_obj_set_style_min_height(struct _lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector) in lv_obj_set_style_min_height() argument
40 lv_obj_set_local_style_prop(obj, LV_STYLE_MIN_HEIGHT, v, selector); in lv_obj_set_style_min_height()
[all …]
Dlv_obj_style.h41 uint32_t selector : 24; member
49 lv_style_selector_t selector; member
75 void lv_obj_add_style(struct _lv_obj_t * obj, lv_style_t * style, lv_style_selector_t selector);
86 void lv_obj_remove_style(struct _lv_obj_t * obj, lv_style_t * style, lv_style_selector_t selector);
141 lv_style_selector_t selector);
144 lv_style_selector_t selector);
147 lv_style_selector_t selector);
156 …emove_local_style_prop(struct _lv_obj_t * obj, lv_style_prop_t prop, lv_style_selector_t selector);
199 lv_state_t lv_obj_style_get_selector_state(lv_style_selector_t selector);
201 lv_part_t lv_obj_style_get_selector_part(lv_style_selector_t selector);
[all …]
Dlv_obj_style_gen.h571 void lv_obj_set_style_width(struct _lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector);
572 …lv_obj_set_style_min_width(struct _lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector);
573 …lv_obj_set_style_max_width(struct _lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector);
574 void lv_obj_set_style_height(struct _lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector
575 …v_obj_set_style_min_height(struct _lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector);
576 …v_obj_set_style_max_height(struct _lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector);
577 void lv_obj_set_style_x(struct _lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector);
578 void lv_obj_set_style_y(struct _lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector);
579 void lv_obj_set_style_align(struct _lv_obj_t * obj, lv_align_t value, lv_style_selector_t selector);
580 …_set_style_transform_width(struct _lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector);
[all …]
Dlv_obj_style.c25 lv_style_selector_t selector; member
45 static lv_style_t * get_local_style(lv_obj_t * obj, lv_style_selector_t selector);
76 void lv_obj_add_style(lv_obj_t * obj, lv_style_t * style, lv_style_selector_t selector) in lv_obj_add_style() argument
78 trans_del(obj, selector, LV_STYLE_PROP_ANY, NULL); in lv_obj_add_style()
101 obj->styles[i].selector = selector; in lv_obj_add_style()
103 lv_obj_refresh_style(obj, selector, LV_STYLE_PROP_ANY); in lv_obj_add_style()
106 void lv_obj_remove_style(lv_obj_t * obj, lv_style_t * style, lv_style_selector_t selector) in lv_obj_remove_style() argument
108 lv_state_t state = lv_obj_style_get_selector_state(selector); in lv_obj_remove_style()
109 lv_part_t part = lv_obj_style_get_selector_part(selector); in lv_obj_remove_style()
116 lv_state_t state_act = lv_obj_style_get_selector_state(obj->styles[i].selector); in lv_obj_remove_style()
[all …]
Dlv_obj.c902 lv_state_t state_act = lv_obj_style_get_selector_state(obj->styles[i].selector); in lv_obj_set_state()
903 lv_part_t part_act = lv_obj_style_get_selector_part(obj->styles[i].selector); in lv_obj_set_state()
916 lv_style_selector_t selector = ts[t].selector; in lv_obj_set_state() local
917 lv_state_t state_ts = lv_obj_style_get_selector_state(selector); in lv_obj_set_state()
918 lv_part_t part_ts = lv_obj_style_get_selector_part(selector); in lv_obj_set_state()
931 ts[tsi].selector = obj_style->selector; in lv_obj_set_state()
938 lv_part_t part_act = lv_obj_style_get_selector_part(ts[i].selector); in lv_obj_set_state()
/lvgl-3.7.0/src/extra/layouts/grid/
Dlv_grid.h110 …t_style_grid_row_dsc_array(lv_obj_t * obj, const lv_coord_t value[], lv_style_selector_t selector);
111 …tyle_grid_column_dsc_array(lv_obj_t * obj, const lv_coord_t value[], lv_style_selector_t selector);
112 …_obj_set_style_grid_row_align(lv_obj_t * obj, lv_grid_align_t value, lv_style_selector_t selector);
113 …j_set_style_grid_column_align(lv_obj_t * obj, lv_grid_align_t value, lv_style_selector_t selector);
114 …obj_set_style_grid_cell_column_pos(lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector);
115 …bj_set_style_grid_cell_column_span(lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector);
116 …lv_obj_set_style_grid_cell_row_pos(lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector);
117 …v_obj_set_style_grid_cell_row_span(lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector);
118 …lv_obj_set_style_grid_cell_x_align(lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector);
119 …lv_obj_set_style_grid_cell_y_align(lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector);
Dlv_grid.c253 …et_style_grid_row_dsc_array(lv_obj_t * obj, const lv_coord_t value[], lv_style_selector_t selector) in lv_obj_set_style_grid_row_dsc_array() argument
258 lv_obj_set_local_style_prop(obj, LV_STYLE_GRID_ROW_DSC_ARRAY, v, selector); in lv_obj_set_style_grid_row_dsc_array()
261 …style_grid_column_dsc_array(lv_obj_t * obj, const lv_coord_t value[], lv_style_selector_t selector) in lv_obj_set_style_grid_column_dsc_array() argument
266 lv_obj_set_local_style_prop(obj, LV_STYLE_GRID_COLUMN_DSC_ARRAY, v, selector); in lv_obj_set_style_grid_column_dsc_array()
269 …v_obj_set_style_grid_row_align(lv_obj_t * obj, lv_grid_align_t value, lv_style_selector_t selector) in lv_obj_set_style_grid_row_align() argument
274 lv_obj_set_local_style_prop(obj, LV_STYLE_GRID_ROW_ALIGN, v, selector); in lv_obj_set_style_grid_row_align()
277 …bj_set_style_grid_column_align(lv_obj_t * obj, lv_grid_align_t value, lv_style_selector_t selector) in lv_obj_set_style_grid_column_align() argument
282 lv_obj_set_local_style_prop(obj, LV_STYLE_GRID_COLUMN_ALIGN, v, selector); in lv_obj_set_style_grid_column_align()
285 …_obj_set_style_grid_cell_column_pos(lv_obj_t * obj, lv_coord_t value, lv_style_selector_t selector) in lv_obj_set_style_grid_cell_column_pos() argument
290 lv_obj_set_local_style_prop(obj, LV_STYLE_GRID_CELL_COLUMN_POS, v, selector); in lv_obj_set_style_grid_cell_column_pos()
[all …]
/lvgl-3.7.0/src/extra/layouts/flex/
Dlv_flex.h106 void lv_obj_set_style_flex_flow(lv_obj_t * obj, lv_flex_flow_t value, lv_style_selector_t selector);
107 …obj_set_style_flex_main_place(lv_obj_t * obj, lv_flex_align_t value, lv_style_selector_t selector);
108 …bj_set_style_flex_cross_place(lv_obj_t * obj, lv_flex_align_t value, lv_style_selector_t selector);
109 …bj_set_style_flex_track_place(lv_obj_t * obj, lv_flex_align_t value, lv_style_selector_t selector);
110 void lv_obj_set_style_flex_grow(lv_obj_t * obj, uint8_t value, lv_style_selector_t selector);
Dlv_flex.c162 void lv_obj_set_style_flex_flow(lv_obj_t * obj, lv_flex_flow_t value, lv_style_selector_t selector) in lv_obj_set_style_flex_flow() argument
167 lv_obj_set_local_style_prop(obj, LV_STYLE_FLEX_FLOW, v, selector); in lv_obj_set_style_flex_flow()
170 …_obj_set_style_flex_main_place(lv_obj_t * obj, lv_flex_align_t value, lv_style_selector_t selector) in lv_obj_set_style_flex_main_place() argument
175 lv_obj_set_local_style_prop(obj, LV_STYLE_FLEX_MAIN_PLACE, v, selector); in lv_obj_set_style_flex_main_place()
178 …obj_set_style_flex_cross_place(lv_obj_t * obj, lv_flex_align_t value, lv_style_selector_t selector) in lv_obj_set_style_flex_cross_place() argument
183 lv_obj_set_local_style_prop(obj, LV_STYLE_FLEX_CROSS_PLACE, v, selector); in lv_obj_set_style_flex_cross_place()
186 …obj_set_style_flex_track_place(lv_obj_t * obj, lv_flex_align_t value, lv_style_selector_t selector) in lv_obj_set_style_flex_track_place() argument
191 lv_obj_set_local_style_prop(obj, LV_STYLE_FLEX_TRACK_PLACE, v, selector); in lv_obj_set_style_flex_track_place()
194 void lv_obj_set_style_flex_grow(lv_obj_t * obj, uint8_t value, lv_style_selector_t selector) in lv_obj_set_style_flex_grow() argument
199 lv_obj_set_local_style_prop(obj, LV_STYLE_FLEX_GROW, v, selector); in lv_obj_set_style_flex_grow()
/lvgl-3.7.0/docs/overview/
Dstyle.md192 To add a style to an object use `lv_obj_add_style(obj, &style, <selector>)`. `<selector>` is an OR-…
209 …obj_remove_style(obj, style, selector)`. This function will remove `style` only if the `selector` …
210 `style` can be `NULL` to check only the `selector` and remove all matching styles. The `selector` c…
237 …a local property use functions like `lv_obj_set_style_<property_name>(obj, <value>, <selector>);`  
Dfont.md102 To set an object's base direction use `lv_obj_set_style_base_dir(obj, base_dir,selector)`. The pos…
/lvgl-3.7.0/docs/widgets/
Dobj.md94 A new style can be added to an object with the `lv_obj_add_style(obj, &new_style, selector)` functi…
95 `selector` is an ORed combination of part and state(s). E.g. `LV_PART_SCROLLBAR | LV_STATE_PRESSED`.