customizable watch

This commit is contained in:
galister
2024-02-05 19:54:39 +01:00
parent 0cf824388f
commit 95f587279c
8 changed files with 672 additions and 168 deletions

View File

@@ -52,11 +52,11 @@ where
data,
);
canvas.bg_color = color_parse("#101010");
canvas.bg_color = color_parse("#101010").unwrap();
canvas.panel(0., 0., size.x, size.y);
canvas.font_size = 18;
canvas.bg_color = color_parse("#202020");
canvas.bg_color = color_parse("#202020").unwrap();
let unit_size = size.x / LAYOUT.row_size;
let h = unit_size - 2. * BUTTON_PADDING;