static void disc_layer_update_callback(Layer *me, GContext *ctx) { disc_draw(ctx, &disc); food_draw(ctx, &food); }
static void disc_layer_update_callback(Layer *me, GContext *ctx) { disc_draw(ctx, &discs[0]); }
static void disc_layer_update_callback(Layer *me, GContext *ctx) { for (int i = 0; i < NUM_DISCS; i++) { disc_draw(ctx, &discs[i]); } }