Home
last modified time | relevance | path

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

/lvgl-latest/examples/widgets/label/
Dlv_example_label_5.c27 … lv_obj_add_style(label1, &label_style, LV_STATE_DEFAULT); /*Add the style to the label*/ in lv_example_label_5()
/lvgl-latest/docs/overview/
Dcoords.md192 …different position or size depending on state. E.g. 100 px wide in `LV_STATE_DEFAULT` but 120 px i…
224 lv_obj_add_style(btn1, &style_normal, LV_STATE_DEFAULT);
227 lv_obj_add_style(btn2, &style_normal, LV_STATE_DEFAULT);
230 lv_obj_add_style(btn3, &style_normal, LV_STATE_DEFAULT);
244 lv_obj_add_style(btn1, &style_normal, LV_STATE_DEFAULT);
247 lv_obj_add_style(btn2, &style_normal, LV_STATE_DEFAULT);
250 lv_obj_add_style(btn3, &style_normal, LV_STATE_DEFAULT);
289 lv_obj_add_style(obj, &style_max_height, LV_STATE_DEFAULT); //Limit the height to 200 px
299 lv_obj_add_style(obj, &style_max_height, LV_STATE_DEFAULT); //Limit the height to half parent height
Dstyle.md20 - `LV_STATE_DEFAULT` (0x0000) Normal, released state
38 … state's property will be used. Typically this means the property with `LV_STATE_DEFAULT` is used.˛
44 - `LV_STATE_DEFAULT`: white
193 - `LV_PART_MAIN | LV_STATE_DEFAULT`
195 - `LV_PART_SCROLLBAR`: The scrollbar part in the default state. `LV_STATE_DEFAULT` can be omitted.
197 - `0` Same as `LV_PART_MAIN | LV_STATE_DEFAULT`.
Dobject.md201 - `LV_STATE_DEFAULT` Normal, released state
/lvgl-latest/docs/get-started/
Dquick-overview.md163 - `LV_STATE_DEFAULT` Normal, released state
207 Similarly, `LV_STATE_DEFAULT` can be omitted too:
209 …j_add_style(slider1, &style1, LV_PART_INDICATOR); /*Equal to LV_PART_INDICATOR | LV_STATE_DEFAULT*/
212 For `LV_STATE_DEFAULT` and `LV_PART_MAIN` simply write `0`:
214 lv_obj_add_style(btn1, &style1, 0); /*Equal to LV_PART_MAIN | LV_STATE_DEFAULT*/
226 If a property is not set on for the current state, the style with `LV_STATE_DEFAULT` will be used. …
/lvgl-latest/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-latest/src/core/
Dlv_obj.h42 LV_STATE_DEFAULT = 0x0000, enumerator
/lvgl-latest/src/extra/widgets/imgbtn/
Dlv_imgbtn.c97 lv_state_t obj_state = LV_STATE_DEFAULT; in lv_imgbtn_set_state()
/lvgl-latest/src/widgets/
Dlv_btnmatrix.c711 obj->state = LV_STATE_DEFAULT; in draw_main()
748 lv_state_t btn_state = LV_STATE_DEFAULT; in draw_main()
767 if(btn_state == LV_STATE_DEFAULT) { in draw_main()
Dlv_table.c689 obj->state = LV_STATE_DEFAULT; in draw_main()
785 lv_state_t cell_state = LV_STATE_DEFAULT; in draw_main()
794 if(cell_state == LV_STATE_DEFAULT) { in draw_main()
/lvgl-latest/demos/widgets/
Dlv_demo_widgets.py497 h.set_style_local_pad_top(lv.cont.PART_MAIN, LV_STATE_DEFAULT, 0);