Add gabbro+chalk support (lol please don't use on chalk - this will be disabled eventually)
This commit is contained in:
@@ -7,7 +7,13 @@ static BitmapLayer *s_time_mg_layers[4];
|
||||
static BitmapLayer *s_time_fg_layers[4];
|
||||
static const uint8_t s_x_r = (PBL_DISPLAY_WIDTH / 2) + 2;
|
||||
static const uint8_t s_x_l = (s_x_r - 2 * (69 / 2)) - 5;
|
||||
#if PBL_DISPLAY_HEIGHT == 260
|
||||
static const GRect s_time_grects[4] = {GRect(s_x_l, 18, 69, 110), GRect(s_x_r, 18, 69, 110), GRect(s_x_l, 132, 69, 110), GRect(s_x_r, 132, 69, 110)};
|
||||
#elif PBL_DISPLAY_HEIGHT == 180
|
||||
static const GRect s_time_grects[4] = {GRect(s_x_l, -22, 69, 110), GRect(s_x_r, -22, 69, 110), GRect(s_x_l, 92, 69, 110), GRect(s_x_r, 92, 69, 110)};
|
||||
#else
|
||||
static const GRect s_time_grects[4] = {GRect(s_x_l, 2, 69, 110), GRect(s_x_r, 2, 69, 110), GRect(s_x_l, 116, 69, 110), GRect(s_x_r, 116, 69, 110)};
|
||||
#endif
|
||||
|
||||
// persist statics&defines
|
||||
static GColor8 s_led_color;
|
||||
|
||||
Reference in New Issue
Block a user