Lines Matching refs:btnm
48 lv_obj_t * btnm = lv_btnmatrix_create(lv_scr_act()); in lv_example_btnmatrix_3() local
49 lv_btnmatrix_set_map(btnm, map); in lv_example_btnmatrix_3()
50 lv_obj_add_style(btnm, &style_bg, 0); in lv_example_btnmatrix_3()
51 lv_obj_add_style(btnm, &style_btn, LV_PART_ITEMS); in lv_example_btnmatrix_3()
52 lv_obj_add_event_cb(btnm, event_cb, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_btnmatrix_3()
53 lv_obj_set_size(btnm, 225, 35); in lv_example_btnmatrix_3()
56 lv_btnmatrix_set_btn_ctrl_all(btnm, LV_BTNMATRIX_CTRL_CHECKABLE); in lv_example_btnmatrix_3()
57 lv_btnmatrix_clear_btn_ctrl(btnm, 0, LV_BTNMATRIX_CTRL_CHECKABLE); in lv_example_btnmatrix_3()
58 lv_btnmatrix_clear_btn_ctrl(btnm, 6, LV_BTNMATRIX_CTRL_CHECKABLE); in lv_example_btnmatrix_3()
60 lv_btnmatrix_set_one_checked(btnm, true); in lv_example_btnmatrix_3()
61 lv_btnmatrix_set_btn_ctrl(btnm, 1, LV_BTNMATRIX_CTRL_CHECKED); in lv_example_btnmatrix_3()
63 lv_obj_center(btnm); in lv_example_btnmatrix_3()