Home
last modified time | relevance | path

Searched refs:lmeter (Results 1 – 13 of 13) sorted by relevance

/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_lmeter.c127 lv_obj_invalidate(lmeter); in lv_lmeter_set_value()
145 lv_lmeter_set_value(lmeter, ext->cur_value); in lv_lmeter_set_range()
151 lv_obj_invalidate(lmeter); in lv_lmeter_set_range()
168 lv_obj_invalidate(lmeter); in lv_lmeter_set_scale()
259 lv_group_t * g = lv_obj_get_group(lmeter); in lv_lmeter_design()
260 if(lv_group_get_focused(g) == lmeter) { in lv_lmeter_design()
269 lv_coord_t x_ofs = lv_obj_get_width(lmeter) / 2 + lmeter->coords.x1; in lv_lmeter_design()
270 lv_coord_t y_ofs = lv_obj_get_height(lmeter) / 2 + lmeter->coords.y1; in lv_lmeter_design()
336 res = ancestor_signal(lmeter, sign, param); in lv_lmeter_signal()
342 lv_obj_refresh_ext_draw_pad(lmeter); in lv_lmeter_signal()
[all …]
A Dlv_lmeter.h73 void lv_lmeter_set_value(lv_obj_t * lmeter, int16_t value);
81 void lv_lmeter_set_range(lv_obj_t * lmeter, int16_t min, int16_t max);
89 void lv_lmeter_set_scale(lv_obj_t * lmeter, uint16_t angle, uint8_t line_cnt);
97 static inline void lv_lmeter_set_style(lv_obj_t * lmeter, lv_lmeter_style_t type, lv_style_t * styl… in lv_lmeter_set_style() argument
100 lv_obj_set_style(lmeter, style); in lv_lmeter_set_style()
112 int16_t lv_lmeter_get_value(const lv_obj_t * lmeter);
119 int16_t lv_lmeter_get_min_value(const lv_obj_t * lmeter);
126 int16_t lv_lmeter_get_max_value(const lv_obj_t * lmeter);
133 uint8_t lv_lmeter_get_line_count(const lv_obj_t * lmeter);
140 uint16_t lv_lmeter_get_scale_angle(const lv_obj_t * lmeter);
[all …]
A Dlv_gauge.h45 lv_lmeter_ext_t lmeter; /*Ext. of ancestor*/ member
159 static inline int16_t lv_gauge_get_min_value(const lv_obj_t * lmeter) in lv_gauge_get_min_value() argument
161 return lv_lmeter_get_min_value(lmeter); in lv_gauge_get_min_value()
169 static inline int16_t lv_gauge_get_max_value(const lv_obj_t * lmeter) in lv_gauge_get_max_value() argument
171 return lv_lmeter_get_max_value(lmeter); in lv_gauge_get_max_value()
A Dlv_gauge.c279 uint16_t line_cnt_tmp = ext->lmeter.line_cnt; in lv_gauge_design()
285 ext->lmeter.line_cnt = ext->label_count; /*Only to labels*/ in lv_gauge_design()
292 ext->lmeter.line_cnt = line_cnt_tmp; /*Restore the parameters*/ in lv_gauge_design()
/AliOS-Things-master/components/littlevgl/src/lv_themes/
A Dlv_theme_default.c182 static lv_style_t lmeter; in lmeter_init() local
183 lv_style_copy(&lmeter, &lv_style_pretty_color); in lmeter_init()
184 lmeter.line.color = lv_color_hex3(0xddd); in lmeter_init()
185 lmeter.line.width = 2; in lmeter_init()
186 lmeter.body.main_color = lv_color_mix(lmeter.body.main_color, LV_COLOR_WHITE, LV_OPA_50); in lmeter_init()
187 lmeter.body.grad_color = lv_color_mix(lmeter.body.grad_color, LV_COLOR_BLACK, LV_OPA_50); in lmeter_init()
189 theme.style.lmeter = &lmeter; in lmeter_init()
197 lv_style_copy(&gauge, theme.style.lmeter); in gauge_init()
198 gauge.line.color = theme.style.lmeter->body.grad_color; in gauge_init()
201 gauge.body.grad_color = theme.style.lmeter->body.main_color; in gauge_init()
A Dlv_theme_zen.c279 static lv_style_t lmeter; in lmeter_init() local
281 lv_style_copy(&lmeter, &def); in lmeter_init()
282 lmeter.line.color = lv_color_hex3(0xddd); in lmeter_init()
283 lmeter.line.width = 2; in lmeter_init()
284 lmeter.body.main_color = lv_color_hsv_to_rgb(_hue, 80, 70); in lmeter_init()
285 lmeter.body.grad_color = lmeter.body.main_color; in lmeter_init()
286 lmeter.body.padding.left = LV_DPI / 8; in lmeter_init()
287 lmeter.body.padding.right = LV_DPI / 8; in lmeter_init()
289 theme.style.lmeter = &lmeter; in lmeter_init()
A Dlv_theme_material.c296 static lv_style_t lmeter; in lmeter_init() local
297 lv_style_copy(&lmeter, &def); in lmeter_init()
298 lmeter.body.main_color = lv_color_hsv_to_rgb(_hue, 75, 90); in lmeter_init()
299 lmeter.body.grad_color = lmeter.body.main_color; in lmeter_init()
300 lmeter.body.padding.left = LV_DPI / 10; /*Scale line length*/ in lmeter_init()
301 lmeter.line.color = lv_color_hex3(0x999); in lmeter_init()
302 lmeter.line.width = 2; in lmeter_init()
304 theme.style.lmeter = &lmeter; in lmeter_init()
A Dlv_theme.h119 lv_style_t * lmeter; member
A Dlv_theme_mono.c232 theme.style.lmeter = &lmeter_bg; in lmeter_init()
240 lv_style_copy(&gauge_bg, theme.style.lmeter); in gauge_init()
A Dlv_theme_templ.c154 theme.style.lmeter = &def; in lmeter_init()
A Dlv_theme_nemo.c370 theme.style.lmeter = &lmeter_bg; in lmeter_init()
A Dlv_theme_night.c277 theme.style.lmeter = &lmeter_bg; in lmeter_init()
A Dlv_theme_alien.c381 theme.style.lmeter = &lmeter_bg; in lmeter_init()

Completed in 24 milliseconds