summaryrefslogtreecommitdiff
path: root/source/ui/HomeDelegate.mc
diff options
context:
space:
mode:
authorcirakg <cirakg@cirakg.xyz>2026-10-18 21:10:37 +0200
committercirakg <cirakg@cirakg.xyz>2026-10-18 21:10:37 +0200
commit773df56883b9961b607a1994920f5ef5299423b8 (patch)
treee813e8f975e3cfa7a992222e5bf63ef615469916 /source/ui/HomeDelegate.mc
parent2292bf700d28ade39cf2d64b45509e6db21034bc (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'source/ui/HomeDelegate.mc')
-rw-r--r--source/ui/HomeDelegate.mc16
1 files changed, 16 insertions, 0 deletions
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();
+ }
+}