fix warning
This commit is contained in:
committed by
Raphael Coeffic
parent
78f6adb6ea
commit
79a2c3e28a
+1
-1
@@ -138,7 +138,7 @@ class Window
|
||||
auto textColor = COLOR_VAL(flags);
|
||||
auto r = GET_RED(textColor), g = GET_GREEN(textColor), b = GET_BLUE(textColor);
|
||||
lv_obj_set_style_text_color(lvobj, lv_color_make(r, g, b), LV_PART_MAIN);
|
||||
for (auto i = 0; i < lv_obj_get_child_cnt(lvobj); i++) {
|
||||
for (uint32_t i = 0; i < lv_obj_get_child_cnt(lvobj); i++) {
|
||||
auto child = lv_obj_get_child(lvobj, i);
|
||||
lv_obj_set_style_text_color(child, lv_color_make(r, g, b), LV_PART_MAIN);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user