Skip to content

Commit 2a1524f

Browse files
author
Jamie C. Driver
committed
ui: add text to telec legal page for Japan compliance
1 parent 180e594 commit 2a1524f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

main/ui/dashboard.c

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -749,11 +749,18 @@ static void make_legal_page(link_activity_t* page_act, int legal_page)
749749
}
750750
#if defined(CONFIG_BOARD_TYPE_JADE_V1_1) || defined(CONFIG_BOARD_TYPE_JADE_V2)
751751
case 6: {
752+
gui_view_node_t* vsplit;
753+
gui_make_vsplit(&vsplit, GUI_SPLIT_RELATIVE, 2, 80, 20);
754+
gui_set_parent(vsplit, parent);
755+
752756
Picture* const pic = get_picture(telecstart, telecend);
753757
gui_make_picture(&node, pic);
754-
gui_set_parent(node, parent);
758+
gui_set_parent(node, vsplit);
759+
gui_set_align(node, GUI_ALIGN_CENTER, GUI_ALIGN_MIDDLE);
760+
761+
gui_make_text(&node, "211-210802", TFT_WHITE);
762+
gui_set_parent(node, vsplit);
755763
gui_set_align(node, GUI_ALIGN_CENTER, GUI_ALIGN_MIDDLE);
756-
gui_set_padding(node, GUI_MARGIN_ALL_EQUAL, 12);
757764
break;
758765
}
759766
#endif

0 commit comments

Comments
 (0)