From 773df56883b9961b607a1994920f5ef5299423b8 Mon Sep 17 00:00:00 2001 From: cirakg Date: Sun, 18 Oct 2026 21:10:37 +0200 Subject: feat(app): add minimal watch app with smoke test and per-size icons The M0 placeholder app: AppBase entry point, home screen with name and version, debug-only diagnostics (start-up time, memory) and a unit test that runs in the headless simulator. Builds with strict type checking and zero warnings for all 72 products; icons.jungle gives every product a launcher icon of its exact size. Co-Authored-By: Claude Opus 5.5 --- source/ui/HomeDelegate.mc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 source/ui/HomeDelegate.mc (limited to 'source/ui/HomeDelegate.mc') diff --git a/source/ui/HomeDelegate.mc b/source/ui/HomeDelegate.mc new file mode 100644 index 0000000..fe23ae6 --- /dev/null +++ b/source/ui/HomeDelegate.mc @@ -0,0 +1,16 @@ +// Author: cirakg & claude ai +// Summary: Input handling for the home screen. +// +// HomeDelegate: input handling for the home screen. +// +// M0 has no actions yet. Inheriting BehaviorDelegate keeps the default +// behaviours, so BACK (button or swipe) leaves the app on every device. + +import Toybox.WatchUi; + +class HomeDelegate extends WatchUi.BehaviorDelegate { + + function initialize() { + BehaviorDelegate.initialize(); + } +} -- cgit v1.2.3