Browse code

white on black for speed layer

Louis authored on02/10/2022 21:37:30
Showing2 changed files
1 1
Binary files a/build/bike_companion.pbw and b/build/bike_companion.pbw differ
... ...
@@ -64,8 +64,8 @@ static void prv_window_load(Window *window) {
64 64
 
65 65
   s_speed_text_layer = text_layer_create(GRect(0, 0, bounds.size.w, bounds.size.h/2));
66 66
   
67
-  text_layer_set_background_color(s_speed_text_layer, GColorClear);
68
-  text_layer_set_text_color(s_speed_text_layer, PBL_IF_COLOR_ELSE(GColorWhite, GColorBlack));
67
+  text_layer_set_background_color(s_speed_text_layer, GColorBlack);
68
+  text_layer_set_text_color(s_speed_text_layer, GColorWhite);
69 69
   text_layer_set_font(s_speed_text_layer, fonts_get_system_font(FONT_KEY_BITHAM_42_BOLD));
70 70
   text_layer_set_text_alignment(s_speed_text_layer, GTextAlignmentCenter);
71 71
   text_layer_set_text(s_speed_text_layer, "Press a button");
... ...
@@ -75,7 +75,7 @@ static void prv_window_load(Window *window) {
75 75
   s_other_text_layer = text_layer_create(GRect(0, bounds.size.h/2,bounds.size.w, bounds.size.h/2));
76 76
   
77 77
   text_layer_set_background_color(s_other_text_layer, GColorClear);
78
-  text_layer_set_text_color(s_other_text_layer, PBL_IF_COLOR_ELSE(GColorWhite, GColorBlack));
78
+  text_layer_set_text_color(s_other_text_layer, GColorBlack);
79 79
   text_layer_set_font(s_other_text_layer, fonts_get_system_font(FONT_KEY_GOTHIC_14));
80 80
   text_layer_set_text_alignment(s_other_text_layer, GTextAlignmentCenter);
81 81
   text_layer_set_text(s_other_text_layer, "Press a button");