Searched refs:gauge (Results 1 – 11 of 11) sorted by relevance
/AliOS-Things-master/components/littlevgl/src/lv_objx/ |
A D | lv_gauge.h | 99 lv_lmeter_set_range(gauge, min, max); in lv_gauge_set_range() 109 lv_lmeter_set_value(gauge, value); in lv_gauge_set_critical_value() 132 lv_obj_set_style(gauge, style); in lv_gauge_set_style() 145 int16_t lv_gauge_get_value(const lv_obj_t * gauge, uint8_t needle); 152 uint8_t lv_gauge_get_needle_count(const lv_obj_t * gauge); 181 return lv_lmeter_get_value(gauge); in lv_gauge_get_critical_value() 189 uint8_t lv_gauge_get_label_count(const lv_obj_t * gauge); 196 static inline uint8_t lv_gauge_get_line_count(const lv_obj_t * gauge) in lv_gauge_get_line_count() argument 198 return lv_lmeter_get_line_count(gauge); in lv_gauge_get_line_count() 208 return lv_lmeter_get_scale_angle(gauge); in lv_gauge_get_scale_angle() [all …]
|
A D | lv_gauge.c | 156 lv_obj_invalidate(gauge); in lv_gauge_set_needle_count() 182 lv_obj_invalidate(gauge); in lv_gauge_set_value() 200 lv_obj_invalidate(gauge); in lv_gauge_set_scale() 276 lv_gauge_draw_scale(gauge, mask); in lv_gauge_design() 295 lv_gauge_draw_needle(gauge, mask); in lv_gauge_design() 300 ancestor_design(gauge, mask, mode); in lv_gauge_design() 318 res = ancestor_signal(gauge, sign, param); in lv_gauge_signal() 350 lv_coord_t x_ofs = lv_obj_get_width(gauge) / 2 + gauge->coords.x1; in lv_gauge_draw_scale() 351 lv_coord_t y_ofs = lv_obj_get_height(gauge) / 2 + gauge->coords.y1; in lv_gauge_draw_scale() 400 lv_coord_t x_ofs = lv_obj_get_width(gauge) / 2 + gauge->coords.x1; in lv_gauge_draw_needle() [all …]
|
/AliOS-Things-master/components/littlevgl/src/lv_themes/ |
A D | lv_theme_default.c | 196 static lv_style_t gauge; in gauge_init() local 197 lv_style_copy(&gauge, theme.style.lmeter); in gauge_init() 198 gauge.line.color = theme.style.lmeter->body.grad_color; in gauge_init() 199 gauge.line.width = 2; in gauge_init() 200 gauge.body.main_color = lv_color_hex3(0x888); in gauge_init() 201 gauge.body.grad_color = theme.style.lmeter->body.main_color; in gauge_init() 202 gauge.text.color = lv_color_hex3(0x888); in gauge_init() 204 theme.style.gauge = &gauge; in gauge_init()
|
A D | lv_theme_zen.c | 296 static lv_style_t gauge; in gauge_init() local 298 lv_style_copy(&gauge, &def); in gauge_init() 299 gauge.line.color = lv_color_hsv_to_rgb(_hue, 50, 70); in gauge_init() 300 gauge.line.width = 1; in gauge_init() 301 gauge.body.main_color = lv_color_hex3(0x999); in gauge_init() 302 gauge.body.grad_color = gauge.body.main_color; in gauge_init() 303 gauge.body.padding.left = LV_DPI / 16; in gauge_init() 304 gauge.body.padding.right = LV_DPI / 16; in gauge_init() 305 gauge.body.border.color = lv_color_hex3(0x666); /*Needle middle color*/ in gauge_init() 307 theme.style.gauge = &gauge; in gauge_init()
|
A D | lv_theme_material.c | 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() [all …]
|
A D | lv_theme.h | 123 lv_style_t * gauge; member
|
A D | lv_theme_templ.c | 162 theme.style.gauge = &def; in gauge_init()
|
A D | lv_theme_mono.c | 244 theme.style.gauge = &gauge_bg; in gauge_init()
|
A D | lv_theme_nemo.c | 393 theme.style.gauge = &gauge_bg; in gauge_init()
|
A D | lv_theme_night.c | 292 theme.style.gauge = &gauge_bg; in gauge_init()
|
A D | lv_theme_alien.c | 404 theme.style.gauge = &gauge_bg; in gauge_init()
|
Completed in 16 milliseconds