Untitled

mail@pastecode.io avatar
unknown
plain_text
5 days ago
506 B
12
Indexable
  function onUpdate(dc as Dc) as Void {
    // Draw watchface info (time, date, pressure...)
    // using:
    // View.findDrawableById
    // view.setText(value);
    drawWeather(dc);
    drawCalendar(dc);
    drawNotification(dc);
    drawSunEvent(dc);
    drawDate(dc);
    drawTime(dc);
    drawAltitude(dc);
    drawHeartRate(dc);
    drawPressure(dc);
    drawBattery(dc);

    View.onUpdate(dc);

    // Draw hearrate graph
    // using dc.fillRectangle
    drawHRgraph(dc);
  }
Leave a Comment