Home
last modified time | relevance | path

Searched refs:LV_STATE_DEFAULT (Results 1 – 11 of 11) sorted by relevance

/lvgl-3.4.0/docs/overview/
Dcoords.md196 …different position or size depending on state. E.g. 100 px wide in `LV_STATE_DEFAULT` but 120 px i…
228 lv_obj_add_style(btn1, &style_normal, LV_STATE_DEFAULT);
231 lv_obj_add_style(btn2, &style_normal, LV_STATE_DEFAULT);
234 lv_obj_add_style(btn3, &style_normal, LV_STATE_DEFAULT);
248 lv_obj_add_style(btn1, &style_normal, LV_STATE_DEFAULT);
251 lv_obj_add_style(btn2, &style_normal, LV_STATE_DEFAULT);
254 lv_obj_add_style(btn3, &style_normal, LV_STATE_DEFAULT);
293 lv_obj_add_style(obj, &style_max_height, LV_STATE_DEFAULT); //Limit the height to 200 px
303 lv_obj_add_style(obj, &style_max_height, LV_STATE_DEFAULT); //Limit the height to half parent height
Dstyle.md24 - `LV_STATE_DEFAULT` (0x0000) Normal, released state
42 … state's property will be used. Typically this means the property with `LV_STATE_DEFAULT` is used.˛
48 - `LV_STATE_DEFAULT`: white
180 - `LV_PART_MAIN | LV_STATE_DEFAULT`
182 - `LV_PART_SCROLLBAR`: The scrollbar part in the default state. `LV_STATE_DEFAULT` can be omitted.
184 - `0` Same as `LV_PART_MAIN | LV_STATE_DEFAULT`.
Ddisplay.md75 … `lv_obj_set_style_local_bg_opa(lv_scr_act(), LV_OBJMASK_PART_MAIN, LV_STATE_DEFAULT, LV_OPA_TRANS…
Dobject.md203 - `LV_STATE_DEFAULT` Normal, released state
/lvgl-3.4.0/docs/get-started/
Dquick-overview.md167 - `LV_STATE_DEFAULT` Normal, released state
211 Similarly, `LV_STATE_DEFAULT` can be omitted too:
213 …j_add_style(slider1, &style1, LV_PART_INDICATOR); /*Equal to LV_PART_INDICATOR | LV_STATE_DEFAULT*/
216 For `LV_STATE_DEFAULT` and `LV_PART_MAIN` simply write `0`:
218 lv_obj_add_style(btn1, &style1, 0); /*Equal to LV_PART_MAIN | LV_STATE_DEFAULT*/
230 If a property is not set on for the current state, the style with `LV_STATE_DEFAULT` will be used. …
/lvgl-3.4.0/tests/src/test_cases/
Dtest_switch.c46 TEST_ASSERT_EQUAL(state, LV_STATE_DEFAULT); in test_switch_should_have_default_state_after_being_created()
/lvgl-3.4.0/src/core/
Dlv_obj.h42 LV_STATE_DEFAULT = 0x0000, enumerator
/lvgl-3.4.0/src/widgets/
Dlv_table.c617 obj->state = LV_STATE_DEFAULT; in draw_main()
712 lv_state_t cell_state = LV_STATE_DEFAULT; in draw_main()
721 if(cell_state == LV_STATE_DEFAULT) { in draw_main()
Dlv_btnmatrix.c673 obj->state = LV_STATE_DEFAULT; in draw_main()
710 lv_state_t btn_state = LV_STATE_DEFAULT; in draw_main()
729 if(btn_state == LV_STATE_DEFAULT) { in draw_main()
/lvgl-3.4.0/src/extra/widgets/imgbtn/
Dlv_imgbtn.c97 lv_state_t obj_state = LV_STATE_DEFAULT; in lv_imgbtn_set_state()
/lvgl-3.4.0/demos/widgets/
Dlv_demo_widgets.py497 h.set_style_local_pad_top(lv.cont.PART_MAIN, LV_STATE_DEFAULT, 0);