Lines Matching refs:gauge
312 static lv_style_t gauge; in gauge_init() local
313 lv_style_copy(&gauge, &def); in gauge_init()
314 gauge.body.main_color = lv_color_hsv_to_rgb(_hue, 10, 60); in gauge_init()
315 gauge.body.grad_color = gauge.body.main_color; in gauge_init()
316 gauge.body.padding.left = LV_DPI / 16; /*Scale line length*/ in gauge_init()
317 gauge.body.padding.inner = LV_DPI / 8; in gauge_init()
318 gauge.body.border.color = lv_color_hex3(0x999); in gauge_init()
319 gauge.text.color = lv_color_hex3(0x333); in gauge_init()
320 gauge.line.width = 3; in gauge_init()
321 gauge.line.color = lv_color_hsv_to_rgb(_hue, 95, 70); in gauge_init()
323 theme.style.gauge = &gauge; in gauge_init()