Lines Matching refs:btnm
48 lv_obj_t * btnm = lv_buttonmatrix_create(lv_screen_active()); in lv_example_buttonmatrix_3() local
49 lv_buttonmatrix_set_map(btnm, map); in lv_example_buttonmatrix_3()
50 lv_obj_add_style(btnm, &style_bg, 0); in lv_example_buttonmatrix_3()
51 lv_obj_add_style(btnm, &style_btn, LV_PART_ITEMS); in lv_example_buttonmatrix_3()
52 lv_obj_add_event_cb(btnm, event_cb, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_buttonmatrix_3()
53 lv_obj_set_size(btnm, 225, 35); in lv_example_buttonmatrix_3()
56 lv_buttonmatrix_set_button_ctrl_all(btnm, LV_BUTTONMATRIX_CTRL_CHECKABLE); in lv_example_buttonmatrix_3()
57 lv_buttonmatrix_clear_button_ctrl(btnm, 0, LV_BUTTONMATRIX_CTRL_CHECKABLE); in lv_example_buttonmatrix_3()
58 lv_buttonmatrix_clear_button_ctrl(btnm, 6, LV_BUTTONMATRIX_CTRL_CHECKABLE); in lv_example_buttonmatrix_3()
60 lv_buttonmatrix_set_one_checked(btnm, true); in lv_example_buttonmatrix_3()
61 lv_buttonmatrix_set_button_ctrl(btnm, 1, LV_BUTTONMATRIX_CTRL_CHECKED); in lv_example_buttonmatrix_3()
63 lv_obj_center(btnm); in lv_example_buttonmatrix_3()