simplify log and mt_tweak_color

This commit is contained in:
Krzosa Karol
2025-01-20 09:03:57 +01:00
parent ac2763f87b
commit 63cc0d92f1
8 changed files with 68 additions and 212 deletions

View File

@@ -610,6 +610,12 @@ fn void ui_demo_update(app_frame_t *frame) {
}
} else_is_invalid;
}
ui_serial_subtype(&primary_color_global, type(v4f32_t), s8_lit("primary_color_global"));
ui_serial_subtype(&secondary_color_global, type(v4f32_t), s8_lit("secondary_color_global"));
ui_serial_subtype(&accent1_color_global, type(v4f32_t), s8_lit("accent1_color_global"));
ui_serial_subtype(&accent2_color_global, type(v4f32_t), s8_lit("accent2_color_global"));
ui_serial_subtype(&white_color_global, type(v4f32_t), s8_lit("white_color_global"));
ui_serial_subtype(&black_color_global, type(v4f32_t), s8_lit("black_color_global"));
ui_serial_type(&ui_test_event, type(app_event_t));
ui_expander("app_event_t") {
for (int i = 0; i < 2; i += 1) {