Lines Matching refs:indicator_style
41 static lv_style_t indicator_style; in test_scale_render_example_2() local
42 lv_style_init(&indicator_style); in test_scale_render_example_2()
45 lv_style_set_text_font(&indicator_style, &lv_font_montserrat_14); in test_scale_render_example_2()
46 lv_style_set_text_color(&indicator_style, lv_palette_darken(LV_PALETTE_BLUE, 3)); in test_scale_render_example_2()
49 lv_style_set_line_color(&indicator_style, lv_palette_darken(LV_PALETTE_BLUE, 3)); in test_scale_render_example_2()
50 lv_style_set_width(&indicator_style, 10U); /*Tick length*/ in test_scale_render_example_2()
51 lv_style_set_line_width(&indicator_style, 2U); /*Tick width*/ in test_scale_render_example_2()
114 lv_obj_add_style(scale, &indicator_style, LV_PART_INDICATOR); in test_scale_render_example_2()
185 static lv_style_t indicator_style; in test_scale_render_example_4() local
186 lv_style_init(&indicator_style); in test_scale_render_example_4()
189 lv_style_set_text_font(&indicator_style, &lv_font_montserrat_14); in test_scale_render_example_4()
190 lv_style_set_text_color(&indicator_style, lv_palette_darken(LV_PALETTE_BLUE, 3)); in test_scale_render_example_4()
193 lv_style_set_line_color(&indicator_style, lv_palette_darken(LV_PALETTE_BLUE, 3)); in test_scale_render_example_4()
194 lv_style_set_width(&indicator_style, 10U); /*Tick length*/ in test_scale_render_example_4()
195 lv_style_set_line_width(&indicator_style, 2U); /*Tick width*/ in test_scale_render_example_4()
196 lv_obj_add_style(scale, &indicator_style, LV_PART_INDICATOR); in test_scale_render_example_4()
328 TEST_ASSERT_NULL(section->indicator_style); in test_scale_set_style()
335 TEST_ASSERT_NOT_NULL(section->indicator_style); in test_scale_set_style()
339 TEST_ASSERT_EQUAL(section->indicator_style, §ion_label_style); in test_scale_set_style()
343 TEST_ASSERT_NOT_NULL(section->indicator_style); in test_scale_set_style()
347 TEST_ASSERT_EQUAL(section->indicator_style, §ion_label_style); in test_scale_set_style()
353 TEST_ASSERT_NOT_NULL(section->indicator_style); in test_scale_set_style()
357 TEST_ASSERT_EQUAL(section->indicator_style, §ion_label_style); in test_scale_set_style()