This commit is contained in:
kejaro committed 2026-09-29 15:27:22 +01:00
commit 13f4132d3c
58 files changed
+6291

No files matched your search

+170
View File
@@ -0,0 +1,170 @@
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Lang,1,14,18]; ]
import Toybox.Lang;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 2; @symbol_usingdef<0> = [Toybox,2,6,12]; @symbol_usingdef<1> = [WatchUi,2,13,20]; ]
using Toybox.WatchUi;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 3; @symbol_usingdef<0> = [Toybox,3,6,12]; @symbol_usingdef<1> = [WatchUi,3,13,20]; @symbol_usingAlias = [Ui,3,24,26]; ]
using Toybox.WatchUi as :Ui;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 4; @symbol_usingdef<0> = [Toybox,4,6,12]; @symbol_usingdef<1> = [Graphics,4,13,21]; ]
using Toybox.Graphics;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 5; @symbol_usingdef<0> = [Toybox,5,6,12]; @symbol_usingdef<1> = [Graphics,5,13,21]; @symbol_usingAlias = [Gfx,5,25,28]; ]
using Toybox.Graphics as :Gfx;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 7; @symbol_moduledef = [Rez,7,7,10]; ]
module Rez {
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 7; ]
<init> {
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 8; @symbol_moduledef = [Drawables,8,11,20]; ]
module Drawables {
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 8; ]
<init> {
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 9; @position = 27; initialized = true; @symbol_vardef = [greenCard,9,27,36]; @symbol_type<0> = [ResourceId,9,40,50]; ]
var greenCard as ResourceId;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 10; @position = 27; initialized = true; @symbol_vardef = [redCard,10,27,34]; @symbol_type<0> = [ResourceId,10,38,48]; ]
var redCard as ResourceId;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 11; @position = 27; initialized = true; @symbol_vardef = [yellowCard,11,27,37]; @symbol_type<0> = [ResourceId,11,41,51]; ]
var yellowCard as ResourceId;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 12; @position = 27; initialized = true; @symbol_vardef = [pause,12,27,32]; @symbol_type<0> = [ResourceId,12,36,46]; ]
var pause as ResourceId;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 13; @position = 27; initialized = true; @symbol_vardef = [play,13,27,31]; @symbol_type<0> = [ResourceId,13,35,45]; ]
var play as ResourceId;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 14; @position = 27; initialized = true; @symbol_vardef = [plus,14,27,31]; @symbol_type<0> = [ResourceId,14,35,45]; ]
var plus as ResourceId;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 15; @position = 27; initialized = true; @symbol_vardef = [launcherIcon,15,27,39]; @symbol_type<0> = [ResourceId,15,43,53]; ]
var launcherIcon as ResourceId;
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 18; @symbol_moduledef = [Fonts,18,11,16]; ]
module Fonts {
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 18; ]
<init> {
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 19; @position = 27; initialized = true; @symbol_vardef = [SevenSegment,19,27,39]; @symbol_type<0> = [ResourceId,19,43,53]; ]
var SevenSegment as ResourceId;
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 22; @symbol_moduledef = [Layouts,22,11,18]; ]
module Layouts {
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 22; ]
<init> {
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 23; @symbol_functiondef = [MainLayout,23,17,27]; @symbol_param<0> = [dc,23,28,30]; @symbol_param<0>_type<0> = [Graphics,23,34,42]; @symbol_param<0>_type<1> = [Dc,23,43,45]; @symbol_return<0> = [Array,23,50,55]; @symbol_return<1> = [WatchUi,23,56,63]; @symbol_return<2> = [Drawable,23,64,72]; ]
function MainLayout(dc as Graphics.Dc) as Array<WatchUi.Drawable> {
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_bin_gen_006_B2988_00_source_Rez_mcgen_23_74_28_8_start:
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen" 24 12 ]
[ "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_bin_gen_006_B2988_00_source_Rez_mcgen_23_74_28_8_start" "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_bin_gen_006_B2988_00_source_Rez_mcgen_23_74_28_8_stop" ]
%local_Rez_Fonts_SevenSegment.1 = local;
symbol [ local_Rez_Fonts_SevenSegment %local_Rez_Fonts_SevenSegment.1 24 16 44 ];
symbol [ WatchUi %tmp.1 24 48 55 ];
%tmp.1 = getm $.Toybox.WatchUi;
symbol [ loadResource %tmp.2 24 56 68 ];
%tmp.2 = getv function %tmp.1 :loadResource;
symbol [ $ %tmp.3 24 69 70 ];
%tmp.3 = getm $;
symbol [ Rez %tmp.4 24 71 74 ];
%tmp.4 = getv %tmp.3 :Rez;
symbol [ Fonts %tmp.5 24 75 80 ];
%tmp.5 = getv %tmp.4 :Fonts;
symbol [ SevenSegment %tmp.6 24 81 93 ];
%tmp.6 = getv %tmp.5 :SevenSegment;
%tmp.7 = invoke %tmp.1 %tmp.2(%tmp.6);
%tmp.8 = as %tmp.7 WatchUi.FontResource;
symbol [ WatchUi %tmp.8 24 98 105 ];
symbol [ FontResource %tmp.8 24 106 118 ];
lputv %local_Rez_Fonts_SevenSegment.1 %tmp.8;
symbol [ local_Rez_Fonts_SevenSegment %local_Rez_Fonts_SevenSegment.1 24 16 44 ];
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen" 25 12 ]
[ "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_bin_gen_006_B2988_00_source_Rez_mcgen_23_74_28_8_start" "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_bin_gen_006_B2988_00_source_Rez_mcgen_23_74_28_8_stop" ]
%rez_cmp_local_text_1193959466.2 = local;
symbol [ rez_cmp_local_text_1193959466 %rez_cmp_local_text_1193959466.2 25 16 45 ];
symbol [ WatchUi %tmp.11 25 52 59 ];
%tmp.11 = getm $.Toybox.WatchUi;
symbol [ Text %tmp.12 25 60 64 ];
%tmp.12 = getv function ? %tmp.11 :Text;
%tmp.13 = newd 6;
%tmp.15 = const :color;
symbol [ color %tmp.15 25 67 72 const ];
symbol [ Graphics %tmp.16 25 74 82 ];
%tmp.16 = getm $.Toybox.Graphics;
symbol [ COLOR_WHITE %tmp.17 25 83 94 ];
%tmp.17 = getv %tmp.16 :COLOR_WHITE;
%tmp.18 = dup %tmp.13;
%tmp.19 = aputv %tmp.18 %tmp.15 %tmp.17;
%tmp.21 = const :locX;
symbol [ locX %tmp.21 25 97 101 const ];
%tmp.22 = lgetv %dc;
symbol [ dc %tmp.22 25 104 106 ];
symbol [ getWidth %tmp.23 25 107 115 ];
%tmp.23 = getv function %tmp.22 :getWidth;
%tmp.24 = invoke %tmp.22 %tmp.23();
%tmp.25 = 0.5;
%tmp.26 = mul %tmp.24 %tmp.25;
%tmp.27 = dup %tmp.19;
%tmp.28 = aputv %tmp.27 %tmp.21 %tmp.26;
%tmp.30 = const :locY;
symbol [ locY %tmp.30 25 127 131 const ];
%tmp.31 = lgetv %dc;
symbol [ dc %tmp.31 25 135 137 ];
symbol [ getHeight %tmp.32 25 138 147 ];
%tmp.32 = getv function %tmp.31 :getHeight;
%tmp.33 = invoke %tmp.31 %tmp.32();
%tmp.34 = 94;
%tmp.35 = sub %tmp.33 %tmp.34;
%tmp.36 = 0.5;
%tmp.37 = mul %tmp.35 %tmp.36;
%tmp.38 = dup %tmp.28;
%tmp.39 = aputv %tmp.38 %tmp.30 %tmp.37;
%tmp.41 = const :text;
symbol [ text %tmp.41 25 165 169 const ];
symbol [ $ %tmp.42 25 171 172 ];
%tmp.42 = getm $;
symbol [ Rez %tmp.43 25 173 176 ];
%tmp.43 = getv %tmp.42 :Rez;
symbol [ Strings %tmp.44 25 177 184 ];
%tmp.44 = getv %tmp.43 :Strings;
symbol [ timer %tmp.45 25 185 190 ];
%tmp.45 = getv %tmp.44 :timer;
%tmp.46 = dup %tmp.39;
%tmp.47 = aputv %tmp.46 %tmp.41 %tmp.45;
%tmp.49 = const :justification;
symbol [ justification %tmp.49 25 193 206 const ];
symbol [ Graphics %tmp.50 25 208 216 ];
%tmp.50 = getm $.Toybox.Graphics;
symbol [ TEXT_JUSTIFY_CENTER %tmp.51 25 217 236 ];
%tmp.51 = getv %tmp.50 :TEXT_JUSTIFY_CENTER;
%tmp.52 = dup %tmp.47;
%tmp.53 = aputv %tmp.52 %tmp.49 %tmp.51;
%tmp.55 = const :font;
symbol [ font %tmp.55 25 239 243 const ];
%tmp.56 = lgetv %local_Rez_Fonts_SevenSegment.1;
symbol [ local_Rez_Fonts_SevenSegment %tmp.56 25 245 273 ];
%tmp.57 = dup %tmp.53;
%tmp.58 = aputv %tmp.57 %tmp.55 %tmp.56;
%tmp.9 = newc %tmp.12 (%tmp.58);
lputv %rez_cmp_local_text_1193959466.2 %tmp.9;
symbol [ rez_cmp_local_text_1193959466 %rez_cmp_local_text_1193959466.2 25 16 45 ];
[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen" 27 12 ]
%tmp.59 = newa 1 Array<WatchUi.Drawable>;
symbol [ Array %tmp.59 27 54 59 ];
symbol [ WatchUi %tmp.59 27 60 67 ];
symbol [ Drawable %tmp.59 27 68 76 ];
%tmp.60 = lgetv %rez_cmp_local_text_1193959466.2;
symbol [ rez_cmp_local_text_1193959466 %tmp.60 27 20 49 ];
%tmp.61 = dup %tmp.59;
%tmp.62 = aputv %tmp.61 0 %tmp.60;
ret %tmp.62;
_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_bin_gen_006_B2988_00_source_Rez_mcgen_23_74_28_8_stop:
}
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 31; @symbol_moduledef = [Strings,31,11,18]; ]
module Strings {
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 31; ]
<init> {
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 32; @position = 27; initialized = true; @symbol_vardef = [timer,32,27,32]; @symbol_type<0> = [ResourceId,32,36,46]; ]
var timer as ResourceId;
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 33; @position = 27; initialized = true; @symbol_vardef = [AppName,33,27,34]; @symbol_type<0> = [ResourceId,33,38,48]; ]
var AppName as ResourceId;
}
}
[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/bin/gen/006-B2988-00/source/Rez.mcgen"; @line = 1; ]
<init> {
}