Verifies the toolchain: builds and runs on fenix7 simulator and Forerunner 265 hardware. No features yet — empty view rendering "Einsatzprotokoll" on black background. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
19 lines
534 B
MonkeyC
19 lines
534 B
MonkeyC
import Toybox.Graphics;
|
|
import Toybox.Lang;
|
|
import Toybox.WatchUi;
|
|
|
|
class EinsatzprotokollView extends WatchUi.View {
|
|
|
|
function initialize() {
|
|
View.initialize();
|
|
}
|
|
|
|
function onUpdate(dc as Dc) as Void {
|
|
dc.setColor(Graphics.COLOR_WHITE, Graphics.COLOR_BLACK);
|
|
dc.clear();
|
|
var cx = dc.getWidth() / 2;
|
|
var cy = dc.getHeight() / 2;
|
|
dc.drawText(cx, cy, Graphics.FONT_MEDIUM, "Einsatzprotokoll",
|
|
Graphics.TEXT_JUSTIFY_CENTER | Graphics.TEXT_JUSTIFY_VCENTER);
|
|
}
|
|
}
|