Flow status text (useful for round support)

This commit is contained in:
RandyTheSilly committed 2026-11-01 14:21:10 -05:00
1 parent 1413070333
commit d070bfae6d
1 file changed
+3
+3
View File
@@ -82,6 +82,8 @@ static const uint8_t s_edge_bar_height = ((PBL_DISPLAY_HEIGHT / 7) * 2);
static const GRect s_top_bar_grect = GRect(0, 0, PBL_DISPLAY_WIDTH, s_edge_bar_height);
static const GRect s_bottom_bar_grect = GRect(0, PBL_DISPLAY_HEIGHT - s_edge_bar_height, PBL_DISPLAY_WIDTH, s_edge_bar_height);
static const GColor s_primary_color = GColorJaegerGreen;
//// status
#define STATUS_TEXT_INSET 3
//// alarm
#define MAX_SECS_WITHOUT_INPUT 10
#define SHAKE_COOLDOWN_SECS 2
@@ -156,6 +158,7 @@ static void status_window_load(StatusWindowPurpose purpose) {
text_layer_set_text_alignment(s_status_txt_layer, GTextAlignmentCenter);
layer_add_child(window_layer, text_layer_get_layer(s_status_txt_layer));
text_layer_enable_screen_text_flow_and_paging(s_status_txt_layer, STATUS_TEXT_INSET);
}
static void status_window_unload() {