Initial custom display SVG and display selection

This commit is contained in:
Ruben Nic
2025-06-28 11:40:46 -04:00
parent e3101749c9
commit abdd781a5d
2 changed files with 892 additions and 125 deletions

File diff suppressed because it is too large Load Diff

View File

@ -38,10 +38,22 @@ static bool tick_state;
static long tick_interval_id = -1;
watch_lcd_type_t watch_get_lcd_type(void) {
#if defined(FORCE_CUSTOM_LCD_TYPE)
return WATCH_LCD_TYPE_CUSTOM;
#else
return WATCH_LCD_TYPE_CLASSIC;
#endif
}
void watch_enable_display(void) {
EM_ASM({
#if defined(FORCE_CUSTOM_LCD_TYPE)
document.getElementById("classic").style.display = "none";
#else
document.getElementById("custom").style.display = "none";
#endif
});
watch_clear_display();
}