run clang-formatter
This commit is contained in:
@@ -76,12 +76,11 @@ static void basic_init(void)
|
||||
def.image.intense = LV_OPA_TRANSP;
|
||||
def.image.opa = LV_OPA_COVER;
|
||||
|
||||
|
||||
lv_style_copy(&scr, &light_plain);
|
||||
scr.body.padding.bottom = 0;
|
||||
scr.body.padding.top = 0;
|
||||
scr.body.padding.left = 0;
|
||||
scr.body.padding.right = 0;
|
||||
scr.body.padding.top = 0;
|
||||
scr.body.padding.left = 0;
|
||||
scr.body.padding.right = 0;
|
||||
|
||||
lv_style_copy(&light_plain, &def);
|
||||
|
||||
@@ -100,7 +99,7 @@ static void basic_init(void)
|
||||
dark_frame.body.radius = LV_DPI / 20;
|
||||
|
||||
theme.style.bg = &def;
|
||||
theme.style.scr = &scr;
|
||||
theme.style.scr = &scr;
|
||||
theme.style.panel = &light_frame;
|
||||
}
|
||||
|
||||
@@ -401,12 +400,12 @@ static void win_init(void)
|
||||
win_header.body.padding.top = LV_DPI / 30;
|
||||
win_header.body.padding.bottom = LV_DPI / 30;
|
||||
|
||||
theme.style.win.bg = &light_frame;
|
||||
theme.style.win.sb = &dark_frame;
|
||||
theme.style.win.header = &win_header;
|
||||
theme.style.win.bg = &light_frame;
|
||||
theme.style.win.sb = &dark_frame;
|
||||
theme.style.win.header = &win_header;
|
||||
theme.style.win.content = &lv_style_transp;
|
||||
theme.style.win.btn.rel = &light_frame;
|
||||
theme.style.win.btn.pr = &dark_frame;
|
||||
theme.style.win.btn.rel = &light_frame;
|
||||
theme.style.win.btn.pr = &dark_frame;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user