Initial minimal Connect IQ scaffold
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>
This commit is contained in:
commit
6f56c337f7
9 changed files with 266 additions and 0 deletions
19
source/EinsatzprotokollView.mc
Normal file
19
source/EinsatzprotokollView.mc
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue