chore: initial padel scaffold + design docs
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
33
source/garmin-padelView.mc
Normal file
33
source/garmin-padelView.mc
Normal file
@@ -0,0 +1,33 @@
|
||||
import Toybox.Graphics;
|
||||
import Toybox.WatchUi;
|
||||
|
||||
class garmin_padelView extends WatchUi.View {
|
||||
|
||||
function initialize() {
|
||||
View.initialize();
|
||||
}
|
||||
|
||||
// Load your resources here
|
||||
function onLayout(dc as Dc) as Void {
|
||||
setLayout(Rez.Layouts.MainLayout(dc));
|
||||
}
|
||||
|
||||
// Called when this View is brought to the foreground. Restore
|
||||
// the state of this View and prepare it to be shown. This includes
|
||||
// loading resources into memory.
|
||||
function onShow() as Void {
|
||||
}
|
||||
|
||||
// Update the view
|
||||
function onUpdate(dc as Dc) as Void {
|
||||
// Call the parent onUpdate function to redraw the layout
|
||||
View.onUpdate(dc);
|
||||
}
|
||||
|
||||
// Called when this View is removed from the screen. Save the
|
||||
// state of this View here. This includes freeing resources from
|
||||
// memory.
|
||||
function onHide() as Void {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user