commit 13f4132d3ca97c3e1c7e0b63434151cdf3633d3c Author: kejaro Date: Tue Sep 29 15:27:22 2026 +0100 init diff --git a/bin/gen/006-B2988-00/source/Rez.mcgen b/bin/gen/006-B2988-00/source/Rez.mcgen new file mode 100644 index 0000000..4601d55 --- /dev/null +++ b/bin/gen/006-B2988-00/source/Rez.mcgen @@ -0,0 +1,35 @@ +import Toybox.Lang; +using Toybox.WatchUi; +using Toybox.WatchUi as Ui; +using Toybox.Graphics; +using Toybox.Graphics as Gfx; + +module Rez { + module Drawables { + (:initialized) var greenCard as ResourceId; + (:initialized) var redCard as ResourceId; + (:initialized) var yellowCard as ResourceId; + (:initialized) var pause as ResourceId; + (:initialized) var play as ResourceId; + (:initialized) var plus as ResourceId; + (:initialized) var launcherIcon as ResourceId; + } // Drawables + + module Fonts { + (:initialized) var SevenSegment as ResourceId; + } // Fonts + + module Layouts { + function MainLayout(dc as Graphics.Dc) as Array { + var local_Rez_Fonts_SevenSegment = (WatchUi.loadResource($.Rez.Fonts.SevenSegment) as WatchUi.FontResource); + var rez_cmp_local_text_1193959466 = new WatchUi.Text({:color=>Graphics.COLOR_WHITE, :locX=>(dc.getWidth() * 0.5), :locY=>((dc.getHeight() - 94) * 0.5), :text=>$.Rez.Strings.timer, :justification=>Graphics.TEXT_JUSTIFY_CENTER, :font=>local_Rez_Fonts_SevenSegment}); + + return [rez_cmp_local_text_1193959466] as Array; + } + } // Layouts + + module Strings { + (:initialized) var timer as ResourceId; + (:initialized) var AppName as ResourceId; + } // Strings +} // Rez diff --git a/bin/gen/006-B4586-00/source/Rez.mcgen b/bin/gen/006-B4586-00/source/Rez.mcgen new file mode 100644 index 0000000..87ddd56 --- /dev/null +++ b/bin/gen/006-B4586-00/source/Rez.mcgen @@ -0,0 +1,660 @@ +import Toybox.Lang; +using Toybox.WatchUi; +using Toybox.WatchUi as Ui; +using Toybox.Graphics; +using Toybox.Graphics as Gfx; + +module Rez { + module Drawables { + (:initialized) var greenCard as ResourceId; + (:initialized) var redCard as ResourceId; + (:initialized) var yellowCard as ResourceId; + (:initialized) var pause as ResourceId; + (:initialized) var play as ResourceId; + (:initialized) var plus as ResourceId; + (:initialized) var launcherIcon as ResourceId; + } // Drawables + + module Fonts { + (:initialized) var SevenSegment as ResourceId; + } // Fonts + + module Layouts { + function MainLayout(dc as Graphics.Dc) as Array { + var local_Rez_Fonts_SevenSegment = (WatchUi.loadResource($.Rez.Fonts.SevenSegment) as Graphics.FontReference); + var rez_cmp_local_text_1193959466 = new WatchUi.Text({:color=>Graphics.COLOR_WHITE, :locX=>(dc.getWidth() * 0.5), :locY=>((dc.getHeight() - 94) * 0.5), :text=>$.Rez.Strings.timer, :justification=>Graphics.TEXT_JUSTIFY_CENTER, :font=>local_Rez_Fonts_SevenSegment}); + + return [rez_cmp_local_text_1193959466] as Array; + } + } // Layouts + + module Strings { + (:initialized) var timer as ResourceId; + (:initialized) var AppName as ResourceId; + } // Strings + + module Styles { + module prompt_font_enhanced_readability__body_with_title { + const exclude as Boolean = true; + } // prompt_font_enhanced_readability__body_with_title + + module system_size__menu_header { + const width as Number = 390; + const height as Number = 140; + } // system_size__menu_header + + module system_loc__hint_button_left_bottom { + const x as Number = 0; + const y as Number = 254; + } // system_loc__hint_button_left_bottom + + module prompt_font_enhanced_readability__body_no_title { + const exclude as Boolean = true; + } // prompt_font_enhanced_readability__body_no_title + + module prompt_loc__body_no_title { + const x as Number = 39; + const y as Number = 39; + } // prompt_loc__body_no_title + + module system_icon_dark__about { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__about.svg"; + const compress as String = "true"; + const dithering as String = "none"; + const automaticPalette as String = "true"; + } // system_icon_dark__about + + module system_icon_light__question { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__question.svg"; + const dithering as String = "none"; + } // system_icon_light__question + + module system_loc__hint_button_left_top { + const x as Number = 0; + const y as Number = 69; + } // system_loc__hint_button_left_top + + module prompt_font__title { + const justification = Graphics.TEXT_JUSTIFY_CENTER|Graphics.TEXT_JUSTIFY_VCENTER; + const font = Graphics.FONT_XTINY; + } // prompt_font__title + + module system_icon_dark__discard { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__discard.svg"; + const compress as String = "true"; + const dithering as String = "none"; + const automaticPalette as String = "true"; + } // system_icon_dark__discard + + module system_size__menu_item { + const width as Number = 390; + const height as Number = 116; + } // system_size__menu_item + + module system_color_dark__text { + const color as Number = 0xFFFFFF; + const background = Graphics.COLOR_TRANSPARENT; + } // system_color_dark__text + + module system_icon_destructive__discard { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_destructive__discard.svg"; + const dithering as String = "none"; + } // system_icon_destructive__discard + + module system_icon_dark__hint_action_menu { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__hint_button_right_top.svg"; + const dithering as String = "none"; + const automaticPalette as Boolean = true; + } // system_icon_dark__hint_action_menu + + module prompt_size__title { + const width as Number = 312; + const height as Number = 59; + } // prompt_size__title + + module confirmation_font__body { + const justification = Graphics.TEXT_JUSTIFY_CENTER|Graphics.TEXT_JUSTIFY_VCENTER; + const font = Graphics.FONT_TINY; + } // confirmation_font__body + + module system_color_dark__background { + const color as Number = 0x000000; + const background as Number = 0x000000; + } // system_color_dark__background + + module system_icon_destructive__hint_button_left_top { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_destructive__hint_button_left_top.svg"; + const dithering as String = "none"; + } // system_icon_destructive__hint_button_left_top + + module system_size__launch_icon { + const scaleX as Number = 60; + const scaleY as Number = 60; + const scaleRelativeTo as String = "screen"; + } // system_size__launch_icon + + module confirmation_input__confirm { + const button = WatchUi.KEY_ENTER; + } // confirmation_input__confirm + + module prompt_font__body_with_title { + const justification = Graphics.TEXT_JUSTIFY_CENTER; + const font = Graphics.FONT_TINY; + } // prompt_font__body_with_title + + module confirmation_loc__body { + const x as Number = 78; + const y as Number = 78; + } // confirmation_loc__body + + module system_icon_destructive__hint_button_left_bottom { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_destructive__hint_button_left_bottom.svg"; + const dithering as String = "none"; + } // system_icon_destructive__hint_button_left_bottom + + module prompt_color_dark__background { + const color as Number = 0x000000; + const background as Number = 0x000000; + } // prompt_color_dark__background + + module system_icon_destructive__hint_action_menu { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_destructive__hint_button_right_top.svg"; + const dithering as String = "none"; + const automaticPalette as Boolean = true; + } // system_icon_destructive__hint_action_menu + + module system_loc__hint_action_menu { + const x as Number = 333; + const y as Number = 69; + } // system_loc__hint_action_menu + + module confirmation_icon__hint_confirm { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/confirmation_icon__hint_completion.svg"; + const dithering as String = "none"; + } // confirmation_icon__hint_confirm + + module system_loc__hint_button_left_middle { + const x as Number = 0; + const y as Number = 158; + } // system_loc__hint_button_left_middle + + module prompt_size__body_no_title { + const width as Number = 312; + const height as Number = 312; + } // prompt_size__body_no_title + + module system_icon_light__hint_button_left_top { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__hint_button_left_top.svg"; + const dithering as String = "none"; + } // system_icon_light__hint_button_left_top + + module prompt_color_light__background { + const color as Number = 0x000000; + const background as Number = 0x000000; + } // prompt_color_light__background + + module confirmation_input__delete { + const button = WatchUi.KEY_ENTER; + } // confirmation_input__delete + + module system_icon_dark__hint_button_left_top { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__hint_button_left_top.svg"; + const dithering as String = "none"; + } // system_icon_dark__hint_button_left_top + + module system_input__action_menu { + const button = WatchUi.KEY_ENTER; + } // system_input__action_menu + + module system_icon_light__save { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__save.svg"; + const dithering as String = "none"; + } // system_icon_light__save + + module prompt_color_light__body { + const color as Number = 0xFFFFFF; + const background = Graphics.COLOR_TRANSPARENT; + } // prompt_color_light__body + + module system_loc__subwindow { + const exclude as Boolean = true; + } // system_loc__subwindow + + module system_icon_light__warning { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__warning.svg"; + const dithering as String = "none"; + } // system_icon_light__warning + + module confirmation_color_light__body { + const color as Number = 0xFFFFFF; + const background = Graphics.COLOR_TRANSPARENT; + } // confirmation_color_light__body + + module confirmation_icon_light__hint_keep { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/confirmation_icon__hint_keep.svg"; + const dithering as String = "none"; + } // confirmation_icon_light__hint_keep + + module activity_color_light__background { + const color as Number = 0x000000; + const background as Number = 0x000000; + } // activity_color_light__background + + module system_icon_positive__hint_button_right_top { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_positive__hint_button_right_top.svg"; + const dithering as String = "none"; + } // system_icon_positive__hint_button_right_top + + module system_size__screen { + const width as Number = 390; + const height as Number = 390; + } // system_size__screen + + module system_icon_destructive__hint_button_right_bottom { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_destructive__hint_button_right_bottom.svg"; + const dithering as String = "none"; + } // system_icon_destructive__hint_button_right_bottom + + module system_color_light__background { + const color as Number = 0x000000; + const background as Number = 0x000000; + } // system_color_light__background + + module system_icon_destructive__hint_button_right_top { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_destructive__hint_button_right_top.svg"; + const dithering as String = "none"; + } // system_icon_destructive__hint_button_right_top + + module confirmation_loc__hint_confirm { + const x as Number = 285; + const y as Number = 0; + } // confirmation_loc__hint_confirm + + module activity_color_dark__text { + const color as Number = 0xFFFFFF; + const background = Graphics.COLOR_TRANSPARENT; + } // activity_color_dark__text + + module confirmation_input__keep { + const button = WatchUi.KEY_DOWN; + } // confirmation_input__keep + + module prompt_loc__body_with_title { + const x as Number = 39; + const y as Number = 117; + } // prompt_loc__body_with_title + + module system_icon_dark__search { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__search.svg"; + const compress as String = "true"; + const dithering as String = "none"; + const automaticPalette as String = "true"; + } // system_icon_dark__search + + module activity_color_light__text { + const color as Number = 0xFFFFFF; + const background = Graphics.COLOR_TRANSPARENT; + } // activity_color_light__text + + module confirmation_icon__hint_keep { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/confirmation_icon__hint_keep.svg"; + const dithering as String = "none"; + } // confirmation_icon__hint_keep + + module system_icon_dark__save { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__save.svg"; + const compress as String = "true"; + const dithering as String = "none"; + const automaticPalette as String = "true"; + } // system_icon_dark__save + + module system_icon_destructive__hint_button_left_middle { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_destructive__hint_button_left_middle.svg"; + const dithering as String = "none"; + } // system_icon_destructive__hint_button_left_middle + + module system_icon_light__search { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__search.svg"; + const dithering as String = "none"; + } // system_icon_light__search + + module system_icon_dark__hint_button_left_bottom { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__hint_button_left_bottom.svg"; + const dithering as String = "none"; + } // system_icon_dark__hint_button_left_bottom + + module system_icon_positive__hint_button_left_top { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_positive__hint_button_left_top.svg"; + const dithering as String = "none"; + } // system_icon_positive__hint_button_left_top + + module system_loc__hint_button_right_bottom { + const x as Number = 333; + const y as Number = 254; + } // system_loc__hint_button_right_bottom + + module confirmation_icon_dark__hint_reject { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/confirmation_icon__hint_reject.svg"; + const dithering as String = "none"; + } // confirmation_icon_dark__hint_reject + + module confirmation_color_dark__body { + const color as Number = 0xFFFFFF; + const background = Graphics.COLOR_TRANSPARENT; + } // confirmation_color_dark__body + + module confirmation_icon_light__hint_confirm { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/confirmation_icon__hint_completion.svg"; + const dithering as String = "none"; + } // confirmation_icon_light__hint_confirm + + module prompt_color_dark__title { + const color as Number = 0xFFFFFF; + const background = Graphics.COLOR_TRANSPARENT; + } // prompt_color_dark__title + + module system_icon_destructive__cancel { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_destructive__cancel.svg"; + const dithering as String = "none"; + } // system_icon_destructive__cancel + + module system_icon_light__hint_button_right_bottom { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__hint_button_right_bottom.svg"; + const dithering as String = "none"; + } // system_icon_light__hint_button_right_bottom + + module prompt_loc__title { + const x as Number = 39; + const y as Number = 29; + } // prompt_loc__title + + module confirmation_font_enhanced_readability__body { + const exclude as Boolean = true; + } // confirmation_font_enhanced_readability__body + + module prompt_color_light__title { + const color as Number = 0xFFFFFF; + const background = Graphics.COLOR_TRANSPARENT; + } // prompt_color_light__title + + module system_icon_dark__hint_button_right_top { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__hint_button_right_top.svg"; + const dithering as String = "none"; + } // system_icon_dark__hint_button_right_top + + module system_icon_dark__hint_button_left_middle { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__hint_button_left_middle.svg"; + const dithering as String = "none"; + } // system_icon_dark__hint_button_left_middle + + module confirmation_icon_dark__hint_keep { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/confirmation_icon__hint_keep.svg"; + const dithering as String = "none"; + } // confirmation_icon_dark__hint_keep + + module system_icon_light__cancel { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__cancel.svg"; + const dithering as String = "none"; + } // system_icon_light__cancel + + module confirmation_icon_light__hint_reject { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/confirmation_icon__hint_reject.svg"; + const dithering as String = "none"; + } // confirmation_icon_light__hint_reject + + module system_icon_light__about { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__about.svg"; + const dithering as String = "none"; + } // system_icon_light__about + + module system_size__toast_icon { + const scaleX as Number = 40; + const scaleY as Number = 40; + const scaleRelativeTo as String = "screen"; + } // system_size__toast_icon + + module system_icon_dark__hint_button_right_middle { + const exclude as Boolean = true; + } // system_icon_dark__hint_button_right_middle + + module confirmation_icon__hint_reject { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/confirmation_icon__hint_reject.svg"; + const dithering as String = "none"; + } // confirmation_icon__hint_reject + + module system_icon_light__hint_action_menu { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__hint_button_right_top.svg"; + const dithering as String = "none"; + const automaticPalette as Boolean = true; + } // system_icon_light__hint_action_menu + + module system_icon_light__hint_button_right_middle { + const exclude as Boolean = true; + } // system_icon_light__hint_button_right_middle + + module system_icon_destructive__hint_button_right_middle { + const exclude as Boolean = true; + } // system_icon_destructive__hint_button_right_middle + + module confirmation_loc__hint_reject { + const x as Number = 0; + const y as Number = 245; + const horizontalJustification as String = "left"; + } // confirmation_loc__hint_reject + + module confirmation_icon_dark__hint_delete { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/confirmation_icon__hint_delete.svg"; + const dithering as String = "none"; + } // confirmation_icon_dark__hint_delete + + module activity_color_dark__background { + const color as Number = 0x000000; + const background as Number = 0x000000; + } // activity_color_dark__background + + module system_icon_light__hint_button_left_bottom { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__hint_button_left_bottom.svg"; + const dithering as String = "none"; + } // system_icon_light__hint_button_left_bottom + + module system_icon_positive__hint_button_left_middle { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_positive__hint_button_left_middle.svg"; + const dithering as String = "none"; + } // system_icon_positive__hint_button_left_middle + + module system_size__menu_icon { + const scaleX as Number = 54; + const scaleY as Number = 54; + const scaleRelativeTo as String = "screen"; + } // system_size__menu_icon + + module system_icon_destructive__warning { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_destructive__warning.svg"; + const dithering as String = "none"; + } // system_icon_destructive__warning + + module system_loc__hint_button_right_middle { + const exclude as Boolean = true; + } // system_loc__hint_button_right_middle + + module system_icon_dark__cancel { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__cancel.svg"; + const compress as String = "true"; + const dithering as String = "none"; + const automaticPalette as String = "true"; + } // system_icon_dark__cancel + + module prompt_size__body_with_title { + const width as Number = 312; + const height as Number = 234; + } // prompt_size__body_with_title + + module system_loc__hint_button_right_top { + const x as Number = 333; + const y as Number = 69; + } // system_loc__hint_button_right_top + + module system_color_light__text { + const color as Number = 0xFFFFFF; + const background = Graphics.COLOR_TRANSPARENT; + } // system_color_light__text + + module system_icon_light__check { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__check.svg"; + const dithering as String = "none"; + } // system_icon_light__check + + module confirmation_input__reject { + const button = WatchUi.KEY_DOWN; + } // confirmation_input__reject + + module system_icon_light__revert { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__revert.svg"; + const dithering as String = "none"; + } // system_icon_light__revert + + module system_size__subwindow { + const exclude as Boolean = true; + } // system_size__subwindow + + module system_icon_positive__hint_button_left_bottom { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_positive__hint_button_left_bottom.svg"; + const dithering as String = "none"; + } // system_icon_positive__hint_button_left_bottom + + module system_icon_dark__check { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__check.svg"; + const compress as String = "true"; + const dithering as String = "none"; + const automaticPalette as String = "true"; + } // system_icon_dark__check + + module confirmation_loc__hint_keep { + const x as Number = 0; + const y as Number = 245; + const horizontalJustification as String = "left"; + } // confirmation_loc__hint_keep + + module confirmation_loc__hint_delete { + const x as Number = 285; + const y as Number = 0; + } // confirmation_loc__hint_delete + + module system_icon_positive__hint_action_menu { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_positive__hint_button_right_top.svg"; + const dithering as String = "none"; + const automaticPalette as Boolean = true; + } // system_icon_positive__hint_action_menu + + module system_icon_positive__hint_button_right_middle { + const exclude as Boolean = true; + } // system_icon_positive__hint_button_right_middle + + module system_icon_light__hint_button_left_middle { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__hint_button_left_middle.svg"; + const dithering as String = "none"; + } // system_icon_light__hint_button_left_middle + + module system_icon_dark__hint_button_right_bottom { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__hint_button_right_bottom.svg"; + const dithering as String = "none"; + } // system_icon_dark__hint_button_right_bottom + + module system_icon_positive__hint_button_right_bottom { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_positive__hint_button_right_bottom.svg"; + const dithering as String = "none"; + } // system_icon_positive__hint_button_right_bottom + + module system_icon_dark__revert { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__revert.svg"; + const compress as String = "true"; + const dithering as String = "none"; + const automaticPalette as String = "true"; + } // system_icon_dark__revert + + module confirmation_icon_light__hint_delete { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/confirmation_icon__hint_delete.svg"; + const dithering as String = "none"; + } // confirmation_icon_light__hint_delete + + module system_icon_dark__question { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__question.svg"; + const compress as String = "true"; + const dithering as String = "none"; + const automaticPalette as String = "true"; + } // system_icon_dark__question + + module system_icon_light__discard { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__discard.svg"; + const dithering as String = "none"; + } // system_icon_light__discard + + module device_info { + const screenWidth as Number = 390; + const screenShape = Toybox.System.SCREEN_SHAPE_ROUND; + const hasNightMode as Boolean = false; + const hasGpu as Boolean = true; + const screenHeight as Number = 390; + const hasTouchScreen as Boolean = false; + const hasEnhancedReadabilityMode as Boolean = false; + } // device_info + + module confirmation_icon_dark__hint_confirm { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/confirmation_icon__hint_completion.svg"; + const dithering as String = "none"; + } // confirmation_icon_dark__hint_confirm + + module prompt_font__body_no_title { + const justification = Graphics.TEXT_JUSTIFY_CENTER|Graphics.TEXT_JUSTIFY_VCENTER; + const font = Graphics.FONT_TINY; + } // prompt_font__body_no_title + + module prompt_size__title_icon { + const scaleX as Float = 0.15; + const scaleRelativeTo as String = "screen"; + } // prompt_size__title_icon + + module system_icon_dark__warning { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__warning.svg"; + const compress as String = "true"; + const dithering as String = "none"; + const automaticPalette as String = "true"; + } // system_icon_dark__warning + + module prompt_loc__title_icon { + const x as Number = 195; + const y as Number = 59; + const horizontalJustification as String = "center"; + const verticalJustification as String = "center"; + } // prompt_loc__title_icon + + module prompt_font_enhanced_readability__title { + const exclude as Boolean = true; + } // prompt_font_enhanced_readability__title + + module prompt_color_dark__body { + const color as Number = 0xFFFFFF; + const background = Graphics.COLOR_TRANSPARENT; + } // prompt_color_dark__body + + module confirmation_icon__hint_delete { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/confirmation_icon__hint_delete.svg"; + const dithering as String = "none"; + } // confirmation_icon__hint_delete + + module system_icon_light__hint_button_right_top { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon__hint_button_right_top.svg"; + const dithering as String = "none"; + } // system_icon_light__hint_button_right_top + + module confirmation_size__body { + const width as Number = 234; + const height as Number = 234; + } // confirmation_size__body + + module system_icon_positive__check { + const filename as String = "/home/keith/vm/ubuntu/.Garmin/ConnectIQ/Devices/instinct3amoled45mm/system_icon_positive__check.svg"; + const dithering as String = "none"; + } // system_icon_positive__check + } // Styles +} // Rez diff --git a/bin/gen/resources/cache/f92761e7a.mbc b/bin/gen/resources/cache/f92761e7a.mbc new file mode 100644 index 0000000..c5dc1ce Binary files /dev/null and b/bin/gen/resources/cache/f92761e7a.mbc differ diff --git a/bin/gen/resources/cache/i14c3b4dc.mbc b/bin/gen/resources/cache/i14c3b4dc.mbc new file mode 100644 index 0000000..ed568f8 Binary files /dev/null and b/bin/gen/resources/cache/i14c3b4dc.mbc differ diff --git a/bin/gen/resources/cache/i494f1b39.mbc b/bin/gen/resources/cache/i494f1b39.mbc new file mode 100644 index 0000000..78bc120 Binary files /dev/null and b/bin/gen/resources/cache/i494f1b39.mbc differ diff --git a/bin/gen/resources/cache/i5f9eecc3.mbc b/bin/gen/resources/cache/i5f9eecc3.mbc new file mode 100644 index 0000000..86ff5cf Binary files /dev/null and b/bin/gen/resources/cache/i5f9eecc3.mbc differ diff --git a/bin/gen/resources/cache/i699c6891.mbc b/bin/gen/resources/cache/i699c6891.mbc new file mode 100644 index 0000000..3d7b33c Binary files /dev/null and b/bin/gen/resources/cache/i699c6891.mbc differ diff --git a/bin/gen/resources/cache/i77a9e95f.mbc b/bin/gen/resources/cache/i77a9e95f.mbc new file mode 100644 index 0000000..3fa1dcf Binary files /dev/null and b/bin/gen/resources/cache/i77a9e95f.mbc differ diff --git a/bin/gen/resources/cache/i7e7838a1.mbc b/bin/gen/resources/cache/i7e7838a1.mbc new file mode 100644 index 0000000..645d832 Binary files /dev/null and b/bin/gen/resources/cache/i7e7838a1.mbc differ diff --git a/bin/gen/resources/cache/i7e8f5774.mbc b/bin/gen/resources/cache/i7e8f5774.mbc new file mode 100644 index 0000000..a82a7c0 Binary files /dev/null and b/bin/gen/resources/cache/i7e8f5774.mbc differ diff --git a/bin/gen/resources/cache/i7fd4c7a3.mbc b/bin/gen/resources/cache/i7fd4c7a3.mbc new file mode 100644 index 0000000..32b45f2 Binary files /dev/null and b/bin/gen/resources/cache/i7fd4c7a3.mbc differ diff --git a/bin/gen/resources/cache/i87217294.mbc b/bin/gen/resources/cache/i87217294.mbc new file mode 100644 index 0000000..fda8d98 Binary files /dev/null and b/bin/gen/resources/cache/i87217294.mbc differ diff --git a/bin/gen/resources/cache/ia48f6ee0.mbc b/bin/gen/resources/cache/ia48f6ee0.mbc new file mode 100644 index 0000000..af65d16 Binary files /dev/null and b/bin/gen/resources/cache/ia48f6ee0.mbc differ diff --git a/bin/gen/resources/cache/iac150020.mbc b/bin/gen/resources/cache/iac150020.mbc new file mode 100644 index 0000000..0491e66 Binary files /dev/null and b/bin/gen/resources/cache/iac150020.mbc differ diff --git a/bin/gen/resources/cache/iaedc493b.mbc b/bin/gen/resources/cache/iaedc493b.mbc new file mode 100644 index 0000000..bd2ce4a Binary files /dev/null and b/bin/gen/resources/cache/iaedc493b.mbc differ diff --git a/bin/gen/resources/cache/ic1554769.mbc b/bin/gen/resources/cache/ic1554769.mbc new file mode 100644 index 0000000..120faf0 Binary files /dev/null and b/bin/gen/resources/cache/ic1554769.mbc differ diff --git a/bin/gen/resources/cache/ic5bc024.mbc b/bin/gen/resources/cache/ic5bc024.mbc new file mode 100644 index 0000000..d6c4a71 Binary files /dev/null and b/bin/gen/resources/cache/ic5bc024.mbc differ diff --git a/bin/hockeyTimer-settings.json b/bin/hockeyTimer-settings.json new file mode 100644 index 0000000..431ae07 --- /dev/null +++ b/bin/hockeyTimer-settings.json @@ -0,0 +1,189 @@ +{ + "settings" : [ { + "key" : "color_theme", + "valueType" : "number", + "defaultValue" : 8, + "configTitle" : "settings_color_theme", + "configPrompt" : null, + "configType" : "numeric", + "configError" : null, + "configHelpUrl" : null, + "configReadonly" : false, + "configRequired" : false, + "configOptions" : null, + "configMin" : null, + "configMax" : null, + "configMaxLength" : null + }, { + "key" : "warning_2min", + "valueType" : "boolean", + "defaultValue" : true, + "configTitle" : "settings_warning_2min", + "configPrompt" : null, + "configType" : "boolean", + "configError" : null, + "configHelpUrl" : null, + "configReadonly" : false, + "configRequired" : false, + "configOptions" : null, + "configMin" : null, + "configMax" : null, + "configMaxLength" : null + }, { + "key" : "warning_1min", + "valueType" : "boolean", + "defaultValue" : true, + "configTitle" : "settings_warning_1min", + "configPrompt" : null, + "configType" : "boolean", + "configError" : null, + "configHelpUrl" : null, + "configReadonly" : false, + "configRequired" : false, + "configOptions" : null, + "configMin" : null, + "configMax" : null, + "configMaxLength" : null + }, { + "key" : "progress_bar", + "valueType" : "boolean", + "defaultValue" : true, + "configTitle" : "settings_progress_bar", + "configPrompt" : null, + "configType" : "boolean", + "configError" : null, + "configHelpUrl" : null, + "configReadonly" : false, + "configRequired" : false, + "configOptions" : null, + "configMin" : null, + "configMax" : null, + "configMaxLength" : null + }, { + "key" : "period2_duration", + "valueType" : "number", + "defaultValue" : 2100, + "configTitle" : "settings_period2_duration", + "configPrompt" : null, + "configType" : "numeric", + "configError" : null, + "configHelpUrl" : null, + "configReadonly" : false, + "configRequired" : false, + "configOptions" : null, + "configMin" : null, + "configMax" : null, + "configMaxLength" : null + }, { + "key" : "period2_halftime", + "valueType" : "number", + "defaultValue" : 300, + "configTitle" : "settings_period2_halftime", + "configPrompt" : null, + "configType" : "numeric", + "configError" : null, + "configHelpUrl" : null, + "configReadonly" : false, + "configRequired" : false, + "configOptions" : null, + "configMin" : null, + "configMax" : null, + "configMaxLength" : null + }, { + "key" : "period4_duration", + "valueType" : "number", + "defaultValue" : 900, + "configTitle" : "settings_period4_duration", + "configPrompt" : null, + "configType" : "numeric", + "configError" : null, + "configHelpUrl" : null, + "configReadonly" : false, + "configRequired" : false, + "configOptions" : null, + "configMin" : null, + "configMax" : null, + "configMaxLength" : null + }, { + "key" : "period4_quartertime", + "valueType" : "number", + "defaultValue" : 120, + "configTitle" : "settings_period4_quartertime", + "configPrompt" : null, + "configType" : "numeric", + "configError" : null, + "configHelpUrl" : null, + "configReadonly" : false, + "configRequired" : false, + "configOptions" : null, + "configMin" : null, + "configMax" : null, + "configMaxLength" : null + }, { + "key" : "period4_halftime", + "valueType" : "number", + "defaultValue" : 600, + "configTitle" : "settings_period4_halftime", + "configPrompt" : null, + "configType" : "numeric", + "configError" : null, + "configHelpUrl" : null, + "configReadonly" : false, + "configRequired" : false, + "configOptions" : null, + "configMin" : null, + "configMax" : null, + "configMaxLength" : null + }, { + "key" : "period4_pc_time", + "valueType" : "number", + "defaultValue" : 40, + "configTitle" : "settings_period4_pc_time", + "configPrompt" : null, + "configType" : "numeric", + "configError" : null, + "configHelpUrl" : null, + "configReadonly" : false, + "configRequired" : false, + "configOptions" : null, + "configMin" : null, + "configMax" : null, + "configMaxLength" : null + }, { + "key" : "period4_goal_time", + "valueType" : "number", + "defaultValue" : 20, + "configTitle" : "period4_goal_time", + "configPrompt" : null, + "configType" : "numeric", + "configError" : null, + "configHelpUrl" : null, + "configReadonly" : false, + "configRequired" : false, + "configOptions" : null, + "configMin" : null, + "configMax" : null, + "configMaxLength" : null + } ], + "supportsLiveValidation" : false, + "languages" : { + "valyrian" : { + "settings_period4_duration" : "Period Duration", + "settings_two_halves" : "Two Halves", + "settings_period4_halftime" : "Halftime", + "settings_warning_2min" : "2 Min Warning", + "settings_color_theme" : "Select Colours", + "AppName" : "Hockey Timer", + "timer" : "88:88", + "settings_period2_halftime" : "Halftime", + "settings_game_type" : "Game Type", + "settings_period4_pc_time" : "1/4 Time Duration", + "period4_goal_time" : "1/4 Time Duration", + "settings_four_quarters" : "Four Quarters", + "settings_progress_bar" : "Progress Bar", + "settings_warning_1min" : "1 Min Warning", + "settings_period2_duration" : "Duration", + "settings_period4_quartertime" : "1/4 Time Duration" + } + } +} \ No newline at end of file diff --git a/bin/hockeyTimer.prg b/bin/hockeyTimer.prg new file mode 100644 index 0000000..bf1d71c Binary files /dev/null and b/bin/hockeyTimer.prg differ diff --git a/bin/hockeyTimer.prg.debug.xml b/bin/hockeyTimer.prg.debug.xml new file mode 100644 index 0000000..bc7efa7 --- /dev/null +++ b/bin/hockeyTimer.prg.debug.xml @@ -0,0 +1,624 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bin/internal-mir/Rez.mir b/bin/internal-mir/Rez.mir new file mode 100644 index 0000000..1b26cdf --- /dev/null +++ b/bin/internal-mir/Rez.mir @@ -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; ] + { + } + [ @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; ] + { + } + [ @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; ] + { + } + [ @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; ] + { + } + [ @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 { +_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; + 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; ] + { + } + [ @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; ] + { +} diff --git a/bin/mir/source/App.mir b/bin/mir/source/App.mir new file mode 100644 index 0000000..8fc6071 --- /dev/null +++ b/bin/mir/source/App.mir @@ -0,0 +1,68 @@ +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Application,1,14,25]; ] +import Toybox.Application; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [Lang,2,14,18]; ] +import Toybox.Lang; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [WatchUi,3,14,21]; ] +import Toybox.WatchUi; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 5; @symbol_classdef = [hockeyTimerApp,5,6,20]; @symbol_extends<0> = [Application,5,29,40]; @symbol_extends<1> = [AppBase,5,41,48]; ] +class hockeyTimerApp extends Application.AppBase { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 5; ] + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 5; ] + static + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 7; @symbol_functiondef = [initialize,7,13,23]; ] + function initialize() as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_App_mc_7_26_9_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc" 8 8 ] + symbol [ AppBase %tmp.2 8 8 15 ]; + %tmp.2 = getv ? :AppBase; + symbol [ initialize %tmp.3 8 16 26 ]; + %tmp.3 = getv function %tmp.2 :initialize; + invoke %tmp.2 %tmp.3(); +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_App_mc_7_26_9_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 12; @symbol_functiondef = [onStart,12,13,20]; @symbol_param<0> = [state,12,21,26]; @symbol_param<0>_type<0> = [Dictionary,12,30,40]; ] + function onStart(state as Dictionary or Null) as Void { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 16; @symbol_functiondef = [onStop,16,13,19]; @symbol_param<0> = [state,16,20,25]; @symbol_param<0>_type<0> = [Dictionary,16,29,39]; ] + function onStop(state as Dictionary or Null) as Void { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 20; @symbol_functiondef = [getInitialView,20,13,27]; @symbol_return<0> = [Views,20,34,39]; @symbol_return<1> = [Views,20,45,50]; @symbol_return<2> = [InputDelegates,20,52,66]; ] + function getInitialView() as [Views] or [Views, InputDelegates] { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_App_mc_20_68_22_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc" 21 8 ] + %tmp.1 = newa 2; + symbol [ hockeyTimerView %tmp.5 21 21 36 ]; + %tmp.5 = getv ? :hockeyTimerView; + %tmp.2 = newc %tmp.5 (); + %tmp.6 = dup %tmp.1; + %tmp.7 = aputv %tmp.6 0 %tmp.2; + symbol [ MyInputDelegate %tmp.11 21 44 59 ]; + %tmp.11 = getv ? :MyInputDelegate; + %tmp.8 = newc %tmp.11 (); + %tmp.12 = dup %tmp.7; + %tmp.13 = aputv %tmp.12 1 %tmp.8; + ret %tmp.13; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_App_mc_20_68_22_4_stop: + } +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 26; @symbol_functiondef = [getApp,26,9,15]; @symbol_return<0> = [hockeyTimerApp,26,21,35]; ] +function getApp() as hockeyTimerApp { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_App_mc_26_36_28_0_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc" 27 4 ] + symbol [ Application %tmp.1 27 11 22 ]; + %tmp.1 = getm $.Toybox.Application; + symbol [ getApp %tmp.2 27 23 29 ]; + %tmp.2 = getv function %tmp.1 :getApp; + %tmp.3 = invoke %tmp.1 %tmp.2(); + %tmp.4 = as %tmp.3 hockeyTimerApp; + symbol [ hockeyTimerApp %tmp.4 27 35 49 ]; + ret %tmp.4; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_App_mc_26_36_28_0_stop: +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/App.mc"; @line = 1; ] + { +} diff --git a/bin/mir/source/Match.mir b/bin/mir/source/Match.mir new file mode 100644 index 0000000..4e34871 --- /dev/null +++ b/bin/mir/source/Match.mir @@ -0,0 +1,416 @@ +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @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/source/Match.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ] +import Toybox.WatchUi; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Time,3,14,18]; ] +import Toybox.Time; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 4; @symbol_importdef<0> = [Toybox,4,7,13]; @symbol_importdef<1> = [Timer,4,14,19]; ] +import Toybox.Timer; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 5; @symbol_importdef<0> = [Toybox,5,7,13]; @symbol_importdef<1> = [System,5,14,20]; ] +import Toybox.System; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 7; @symbol_enumdef = [enCard,7,12,18]; ] +enum enCard { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 8; @position = 4; @symbol_enumdec = [RED,8,4,7]; ] + RED, + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 9; @position = 4; @symbol_enumdec = [YELLOW,9,4,10]; ] + YELLOW, + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 10; @position = 4; @symbol_enumdec = [GREEN,10,4,9]; ] + GREEN +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 12; @symbol_enumdef = [enGoal,12,12,18]; ] +enum enGoal { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 13; @position = 4; @symbol_enumdec = [PC,13,4,6]; ] + PC, + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 14; @position = 4; @symbol_enumdec = [PS,14,4,6]; ] + PS, + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 15; @position = 4; @symbol_enumdec = [FG,15,4,6]; ] + FG +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 17; @symbol_enumdef = [enTeam,17,12,18]; ] +enum enTeam { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 18; @position = 4; @symbol_enumdec = [HOME,18,4,8]; ] + HOME, + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 19; @position = 4; @symbol_enumdec = [AWAY,19,4,8]; ] + AWAY +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 32; @symbol_enumdef = [enAction,32,12,20]; ] +enum enAction { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 33; @position = 4; @symbol_enumdec = [GOAL,33,4,8]; ] + GOAL, + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 34; @position = 4; @symbol_enumdec = [CARD,34,4,8]; ] + CARD, + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 35; @position = 4; @symbol_enumdec = [QUIT,35,4,8]; ] + QUIT +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 37; @symbol_enumdef = [enPeriod,37,12,20]; ] +enum enPeriod { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 38; @position = 4; @symbol_enumdec = [PLAY,38,4,8]; ] + PLAY, + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 39; @position = 4; @symbol_enumdec = [BREAK,39,4,9]; ] + BREAK +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 42; @position = 4; @symbol_vardef = [gameDuration,42,4,16]; @symbol_type<0> = [Number,42,22,28]; ] +var gameDuration as Number or Null; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 43; @position = 4; @symbol_vardef = [gameElapsed,43,4,15]; @symbol_type<0> = [Number,43,22,28]; ] +var gameElapsed as Number or Null; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 44; @position = 4; @symbol_vardef = [gamePeriod,44,4,14]; @symbol_type<0> = [Number,44,22,28]; ] +var gamePeriod as Number or Null; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 46; @symbol_classdef = [goal,46,6,10]; ] +class goal { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 46; ] + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 46; ] + static + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 47; @position = 16; @symbol_vardef = [_team,47,16,21]; @symbol_type<0> = [enTeam,47,29,35]; ] + private + var _team as enTeam; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 48; @position = 16; @symbol_vardef = [_type,48,16,21]; @symbol_type<0> = [enGoal,48,29,35]; ] + private + var _type as enGoal; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 49; @position = 16; @symbol_vardef = [_time,49,16,21]; @symbol_type<0> = [Number,49,29,35]; ] + private + var _time as Number; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 50; @position = 16; @symbol_vardef = [_player,50,16,23]; @symbol_type<0> = [Number,50,29,35]; ] + private + var _player as Number; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 51; @position = 16; @symbol_vardef = [_datetime,51,16,25]; @symbol_type<0> = [Number,51,29,35]; ] + private + var _datetime as Number; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 53; @symbol_functiondef = [initialize,53,13,23]; @symbol_param<0> = [team,53,24,28]; @symbol_param<0>_type<0> = [enTeam,53,32,38]; @symbol_param<1> = [type,53,40,44]; @symbol_param<1>_type<0> = [enGoal,53,48,54]; @symbol_param<2> = [player,53,56,62]; @symbol_param<2>_type<0> = [Number,53,66,72]; @symbol_param<3> = [time,53,74,78]; @symbol_param<3>_type<0> = [Number,53,82,88]; ] + function initialize(team as enTeam, type as enGoal, player as Number, time as Number) as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_53_90_59_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 54 8 ] + %tmp.1 = lgetv %team; + symbol [ team %tmp.1 54 20 24 ]; + symbol [ _team ? 54 8 13 ]; + putv self :_team %tmp.1; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 55 8 ] + %tmp.2 = lgetv %type; + symbol [ type %tmp.2 55 20 24 ]; + symbol [ _type ? 55 8 13 ]; + putv self :_type %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 56 8 ] + %tmp.3 = lgetv %time; + symbol [ time %tmp.3 56 20 24 ]; + symbol [ _time ? 56 8 13 ]; + putv self :_time %tmp.3; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 57 8 ] + %tmp.4 = lgetv %player; + symbol [ player %tmp.4 57 20 26 ]; + symbol [ _player ? 57 8 15 ]; + putv self :_player %tmp.4; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 58 8 ] + symbol [ Time %tmp.5 58 20 24 ]; + %tmp.5 = getm $.Toybox.Time; + symbol [ now %tmp.6 58 25 28 ]; + %tmp.6 = getv function %tmp.5 :now; + %tmp.7 = invoke %tmp.5 %tmp.6(); + symbol [ value %tmp.8 58 31 36 ]; + %tmp.8 = getv function %tmp.7 :value; + %tmp.9 = invoke %tmp.7 %tmp.8(); + symbol [ _datetime ? 58 8 17 ]; + putv self :_datetime %tmp.9; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_53_90_59_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 61; @symbol_functiondef = [toDict,61,13,19]; @symbol_return<0> = [Dictionary,61,25,35]; ] + function toDict() as Dictionary { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_61_36_69_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 62 8 ] + %tmp.1 = newd 5; + %tmp.2 = "team"; + symbol [ _team %tmp.4 63 27 32 ]; + %tmp.4 = getv ? :_team; + %tmp.5 = dup %tmp.1; + %tmp.6 = aputv %tmp.5 %tmp.2 %tmp.4; + %tmp.7 = "type"; + symbol [ _type %tmp.9 64 27 32 ]; + %tmp.9 = getv ? :_type; + %tmp.10 = dup %tmp.6; + %tmp.11 = aputv %tmp.10 %tmp.7 %tmp.9; + %tmp.12 = "time"; + symbol [ _time %tmp.14 65 27 32 ]; + %tmp.14 = getv ? :_time; + %tmp.15 = dup %tmp.11; + %tmp.16 = aputv %tmp.15 %tmp.12 %tmp.14; + %tmp.17 = "player"; + symbol [ _player %tmp.19 66 27 34 ]; + %tmp.19 = getv ? :_player; + %tmp.20 = dup %tmp.16; + %tmp.21 = aputv %tmp.20 %tmp.17 %tmp.19; + %tmp.22 = "datetime"; + symbol [ _datetime %tmp.24 67 27 36 ]; + %tmp.24 = getv ? :_datetime; + %tmp.25 = dup %tmp.21; + %tmp.26 = aputv %tmp.25 %tmp.22 %tmp.24; + ret %tmp.26; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_61_36_69_4_stop: + } +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 72; @symbol_classdef = [card,72,6,10]; ] +class card { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 72; ] + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 72; ] + static + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 73; @position = 15; @symbol_vardef = [team,73,15,19]; @symbol_type<0> = [enTeam,73,29,35]; ] + public + var team as enTeam; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 74; @position = 15; @symbol_vardef = [card,74,15,19]; @symbol_type<0> = [enCard,74,29,35]; ] + public + var card as enCard; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 75; @position = 15; @symbol_vardef = [player,75,15,21]; @symbol_type<0> = [Number,75,29,35]; ] + public + var player as Number; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 76; @position = 15; @symbol_vardef = [remaining,76,15,24]; @symbol_type<0> = [Number,76,29,35]; ] + public + var remaining as Number; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 77; @position = 15; @symbol_vardef = [isActive,77,15,23]; @symbol_type<0> = [Boolean,77,29,36]; ] + public + var isActive as Boolean; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 79; @position = 16; @symbol_vardef = [start,79,16,21]; @symbol_type<0> = [Number,79,29,35]; ] + private + var start as Number or Null; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 80; @position = 16; @symbol_vardef = [end,80,16,19]; @symbol_type<0> = [Number,80,29,35]; ] + private + var end as Number or Null; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 81; @position = 16; @symbol_vardef = [duration,81,16,24]; @symbol_type<0> = [Number,81,29,35]; ] + private + var duration as Number or Null; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 82; @position = 16; @symbol_vardef = [_datetime,82,16,25]; @symbol_type<0> = [Number,82,29,35]; ] + private + var _datetime as Number or Null; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 86; @symbol_functiondef = [initialize,86,13,23]; @symbol_param<0> = [tm,86,24,26]; @symbol_param<0>_type<0> = [enTeam,86,30,36]; @symbol_param<1> = [cd,86,38,40]; @symbol_param<1>_type<0> = [enCard,86,44,50]; @symbol_param<2> = [pl,86,52,54]; @symbol_param<2>_type<0> = [Number,86,58,64]; @symbol_param<3> = [dn,86,66,68]; @symbol_param<3>_type<0> = [Number,86,72,78]; @symbol_param<4> = [st,86,80,82]; @symbol_param<4>_type<0> = [Number,86,86,92]; ] + function initialize(tm as enTeam, cd as enCard, pl as Number, dn as Number, st as Number) as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_86_93_99_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 87 8 ] + %tmp.1 = lgetv %tm; + symbol [ tm %tmp.1 87 19 21 ]; + symbol [ team ? 87 8 12 ]; + putv self :team %tmp.1; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 88 8 ] + %tmp.2 = lgetv %cd; + symbol [ cd %tmp.2 88 19 21 ]; + symbol [ card ? 88 8 12 ]; + putv self :card %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 89 8 ] + %tmp.3 = lgetv %st; + symbol [ st %tmp.3 89 19 21 ]; + symbol [ start ? 89 8 13 ]; + putv self :start %tmp.3; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 90 8 ] + %tmp.4 = lgetv %dn; + symbol [ dn %tmp.4 90 19 21 ]; + %tmp.5 = 60; + %tmp.6 = mul %tmp.4 %tmp.5; + symbol [ duration ? 90 8 16 ]; + putv self :duration %tmp.6; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 91 8 ] + symbol [ duration %tmp.8 91 20 28 ]; + %tmp.8 = getv ? :duration; + symbol [ remaining ? 91 8 17 ]; + putv self :remaining %tmp.8; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 92 8 ] + symbol [ start %tmp.10 92 19 24 ]; + %tmp.10 = getv ? :start; + symbol [ duration %tmp.12 92 27 35 ]; + %tmp.12 = getv ? :duration; + %tmp.13 = add %tmp.10 %tmp.12; + symbol [ end ? 92 8 11 ]; + putv self :end %tmp.13; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 93 8 ] + %tmp.14 = lgetv %pl; + symbol [ pl %tmp.14 93 19 21 ]; + symbol [ player ? 93 8 14 ]; + putv self :player %tmp.14; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 94 8 ] + %tmp.15 = true; + symbol [ isActive ? 94 8 16 ]; + putv self :isActive %tmp.15; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 95 8 ] + symbol [ Time %tmp.16 95 20 24 ]; + %tmp.16 = getm $.Toybox.Time; + symbol [ now %tmp.17 95 25 28 ]; + %tmp.17 = getv function %tmp.16 :now; + %tmp.18 = invoke %tmp.16 %tmp.17(); + symbol [ value %tmp.19 95 31 36 ]; + %tmp.19 = getv function %tmp.18 :value; + %tmp.20 = invoke %tmp.18 %tmp.19(); + symbol [ _datetime ? 95 8 17 ]; + putv self :_datetime %tmp.20; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_86_93_99_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 105; @symbol_functiondef = [dummy,105,20,25]; @symbol_param<0> = [q,105,26,27]; @symbol_param<0>_type<0> = [Boolean,105,31,38]; ] + public + function dummy(q as Boolean) as Void { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 107; @symbol_functiondef = [update,107,20,26]; @symbol_param<0> = [el,107,27,29]; @symbol_param<0>_type<0> = [Number,107,33,39]; ] + public + function update(el as Number) as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_107_48_115_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 108 8 ] + symbol [ end %tmp.2 108 20 23 ]; + %tmp.2 = getv ? :end; + %tmp.3 = lgetv %el; + symbol [ el %tmp.3 108 26 28 ]; + %tmp.4 = sub %tmp.2 %tmp.3; + symbol [ remaining ? 108 8 17 ]; + putv self :remaining %tmp.4; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 110 8 ] +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_110_8_114_8_if_stmt: + symbol [ end %tmp.6 110 11 14 ]; + %tmp.6 = getv ? :end; + %tmp.7 = lgetv %el; + symbol [ el %tmp.7 110 17 19 ]; + %tmp.8 = sub %tmp.6 %tmp.7; + %tmp.9 = 0; + %tmp.10 = eq %tmp.8 %tmp.9; + bf %tmp.10 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_110_8_114_8_if_end; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_110_8_114_8_if_true: +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_110_25_114_8_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 112 16 ] + symbol [ System %tmp.11 112 16 22 ]; + %tmp.11 = getm $.Toybox.System; + symbol [ println %tmp.12 112 23 30 ]; + %tmp.12 = getv function %tmp.11 :println; + symbol [ Lang %tmp.13 112 31 35 ]; + %tmp.13 = getm $.Toybox.Lang; + symbol [ format %tmp.14 112 36 42 ]; + %tmp.14 = getv function %tmp.13 :format; + %tmp.15 = "Card: $1$ Over"; + %tmp.16 = newa 1; + symbol [ player %tmp.18 112 61 67 ]; + %tmp.18 = getv ? :player; + symbol [ format %tmp.19 112 68 74 ]; + %tmp.19 = getv function %tmp.18 :format; + %tmp.20 = "%02d"; + %tmp.21 = invoke %tmp.18 %tmp.19(%tmp.20); + %tmp.22 = dup %tmp.16; + %tmp.23 = aputv %tmp.22 0 %tmp.21; + %tmp.24 = invoke %tmp.13 %tmp.14(%tmp.15, %tmp.23); + invoke %tmp.11 %tmp.12(%tmp.24); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 113 16 ] + %tmp.25 = false; + symbol [ isActive ? 113 16 24 ]; + putv self :isActive %tmp.25; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_110_25_114_8_stop: + goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_110_8_114_8_if_end; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_110_8_114_8_if_end: +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_107_48_115_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 117; @symbol_functiondef = [toDict,117,13,19]; @symbol_return<0> = [Dictionary,117,25,35]; ] + function toDict() as Dictionary { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_117_36_127_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 118 8 ] + %tmp.1 = newd 7; + %tmp.2 = "team"; + symbol [ team %tmp.4 119 26 30 ]; + %tmp.4 = getv ? :team; + %tmp.5 = dup %tmp.1; + %tmp.6 = aputv %tmp.5 %tmp.2 %tmp.4; + %tmp.7 = "start"; + symbol [ start %tmp.9 120 26 31 ]; + %tmp.9 = getv ? :start; + %tmp.10 = dup %tmp.6; + %tmp.11 = aputv %tmp.10 %tmp.7 %tmp.9; + %tmp.12 = "end"; + symbol [ end %tmp.14 121 26 29 ]; + %tmp.14 = getv ? :end; + %tmp.15 = dup %tmp.11; + %tmp.16 = aputv %tmp.15 %tmp.12 %tmp.14; + %tmp.17 = "card"; + symbol [ card %tmp.19 122 26 30 ]; + %tmp.19 = getv ? :card; + %tmp.20 = dup %tmp.16; + %tmp.21 = aputv %tmp.20 %tmp.17 %tmp.19; + %tmp.22 = "player"; + symbol [ player %tmp.24 123 26 32 ]; + %tmp.24 = getv ? :player; + %tmp.25 = dup %tmp.21; + %tmp.26 = aputv %tmp.25 %tmp.22 %tmp.24; + %tmp.27 = "duration"; + symbol [ duration %tmp.29 124 26 34 ]; + %tmp.29 = getv ? :duration; + %tmp.30 = dup %tmp.26; + %tmp.31 = aputv %tmp.30 %tmp.27 %tmp.29; + %tmp.32 = "datetime"; + symbol [ _datetime %tmp.34 125 26 35 ]; + %tmp.34 = getv ? :_datetime; + %tmp.35 = dup %tmp.31; + %tmp.36 = aputv %tmp.35 %tmp.32 %tmp.34; + ret %tmp.36; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_117_36_127_4_stop: + } +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 130; @symbol_classdef = [match,130,6,11]; ] +class match { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 130; ] + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 130; ] + static + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 132; @symbol_functiondef = [initialize,132,13,23]; ] + function initialize() as Void { + } +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 138; @symbol_classdef = [period,138,6,12]; ] +class period { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 138; ] + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 138; ] + static + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 140; @position = 15; @symbol_vardef = [display,140,15,22]; @symbol_type<0> = [String,140,28,34]; ] + public + var display as String or Null; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 141; @position = 15; @symbol_vardef = [type,141,15,19]; @symbol_type<0> = [enPeriod,141,28,36]; ] + public + var type as enPeriod or Null; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 143; @position = 15; @symbol_vardef = [duration,143,15,23]; @symbol_type<0> = [Number,143,28,34]; ] + public + var duration as Number or Null; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 144; @position = 15; @symbol_vardef = [remaining,144,15,24]; @symbol_type<0> = [Number,144,28,34]; ] + public + var remaining as Number or Null; + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 152; @symbol_functiondef = [initialize,152,13,23]; @symbol_param<0> = [Display,152,24,31]; @symbol_param<0>_type<0> = [String,152,35,41]; @symbol_param<1> = [Type,152,43,47]; @symbol_param<1>_type<0> = [enPeriod,152,51,59]; @symbol_param<2> = [Duration,152,61,69]; @symbol_param<2>_type<0> = [Number,152,73,79]; ] + function initialize(Display as String, Type as enPeriod, Duration as Number) as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_152_80_158_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 153 8 ] + %tmp.1 = lgetv %Display; + symbol [ Display %tmp.1 153 20 27 ]; + symbol [ display ? 153 8 15 ]; + putv self :display %tmp.1; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 154 8 ] + %tmp.2 = lgetv %Type; + symbol [ Type %tmp.2 154 20 24 ]; + symbol [ type ? 154 8 12 ]; + putv self :type %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 155 8 ] + %tmp.3 = lgetv %Duration; + symbol [ Duration %tmp.3 155 20 28 ]; + symbol [ duration ? 155 8 16 ]; + putv self :duration %tmp.3; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc" 156 8 ] + %tmp.4 = lgetv %Duration; + symbol [ Duration %tmp.4 156 20 28 ]; + symbol [ remaining ? 156 8 17 ]; + putv self :remaining %tmp.4; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Match_mc_152_80_158_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 171; @symbol_functiondef = [elapsed,171,20,27]; ] + public + function elapsed() { + } +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Match.mc"; @line = 1; ] + { +} diff --git a/bin/mir/source/Menus.mir b/bin/mir/source/Menus.mir new file mode 100644 index 0000000..61ea431 --- /dev/null +++ b/bin/mir/source/Menus.mir @@ -0,0 +1,17 @@ +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.mc"; @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/source/Menus.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ] +import Toybox.WatchUi; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.mc"; @line = 4; @position = 11; @symbol_vardef = [gMenuTeams,4,11,21]; @symbol_type<0> = [WatchUi,4,27,34]; @symbol_type<1> = [Menu2,4,35,40]; ] +var gMenuTeams as WatchUi.Menu2 or Null; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.mc"; @line = 5; @position = 11; @symbol_vardef = [gMenuActions,5,11,23]; @symbol_type<0> = [WatchUi,5,27,34]; @symbol_type<1> = [Menu2,5,35,40]; ] +var gMenuActions as WatchUi.Menu2 or Null; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.mc"; @line = 6; @position = 11; @symbol_vardef = [gMenuGoals,6,11,21]; @symbol_type<0> = [WatchUi,6,27,34]; @symbol_type<1> = [Menu2,6,35,40]; ] +var gMenuGoals as WatchUi.Menu2 or Null; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.mc"; @line = 7; @position = 11; @symbol_vardef = [gMenuCards,7,11,21]; @symbol_type<0> = [WatchUi,7,27,34]; @symbol_type<1> = [Menu2,7,35,40]; ] +var gMenuCards as WatchUi.Menu2 or Null; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.mc"; @line = 8; @position = 11; @symbol_vardef = [gMenuApp,8,11,19]; @symbol_type<0> = [WatchUi,8,27,34]; @symbol_type<1> = [Menu2,8,35,40]; ] +var gMenuApp as WatchUi.Menu2 or Null; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Menus.mc"; @line = 1; ] + { +} diff --git a/bin/mir/source/TestDelegate.mir b/bin/mir/source/TestDelegate.mir new file mode 100644 index 0000000..72d06cc --- /dev/null +++ b/bin/mir/source/TestDelegate.mir @@ -0,0 +1,508 @@ +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @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/source/TestDelegate.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ] +import Toybox.WatchUi; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 4; @symbol_classdef = [MyInputDelegate,4,6,21]; @symbol_extends<0> = [WatchUi,4,30,37]; @symbol_extends<1> = [InputDelegate,4,38,51]; ] +class MyInputDelegate extends WatchUi.InputDelegate { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 4; ] + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 4; ] + static + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 6; @symbol_functiondef = [initialize,6,13,23]; ] + function initialize() as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_6_26_8_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 7 8 ] + symbol [ InputDelegate %tmp.2 7 8 21 ]; + %tmp.2 = getv ? :InputDelegate; + symbol [ initialize %tmp.3 7 22 32 ]; + %tmp.3 = getv function %tmp.2 :initialize; + invoke %tmp.2 %tmp.3(); +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_6_26_8_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 10; @symbol_functiondef = [onDrag,10,13,19]; @symbol_param<0> = [dragEvent,10,20,29]; @symbol_param<0>_type<0> = [WatchUi,10,33,40]; @symbol_param<0>_type<1> = [DragEvent,10,41,50]; @symbol_return<0> = [Lang,10,55,59]; @symbol_return<1> = [Boolean,10,60,67]; ] + function onDrag(dragEvent as WatchUi.DragEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_10_68_16_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 11 6 ] + symbol [ $ %tmp.1 11 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "on-Drag"; + symbol [ kjr ? 11 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 12 6 ] + symbol [ System %tmp.4 12 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 12 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %dragEvent; + symbol [ dragEvent %tmp.6 12 21 30 ]; + symbol [ getType %tmp.7 12 31 38 ]; + %tmp.7 = getv function %tmp.6 :getType; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 13 6 ] + symbol [ WatchUi %tmp.9 13 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 13 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 14 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_10_68_16_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 17; @symbol_functiondef = [onFlick,17,13,20]; @symbol_param<0> = [flickEvent,17,21,31]; @symbol_param<0>_type<0> = [WatchUi,17,35,42]; @symbol_param<0>_type<1> = [FlickEvent,17,43,53]; @symbol_return<0> = [Lang,17,58,62]; @symbol_return<1> = [Boolean,17,63,70]; ] + function onFlick(flickEvent as WatchUi.FlickEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_17_71_22_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 18 6 ] + symbol [ $ %tmp.1 18 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onFlick"; + symbol [ kjr ? 18 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 19 6 ] + symbol [ System %tmp.4 19 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 19 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %flickEvent; + symbol [ flickEvent %tmp.6 19 21 31 ]; + symbol [ getDirection %tmp.7 19 32 44 ]; + %tmp.7 = getv function %tmp.6 :getDirection; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 20 6 ] + symbol [ WatchUi %tmp.9 20 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 20 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 21 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_17_71_22_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 23; @symbol_functiondef = [onHold,23,13,19]; @symbol_param<0> = [clickEvent,23,20,30]; @symbol_param<0>_type<0> = [WatchUi,23,34,41]; @symbol_param<0>_type<1> = [ClickEvent,23,42,52]; @symbol_return<0> = [Lang,23,57,61]; @symbol_return<1> = [Boolean,23,62,69]; ] + function onHold(clickEvent as WatchUi.ClickEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_23_70_28_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 24 6 ] + symbol [ $ %tmp.1 24 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onHold"; + symbol [ kjr ? 24 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 25 6 ] + symbol [ System %tmp.4 25 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 25 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %clickEvent; + symbol [ clickEvent %tmp.6 25 21 31 ]; + symbol [ getType %tmp.7 25 32 39 ]; + %tmp.7 = getv function %tmp.6 :getType; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 26 6 ] + symbol [ WatchUi %tmp.9 26 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 26 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 27 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_23_70_28_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 29; @symbol_functiondef = [onKey,29,13,18]; @symbol_param<0> = [keyEvent,29,19,27]; @symbol_param<0>_type<0> = [WatchUi,29,31,38]; @symbol_param<0>_type<1> = [KeyEvent,29,39,47]; @symbol_return<0> = [Lang,29,52,56]; @symbol_return<1> = [Boolean,29,57,64]; ] + function onKey(keyEvent as WatchUi.KeyEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_29_65_34_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 30 6 ] + symbol [ $ %tmp.1 30 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onKey"; + symbol [ kjr ? 30 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 31 6 ] + symbol [ System %tmp.4 31 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 31 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %keyEvent; + symbol [ keyEvent %tmp.6 31 21 29 ]; + symbol [ getKey %tmp.7 31 30 36 ]; + %tmp.7 = getv function %tmp.6 :getKey; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 32 6 ] + symbol [ WatchUi %tmp.9 32 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 32 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 33 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_29_65_34_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 35; @symbol_functiondef = [onKeyPressed,35,13,25]; @symbol_param<0> = [keyEvent,35,26,34]; @symbol_param<0>_type<0> = [WatchUi,35,38,45]; @symbol_param<0>_type<1> = [KeyEvent,35,46,54]; @symbol_return<0> = [Lang,35,59,63]; @symbol_return<1> = [Boolean,35,64,71]; ] + function onKeyPressed(keyEvent as WatchUi.KeyEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_35_72_40_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 36 6 ] + symbol [ $ %tmp.1 36 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onKeyPressed"; + symbol [ kjr ? 36 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 37 6 ] + symbol [ System %tmp.4 37 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 37 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %keyEvent; + symbol [ keyEvent %tmp.6 37 21 29 ]; + symbol [ getKey %tmp.7 37 30 36 ]; + %tmp.7 = getv function %tmp.6 :getKey; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 38 6 ] + symbol [ WatchUi %tmp.9 38 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 38 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 39 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_35_72_40_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 41; @symbol_functiondef = [onKeyReleased,41,13,26]; @symbol_param<0> = [keyEvent,41,27,35]; @symbol_param<0>_type<0> = [WatchUi,41,39,46]; @symbol_param<0>_type<1> = [KeyEvent,41,47,55]; @symbol_return<0> = [Lang,41,60,64]; @symbol_return<1> = [Boolean,41,65,72]; ] + function onKeyReleased(keyEvent as WatchUi.KeyEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_41_73_46_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 42 6 ] + symbol [ $ %tmp.1 42 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onKeyReleased"; + symbol [ kjr ? 42 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 43 6 ] + symbol [ System %tmp.4 43 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 43 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %keyEvent; + symbol [ keyEvent %tmp.6 43 21 29 ]; + symbol [ getKey %tmp.7 43 30 36 ]; + %tmp.7 = getv function %tmp.6 :getKey; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 44 6 ] + symbol [ WatchUi %tmp.9 44 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 44 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 45 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_41_73_46_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 47; @symbol_functiondef = [onRelease,47,13,22]; @symbol_param<0> = [clickEvent,47,23,33]; @symbol_param<0>_type<0> = [WatchUi,47,37,44]; @symbol_param<0>_type<1> = [ClickEvent,47,45,55]; @symbol_return<0> = [Lang,47,60,64]; @symbol_return<1> = [Boolean,47,65,72]; ] + function onRelease(clickEvent as WatchUi.ClickEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_47_73_52_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 48 6 ] + symbol [ $ %tmp.1 48 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onRelease"; + symbol [ kjr ? 48 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 49 6 ] + symbol [ System %tmp.4 49 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 49 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %clickEvent; + symbol [ clickEvent %tmp.6 49 21 31 ]; + symbol [ getType %tmp.7 49 32 39 ]; + %tmp.7 = getv function %tmp.6 :getType; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 50 6 ] + symbol [ WatchUi %tmp.9 50 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 50 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 51 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_47_73_52_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 53; @symbol_functiondef = [onSelectable,53,13,25]; @symbol_param<0> = [selectableEvent,53,26,41]; @symbol_param<0>_type<0> = [WatchUi,53,45,52]; @symbol_param<0>_type<1> = [SelectableEvent,53,53,68]; @symbol_return<0> = [Lang,53,73,77]; @symbol_return<1> = [Boolean,53,78,85]; ] + function onSelectable(selectableEvent as WatchUi.SelectableEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_53_86_57_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 54 6 ] + symbol [ $ %tmp.1 54 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onSelectable"; + symbol [ kjr ? 54 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 55 6 ] + symbol [ WatchUi %tmp.3 55 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 55 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 56 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_53_86_57_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 58; @symbol_functiondef = [onSwipe,58,13,20]; @symbol_param<0> = [swipeEvent,58,21,31]; @symbol_param<0>_type<0> = [WatchUi,58,35,42]; @symbol_param<0>_type<1> = [SwipeEvent,58,43,53]; @symbol_return<0> = [Lang,58,58,62]; @symbol_return<1> = [Boolean,58,63,70]; ] + function onSwipe(swipeEvent as WatchUi.SwipeEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_58_71_63_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 59 6 ] + symbol [ $ %tmp.1 59 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onSwipe"; + symbol [ kjr ? 59 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 60 6 ] + symbol [ System %tmp.4 60 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 60 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %swipeEvent; + symbol [ swipeEvent %tmp.6 60 21 31 ]; + symbol [ getDirection %tmp.7 60 32 44 ]; + %tmp.7 = getv function %tmp.6 :getDirection; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 61 6 ] + symbol [ WatchUi %tmp.9 61 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 61 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 62 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_58_71_63_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 64; @symbol_functiondef = [onTap,64,13,18]; @symbol_param<0> = [clickEvent,64,19,29]; @symbol_param<0>_type<0> = [WatchUi,64,33,40]; @symbol_param<0>_type<1> = [ClickEvent,64,41,51]; @symbol_return<0> = [Lang,64,56,60]; @symbol_return<1> = [Boolean,64,61,68]; ] + function onTap(clickEvent as WatchUi.ClickEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_64_69_69_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 65 6 ] + symbol [ $ %tmp.1 65 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onTap"; + symbol [ kjr ? 65 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 66 6 ] + symbol [ System %tmp.4 66 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 66 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %clickEvent; + symbol [ clickEvent %tmp.6 66 21 31 ]; + symbol [ getType %tmp.7 66 32 39 ]; + %tmp.7 = getv function %tmp.6 :getType; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 67 6 ] + symbol [ WatchUi %tmp.9 67 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 67 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 68 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_64_69_69_4_stop: + } +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 72; @symbol_classdef = [MyBehaviorDelegate,72,6,24]; @symbol_extends<0> = [WatchUi,72,33,40]; @symbol_extends<1> = [BehaviorDelegate,72,41,57]; ] +class MyBehaviorDelegate extends WatchUi.BehaviorDelegate { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 72; ] + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 72; ] + static + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 74; @symbol_functiondef = [initialize,74,13,23]; ] + function initialize() as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_74_26_76_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 75 8 ] + symbol [ BehaviorDelegate %tmp.2 75 8 24 ]; + %tmp.2 = getv ? :BehaviorDelegate; + symbol [ initialize %tmp.3 75 25 35 ]; + %tmp.3 = getv function %tmp.2 :initialize; + invoke %tmp.2 %tmp.3(); +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_74_26_76_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 78; @symbol_functiondef = [onMenu,78,13,19]; @symbol_return<0> = [Boolean,78,25,32]; ] + function onMenu() as Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_78_33_82_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 79 6 ] + symbol [ $ %tmp.1 79 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "OnMenu"; + symbol [ kjr ? 79 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 80 6 ] + symbol [ WatchUi %tmp.3 80 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 80 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 81 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_78_33_82_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 83; @symbol_functiondef = [onActionMenu,83,13,25]; @symbol_return<0> = [Boolean,83,31,38]; ] + function onActionMenu() as Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_83_39_87_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 84 6 ] + symbol [ $ %tmp.1 84 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onActionMenu"; + symbol [ kjr ? 84 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 85 6 ] + symbol [ WatchUi %tmp.3 85 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 85 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 86 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_83_39_87_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 89; @symbol_functiondef = [onBack,89,13,19]; @symbol_return<0> = [Boolean,89,25,32]; ] + function onBack() as Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_89_33_93_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 90 6 ] + symbol [ $ %tmp.1 90 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onBack"; + symbol [ kjr ? 90 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 91 6 ] + symbol [ WatchUi %tmp.3 91 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 91 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 92 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_89_33_93_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 95; @symbol_functiondef = [onNextMode,95,13,23]; @symbol_return<0> = [Lang,95,29,33]; @symbol_return<1> = [Boolean,95,34,41]; ] + function onNextMode() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_95_42_99_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 96 6 ] + symbol [ $ %tmp.1 96 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onNextMode"; + symbol [ kjr ? 96 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 97 6 ] + symbol [ WatchUi %tmp.3 97 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 97 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 98 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_95_42_99_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 101; @symbol_functiondef = [onNextPage,101,13,23]; @symbol_return<0> = [Lang,101,29,33]; @symbol_return<1> = [Boolean,101,34,41]; ] + function onNextPage() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_101_42_105_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 102 6 ] + symbol [ $ %tmp.1 102 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onNextPage"; + symbol [ kjr ? 102 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 103 6 ] + symbol [ WatchUi %tmp.3 103 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 103 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 104 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_101_42_105_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 107; @symbol_functiondef = [onPreviousMode,107,13,27]; @symbol_return<0> = [Lang,107,33,37]; @symbol_return<1> = [Boolean,107,38,45]; ] + function onPreviousMode() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_107_46_111_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 108 6 ] + symbol [ $ %tmp.1 108 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onPreviousMode"; + symbol [ kjr ? 108 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 109 6 ] + symbol [ WatchUi %tmp.3 109 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 109 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 110 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_107_46_111_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 113; @symbol_functiondef = [onPreviousPage,113,13,27]; @symbol_return<0> = [Lang,113,33,37]; @symbol_return<1> = [Boolean,113,38,45]; ] + function onPreviousPage() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_113_46_117_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 114 6 ] + symbol [ $ %tmp.1 114 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onPreviousPage"; + symbol [ kjr ? 114 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 115 6 ] + symbol [ WatchUi %tmp.3 115 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 115 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 116 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_113_46_117_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 119; @symbol_functiondef = [onSelect,119,13,21]; @symbol_return<0> = [Lang,119,27,31]; @symbol_return<1> = [Boolean,119,32,39]; ] + function onSelect() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_119_39_123_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 120 6 ] + symbol [ $ %tmp.1 120 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onSelect"; + symbol [ kjr ? 120 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 121 6 ] + symbol [ WatchUi %tmp.3 121 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 121 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc" 122 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_TestDelegate_mc_119_39_123_4_stop: + } +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/TestDelegate.mc"; @line = 1; ] + { +} diff --git a/bin/mir/source/Themes.mir b/bin/mir/source/Themes.mir new file mode 100644 index 0000000..f36e17f --- /dev/null +++ b/bin/mir/source/Themes.mir @@ -0,0 +1,1556 @@ +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Graphics,1,14,22]; ] +import Toybox.Graphics; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [Lang,2,14,18]; ] +import Toybox.Lang; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Time,3,14,18]; ] +import Toybox.Time; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 4; @symbol_importdef<0> = [Toybox,4,7,13]; @symbol_importdef<1> = [UserProfile,4,14,25]; ] +import Toybox.UserProfile; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 6; @symbol_enumdef = [colourThemes,6,12,24]; ] +enum colourThemes { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 7; @position = 4; @symbol_enumdec = [background,7,4,14]; ] + background = 0, + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 8; @position = 4; @symbol_enumdec = [timer,8,4,9]; ] + timer, + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 9; @position = 4; @symbol_enumdec = [timerBg,9,4,11]; ] + timerBg, + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 10; @position = 4; @symbol_enumdec = [timerBreak,10,4,14]; ] + timerBreak, + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 11; @position = 4; @symbol_enumdec = [timerPause,11,4,14]; ] + timerPause, + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 12; @position = 4; @symbol_enumdec = [progress,12,4,12]; ] + progress, + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 13; @position = 4; @symbol_enumdec = [text,13,4,8]; ] + text +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 16; @position = 11; @symbol_vardef = [gColours,16,11,19]; @symbol_type<0> = [Array,16,23,28]; ] +var gColours as Array; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 18; @symbol_functiondef = [setColourTheme,18,16,30]; @symbol_param<0> = [id,18,31,33]; @symbol_param<0>_type<0> = [Number,18,37,43]; ] +function setColourTheme(id as Number) as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_18_53_49_0_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 19 4 ] + %tmp.1 = lgetv %id; + symbol [ id %tmp.1 19 11 13 ]; + push %tmp.1; + switch %tmp.1 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtBegin: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 20 8 ] + %tmp.2 = dup %tmp.1; + %tmp.3 = 0; + %tmp.4 = getv function %tmp.2 :equals; + %tmp.5 = invoke %tmp.2 %tmp.4 (%tmp.3); + bt %tmp.5 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_20_8_20_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 21 8 ] + %tmp.6 = dup %tmp.1; + %tmp.7 = 1; + %tmp.8 = getv function %tmp.6 :equals; + %tmp.9 = invoke %tmp.6 %tmp.8 (%tmp.7); + bt %tmp.9 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_21_8_21_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 22 8 ] + %tmp.10 = dup %tmp.1; + %tmp.11 = 2; + %tmp.12 = getv function %tmp.10 :equals; + %tmp.13 = invoke %tmp.10 %tmp.12 (%tmp.11); + bt %tmp.13 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_22_8_22_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 23 8 ] + %tmp.14 = dup %tmp.1; + %tmp.15 = 3; + %tmp.16 = getv function %tmp.14 :equals; + %tmp.17 = invoke %tmp.14 %tmp.16 (%tmp.15); + bt %tmp.17 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_23_8_23_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 24 8 ] + %tmp.18 = dup %tmp.1; + %tmp.19 = 4; + %tmp.20 = getv function %tmp.18 :equals; + %tmp.21 = invoke %tmp.18 %tmp.20 (%tmp.19); + bt %tmp.21 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_24_8_24_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 25 8 ] + %tmp.22 = dup %tmp.1; + %tmp.23 = 5; + %tmp.24 = getv function %tmp.22 :equals; + %tmp.25 = invoke %tmp.22 %tmp.24 (%tmp.23); + bt %tmp.25 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_25_8_25_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 26 8 ] + %tmp.26 = dup %tmp.1; + %tmp.27 = 6; + %tmp.28 = getv function %tmp.26 :equals; + %tmp.29 = invoke %tmp.26 %tmp.28 (%tmp.27); + bt %tmp.29 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_26_8_26_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 27 8 ] + %tmp.30 = dup %tmp.1; + %tmp.31 = 7; + %tmp.32 = getv function %tmp.30 :equals; + %tmp.33 = invoke %tmp.30 %tmp.32 (%tmp.31); + bt %tmp.33 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_27_8_27_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 28 8 ] + %tmp.34 = dup %tmp.1; + %tmp.35 = 8; + %tmp.36 = getv function %tmp.34 :equals; + %tmp.37 = invoke %tmp.34 %tmp.36 (%tmp.35); + bt %tmp.37 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_28_8_28_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 29 8 ] + %tmp.38 = dup %tmp.1; + %tmp.39 = 9; + %tmp.40 = getv function %tmp.38 :equals; + %tmp.41 = invoke %tmp.38 %tmp.40 (%tmp.39); + bt %tmp.41 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_29_8_29_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 30 8 ] + %tmp.42 = dup %tmp.1; + %tmp.43 = 10; + %tmp.44 = getv function %tmp.42 :equals; + %tmp.45 = invoke %tmp.42 %tmp.44 (%tmp.43); + bt %tmp.45 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_30_8_30_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 31 8 ] + %tmp.46 = dup %tmp.1; + %tmp.47 = 11; + %tmp.48 = getv function %tmp.46 :equals; + %tmp.49 = invoke %tmp.46 %tmp.48 (%tmp.47); + bt %tmp.49 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_31_8_31_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 32 8 ] + %tmp.50 = dup %tmp.1; + %tmp.51 = 12; + %tmp.52 = getv function %tmp.50 :equals; + %tmp.53 = invoke %tmp.50 %tmp.52 (%tmp.51); + bt %tmp.53 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_32_8_32_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 33 8 ] + %tmp.54 = dup %tmp.1; + %tmp.55 = 13; + %tmp.56 = getv function %tmp.54 :equals; + %tmp.57 = invoke %tmp.54 %tmp.56 (%tmp.55); + bt %tmp.57 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_33_8_33_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 34 8 ] + %tmp.58 = dup %tmp.1; + %tmp.59 = 14; + %tmp.60 = getv function %tmp.58 :equals; + %tmp.61 = invoke %tmp.58 %tmp.60 (%tmp.59); + bt %tmp.61 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_34_8_34_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 35 8 ] + %tmp.62 = dup %tmp.1; + %tmp.63 = 15; + %tmp.64 = getv function %tmp.62 :equals; + %tmp.65 = invoke %tmp.62 %tmp.64 (%tmp.63); + bt %tmp.65 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_35_8_35_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 36 8 ] + %tmp.66 = dup %tmp.1; + %tmp.67 = 16; + %tmp.68 = getv function %tmp.66 :equals; + %tmp.69 = invoke %tmp.66 %tmp.68 (%tmp.67); + bt %tmp.69 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_36_8_36_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 37 8 ] + %tmp.70 = dup %tmp.1; + %tmp.71 = 17; + %tmp.72 = getv function %tmp.70 :equals; + %tmp.73 = invoke %tmp.70 %tmp.72 (%tmp.71); + bt %tmp.73 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_37_8_37_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 38 8 ] + %tmp.74 = dup %tmp.1; + %tmp.75 = 18; + %tmp.76 = getv function %tmp.74 :equals; + %tmp.77 = invoke %tmp.74 %tmp.76 (%tmp.75); + bt %tmp.77 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_38_8_38_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 39 8 ] + %tmp.78 = dup %tmp.1; + %tmp.79 = 19; + %tmp.80 = getv function %tmp.78 :equals; + %tmp.81 = invoke %tmp.78 %tmp.80 (%tmp.79); + bt %tmp.81 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_39_8_39_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 40 8 ] + %tmp.82 = dup %tmp.1; + %tmp.83 = 20; + %tmp.84 = getv function %tmp.82 :equals; + %tmp.85 = invoke %tmp.82 %tmp.84 (%tmp.83); + bt %tmp.85 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_40_8_40_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 41 8 ] + %tmp.86 = dup %tmp.1; + %tmp.87 = 21; + %tmp.88 = getv function %tmp.86 :equals; + %tmp.89 = invoke %tmp.86 %tmp.88 (%tmp.87); + bt %tmp.89 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_41_8_41_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 42 8 ] + %tmp.90 = dup %tmp.1; + %tmp.91 = 22; + %tmp.92 = getv function %tmp.90 :equals; + %tmp.93 = invoke %tmp.90 %tmp.92 (%tmp.91); + bt %tmp.93 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_42_8_42_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 43 8 ] + %tmp.94 = dup %tmp.1; + %tmp.95 = 23; + %tmp.96 = getv function %tmp.94 :equals; + %tmp.97 = invoke %tmp.94 %tmp.96 (%tmp.95); + bt %tmp.97 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_43_8_43_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 44 8 ] + %tmp.98 = dup %tmp.1; + %tmp.99 = 24; + %tmp.100 = getv function %tmp.98 :equals; + %tmp.101 = invoke %tmp.98 %tmp.100 (%tmp.99); + bt %tmp.101 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_44_8_44_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 45 8 ] + %tmp.102 = dup %tmp.1; + %tmp.103 = 25; + %tmp.104 = getv function %tmp.102 :equals; + %tmp.105 = invoke %tmp.102 %tmp.104 (%tmp.103); + bt %tmp.105 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_45_8_45_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 46 8 ] + %tmp.106 = dup %tmp.1; + %tmp.107 = 26; + %tmp.108 = getv function %tmp.106 :equals; + %tmp.109 = invoke %tmp.106 %tmp.108 (%tmp.107); + bt %tmp.109 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_46_8_46_167_switchCase; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 47 8 ] +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtDefault: + goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_defaultCodeBegin; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_20_8_20_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 20 17 ] + symbol [ $ %tmp.110 20 17 18 ]; + %tmp.110 = getm $; + %tmp.111 = newa 13; + %tmp.112 = 0x000000; + %tmp.113 = dup %tmp.111; + %tmp.114 = aputv %tmp.113 0 %tmp.112; + %tmp.115 = 0xFFFF00; + %tmp.116 = dup %tmp.114; + %tmp.117 = aputv %tmp.116 1 %tmp.115; + %tmp.118 = 0x005555; + %tmp.119 = dup %tmp.117; + %tmp.120 = aputv %tmp.119 2 %tmp.118; + %tmp.121 = 0xFF0000; + %tmp.122 = dup %tmp.120; + %tmp.123 = aputv %tmp.122 3 %tmp.121; + %tmp.124 = 0xFFFFFF; + %tmp.125 = dup %tmp.123; + %tmp.126 = aputv %tmp.125 4 %tmp.124; + %tmp.127 = 0x005555; + %tmp.128 = dup %tmp.126; + %tmp.129 = aputv %tmp.128 5 %tmp.127; + %tmp.130 = 0x55AAAA; + %tmp.131 = dup %tmp.129; + %tmp.132 = aputv %tmp.131 6 %tmp.130; + %tmp.133 = 0xFFFF00; + %tmp.134 = dup %tmp.132; + %tmp.135 = aputv %tmp.134 7 %tmp.133; + %tmp.136 = 0xa98753; + %tmp.137 = dup %tmp.135; + %tmp.138 = aputv %tmp.137 8 %tmp.136; + %tmp.139 = 0x00AAFF; + %tmp.140 = dup %tmp.138; + %tmp.141 = aputv %tmp.140 9 %tmp.139; + %tmp.142 = 0xFFAA00; + %tmp.143 = dup %tmp.141; + %tmp.144 = aputv %tmp.143 10 %tmp.142; + %tmp.145 = 0x00AAFF; + %tmp.146 = dup %tmp.144; + %tmp.147 = aputv %tmp.146 11 %tmp.145; + %tmp.148 = 0xFFFFFF; + %tmp.149 = dup %tmp.147; + %tmp.150 = aputv %tmp.149 12 %tmp.148; + symbol [ gColours ? 20 19 27 ]; + putv %tmp.110 :gColours %tmp.150; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 20 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_21_8_21_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 21 17 ] + symbol [ $ %tmp.151 21 17 18 ]; + %tmp.151 = getm $; + %tmp.152 = newa 13; + %tmp.153 = 0x000000; + %tmp.154 = dup %tmp.152; + %tmp.155 = aputv %tmp.154 0 %tmp.153; + %tmp.156 = 0xFFFF00; + %tmp.157 = dup %tmp.155; + %tmp.158 = aputv %tmp.157 1 %tmp.156; + %tmp.159 = 0x005555; + %tmp.160 = dup %tmp.158; + %tmp.161 = aputv %tmp.160 2 %tmp.159; + %tmp.162 = 0xFF0000; + %tmp.163 = dup %tmp.161; + %tmp.164 = aputv %tmp.163 3 %tmp.162; + %tmp.165 = 0xFFFFFF; + %tmp.166 = dup %tmp.164; + %tmp.167 = aputv %tmp.166 4 %tmp.165; + %tmp.168 = 0x005555; + %tmp.169 = dup %tmp.167; + %tmp.170 = aputv %tmp.169 5 %tmp.168; + %tmp.171 = 0x55AAAA; + %tmp.172 = dup %tmp.170; + %tmp.173 = aputv %tmp.172 6 %tmp.171; + %tmp.174 = 0xFFFF00; + %tmp.175 = dup %tmp.173; + %tmp.176 = aputv %tmp.175 7 %tmp.174; + %tmp.177 = 0xa98753; + %tmp.178 = dup %tmp.176; + %tmp.179 = aputv %tmp.178 8 %tmp.177; + %tmp.180 = 0x00AAFF; + %tmp.181 = dup %tmp.179; + %tmp.182 = aputv %tmp.181 9 %tmp.180; + %tmp.183 = 0xFFAA00; + %tmp.184 = dup %tmp.182; + %tmp.185 = aputv %tmp.184 10 %tmp.183; + %tmp.186 = 0x00AAFF; + %tmp.187 = dup %tmp.185; + %tmp.188 = aputv %tmp.187 11 %tmp.186; + %tmp.189 = 0xFFFFFF; + %tmp.190 = dup %tmp.188; + %tmp.191 = aputv %tmp.190 12 %tmp.189; + symbol [ gColours ? 21 19 27 ]; + putv %tmp.151 :gColours %tmp.191; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 21 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_22_8_22_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 22 17 ] + symbol [ $ %tmp.192 22 17 18 ]; + %tmp.192 = getm $; + %tmp.193 = newa 13; + %tmp.194 = 0x000000; + %tmp.195 = dup %tmp.193; + %tmp.196 = aputv %tmp.195 0 %tmp.194; + %tmp.197 = 0xFFFF00; + %tmp.198 = dup %tmp.196; + %tmp.199 = aputv %tmp.198 1 %tmp.197; + %tmp.200 = 0x005555; + %tmp.201 = dup %tmp.199; + %tmp.202 = aputv %tmp.201 2 %tmp.200; + %tmp.203 = 0xFF0000; + %tmp.204 = dup %tmp.202; + %tmp.205 = aputv %tmp.204 3 %tmp.203; + %tmp.206 = 0xFFFFFF; + %tmp.207 = dup %tmp.205; + %tmp.208 = aputv %tmp.207 4 %tmp.206; + %tmp.209 = 0x005555; + %tmp.210 = dup %tmp.208; + %tmp.211 = aputv %tmp.210 5 %tmp.209; + %tmp.212 = 0x55AAAA; + %tmp.213 = dup %tmp.211; + %tmp.214 = aputv %tmp.213 6 %tmp.212; + %tmp.215 = 0xFFFF00; + %tmp.216 = dup %tmp.214; + %tmp.217 = aputv %tmp.216 7 %tmp.215; + %tmp.218 = 0xa98753; + %tmp.219 = dup %tmp.217; + %tmp.220 = aputv %tmp.219 8 %tmp.218; + %tmp.221 = 0x00AAFF; + %tmp.222 = dup %tmp.220; + %tmp.223 = aputv %tmp.222 9 %tmp.221; + %tmp.224 = 0xFFAA00; + %tmp.225 = dup %tmp.223; + %tmp.226 = aputv %tmp.225 10 %tmp.224; + %tmp.227 = 0x00AAFF; + %tmp.228 = dup %tmp.226; + %tmp.229 = aputv %tmp.228 11 %tmp.227; + %tmp.230 = 0xFFFFFF; + %tmp.231 = dup %tmp.229; + %tmp.232 = aputv %tmp.231 12 %tmp.230; + symbol [ gColours ? 22 19 27 ]; + putv %tmp.192 :gColours %tmp.232; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 22 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_23_8_23_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 23 17 ] + symbol [ $ %tmp.233 23 17 18 ]; + %tmp.233 = getm $; + %tmp.234 = newa 13; + %tmp.235 = 0x000000; + %tmp.236 = dup %tmp.234; + %tmp.237 = aputv %tmp.236 0 %tmp.235; + %tmp.238 = 0xFFFF00; + %tmp.239 = dup %tmp.237; + %tmp.240 = aputv %tmp.239 1 %tmp.238; + %tmp.241 = 0x005555; + %tmp.242 = dup %tmp.240; + %tmp.243 = aputv %tmp.242 2 %tmp.241; + %tmp.244 = 0xFF0000; + %tmp.245 = dup %tmp.243; + %tmp.246 = aputv %tmp.245 3 %tmp.244; + %tmp.247 = 0xFFFFFF; + %tmp.248 = dup %tmp.246; + %tmp.249 = aputv %tmp.248 4 %tmp.247; + %tmp.250 = 0x005555; + %tmp.251 = dup %tmp.249; + %tmp.252 = aputv %tmp.251 5 %tmp.250; + %tmp.253 = 0x55AAAA; + %tmp.254 = dup %tmp.252; + %tmp.255 = aputv %tmp.254 6 %tmp.253; + %tmp.256 = 0xFFFF00; + %tmp.257 = dup %tmp.255; + %tmp.258 = aputv %tmp.257 7 %tmp.256; + %tmp.259 = 0xa98753; + %tmp.260 = dup %tmp.258; + %tmp.261 = aputv %tmp.260 8 %tmp.259; + %tmp.262 = 0x00AAFF; + %tmp.263 = dup %tmp.261; + %tmp.264 = aputv %tmp.263 9 %tmp.262; + %tmp.265 = 0xFFAA00; + %tmp.266 = dup %tmp.264; + %tmp.267 = aputv %tmp.266 10 %tmp.265; + %tmp.268 = 0x00AAFF; + %tmp.269 = dup %tmp.267; + %tmp.270 = aputv %tmp.269 11 %tmp.268; + %tmp.271 = 0xFFFFFF; + %tmp.272 = dup %tmp.270; + %tmp.273 = aputv %tmp.272 12 %tmp.271; + symbol [ gColours ? 23 19 27 ]; + putv %tmp.233 :gColours %tmp.273; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 23 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_24_8_24_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 24 17 ] + symbol [ $ %tmp.274 24 17 18 ]; + %tmp.274 = getm $; + %tmp.275 = newa 13; + %tmp.276 = 0x000000; + %tmp.277 = dup %tmp.275; + %tmp.278 = aputv %tmp.277 0 %tmp.276; + %tmp.279 = 0xFF55AA; + %tmp.280 = dup %tmp.278; + %tmp.281 = aputv %tmp.280 1 %tmp.279; + %tmp.282 = 0x005555; + %tmp.283 = dup %tmp.281; + %tmp.284 = aputv %tmp.283 2 %tmp.282; + %tmp.285 = 0xFF55AA; + %tmp.286 = dup %tmp.284; + %tmp.287 = aputv %tmp.286 3 %tmp.285; + %tmp.288 = 0xFFFFFF; + %tmp.289 = dup %tmp.287; + %tmp.290 = aputv %tmp.289 4 %tmp.288; + %tmp.291 = 0x005555; + %tmp.292 = dup %tmp.290; + %tmp.293 = aputv %tmp.292 5 %tmp.291; + %tmp.294 = 0xAA55AA; + %tmp.295 = dup %tmp.293; + %tmp.296 = aputv %tmp.295 6 %tmp.294; + %tmp.297 = 0xFFFFFF; + %tmp.298 = dup %tmp.296; + %tmp.299 = aputv %tmp.298 7 %tmp.297; + %tmp.300 = 0xa95399; + %tmp.301 = dup %tmp.299; + %tmp.302 = aputv %tmp.301 8 %tmp.300; + %tmp.303 = 0xFF55AA; + %tmp.304 = dup %tmp.302; + %tmp.305 = aputv %tmp.304 9 %tmp.303; + %tmp.306 = 0xFF55AA; + %tmp.307 = dup %tmp.305; + %tmp.308 = aputv %tmp.307 10 %tmp.306; + %tmp.309 = 0x00FFAA; + %tmp.310 = dup %tmp.308; + %tmp.311 = aputv %tmp.310 11 %tmp.309; + %tmp.312 = 0xFFFFFF; + %tmp.313 = dup %tmp.311; + %tmp.314 = aputv %tmp.313 12 %tmp.312; + symbol [ gColours ? 24 19 27 ]; + putv %tmp.274 :gColours %tmp.314; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 24 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_25_8_25_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 25 17 ] + symbol [ $ %tmp.315 25 17 18 ]; + %tmp.315 = getm $; + %tmp.316 = newa 13; + %tmp.317 = 0x000000; + %tmp.318 = dup %tmp.316; + %tmp.319 = aputv %tmp.318 0 %tmp.317; + %tmp.320 = 0x00FFFF; + %tmp.321 = dup %tmp.319; + %tmp.322 = aputv %tmp.321 1 %tmp.320; + %tmp.323 = 0x0055AA; + %tmp.324 = dup %tmp.322; + %tmp.325 = aputv %tmp.324 2 %tmp.323; + %tmp.326 = 0x00FFFF; + %tmp.327 = dup %tmp.325; + %tmp.328 = aputv %tmp.327 3 %tmp.326; + %tmp.329 = 0xFFFFFF; + %tmp.330 = dup %tmp.328; + %tmp.331 = aputv %tmp.330 4 %tmp.329; + %tmp.332 = 0x0055AA; + %tmp.333 = dup %tmp.331; + %tmp.334 = aputv %tmp.333 5 %tmp.332; + %tmp.335 = 0x55AAAA; + %tmp.336 = dup %tmp.334; + %tmp.337 = aputv %tmp.336 6 %tmp.335; + %tmp.338 = 0x00FFFF; + %tmp.339 = dup %tmp.337; + %tmp.340 = aputv %tmp.339 7 %tmp.338; + %tmp.341 = 0x5ca28f; + %tmp.342 = dup %tmp.340; + %tmp.343 = aputv %tmp.342 8 %tmp.341; + %tmp.344 = 0x00AAFF; + %tmp.345 = dup %tmp.343; + %tmp.346 = aputv %tmp.345 9 %tmp.344; + %tmp.347 = 0xFFAA00; + %tmp.348 = dup %tmp.346; + %tmp.349 = aputv %tmp.348 10 %tmp.347; + %tmp.350 = 0x00AAFF; + %tmp.351 = dup %tmp.349; + %tmp.352 = aputv %tmp.351 11 %tmp.350; + %tmp.353 = 0xFFFFFF; + %tmp.354 = dup %tmp.352; + %tmp.355 = aputv %tmp.354 12 %tmp.353; + symbol [ gColours ? 25 19 27 ]; + putv %tmp.315 :gColours %tmp.355; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 25 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_26_8_26_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 26 17 ] + symbol [ $ %tmp.356 26 17 18 ]; + %tmp.356 = getm $; + %tmp.357 = newa 13; + %tmp.358 = 0x000000; + %tmp.359 = dup %tmp.357; + %tmp.360 = aputv %tmp.359 0 %tmp.358; + %tmp.361 = 0x00FF00; + %tmp.362 = dup %tmp.360; + %tmp.363 = aputv %tmp.362 1 %tmp.361; + %tmp.364 = 0x005500; + %tmp.365 = dup %tmp.363; + %tmp.366 = aputv %tmp.365 2 %tmp.364; + %tmp.367 = 0x00FF00; + %tmp.368 = dup %tmp.366; + %tmp.369 = aputv %tmp.368 3 %tmp.367; + %tmp.370 = 0xFFFFFF; + %tmp.371 = dup %tmp.369; + %tmp.372 = aputv %tmp.371 4 %tmp.370; + %tmp.373 = 0x005500; + %tmp.374 = dup %tmp.372; + %tmp.375 = aputv %tmp.374 5 %tmp.373; + %tmp.376 = 0x00AA55; + %tmp.377 = dup %tmp.375; + %tmp.378 = aputv %tmp.377 6 %tmp.376; + %tmp.379 = 0x00FF00; + %tmp.380 = dup %tmp.378; + %tmp.381 = aputv %tmp.380 7 %tmp.379; + %tmp.382 = 0x5ca28f; + %tmp.383 = dup %tmp.381; + %tmp.384 = aputv %tmp.383 8 %tmp.382; + %tmp.385 = 0x00AAFF; + %tmp.386 = dup %tmp.384; + %tmp.387 = aputv %tmp.386 9 %tmp.385; + %tmp.388 = 0xFFAA00; + %tmp.389 = dup %tmp.387; + %tmp.390 = aputv %tmp.389 10 %tmp.388; + %tmp.391 = 0x00AAFF; + %tmp.392 = dup %tmp.390; + %tmp.393 = aputv %tmp.392 11 %tmp.391; + %tmp.394 = 0xFFFFFF; + %tmp.395 = dup %tmp.393; + %tmp.396 = aputv %tmp.395 12 %tmp.394; + symbol [ gColours ? 26 19 27 ]; + putv %tmp.356 :gColours %tmp.396; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 26 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_27_8_27_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 27 17 ] + symbol [ $ %tmp.397 27 17 18 ]; + %tmp.397 = getm $; + %tmp.398 = newa 13; + %tmp.399 = 0x000000; + %tmp.400 = dup %tmp.398; + %tmp.401 = aputv %tmp.400 0 %tmp.399; + %tmp.402 = 0xFFFFFF; + %tmp.403 = dup %tmp.401; + %tmp.404 = aputv %tmp.403 1 %tmp.402; + %tmp.405 = 0x005555; + %tmp.406 = dup %tmp.404; + %tmp.407 = aputv %tmp.406 2 %tmp.405; + %tmp.408 = 0xFFFFFF; + %tmp.409 = dup %tmp.407; + %tmp.410 = aputv %tmp.409 3 %tmp.408; + %tmp.411 = 0xFFFFFF; + %tmp.412 = dup %tmp.410; + %tmp.413 = aputv %tmp.412 4 %tmp.411; + %tmp.414 = 0x005555; + %tmp.415 = dup %tmp.413; + %tmp.416 = aputv %tmp.415 5 %tmp.414; + %tmp.417 = 0x55AAAA; + %tmp.418 = dup %tmp.416; + %tmp.419 = aputv %tmp.418 6 %tmp.417; + %tmp.420 = 0xFFFFFF; + %tmp.421 = dup %tmp.419; + %tmp.422 = aputv %tmp.421 7 %tmp.420; + %tmp.423 = 0x114a5a; + %tmp.424 = dup %tmp.422; + %tmp.425 = aputv %tmp.424 8 %tmp.423; + %tmp.426 = 0xAAAAAA; + %tmp.427 = dup %tmp.425; + %tmp.428 = aputv %tmp.427 9 %tmp.426; + %tmp.429 = 0xFFAA55; + %tmp.430 = dup %tmp.428; + %tmp.431 = aputv %tmp.430 10 %tmp.429; + %tmp.432 = 0x55AAFF; + %tmp.433 = dup %tmp.431; + %tmp.434 = aputv %tmp.433 11 %tmp.432; + %tmp.435 = 0xFFFFFF; + %tmp.436 = dup %tmp.434; + %tmp.437 = aputv %tmp.436 12 %tmp.435; + symbol [ gColours ? 27 19 27 ]; + putv %tmp.397 :gColours %tmp.437; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 27 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_28_8_28_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 28 17 ] + symbol [ $ %tmp.438 28 17 18 ]; + %tmp.438 = getm $; + %tmp.439 = newa 13; + %tmp.440 = 0x000000; + %tmp.441 = dup %tmp.439; + %tmp.442 = aputv %tmp.441 0 %tmp.440; + %tmp.443 = 0xFF5500; + %tmp.444 = dup %tmp.442; + %tmp.445 = aputv %tmp.444 1 %tmp.443; + %tmp.446 = 0x5500AA; + %tmp.447 = dup %tmp.445; + %tmp.448 = aputv %tmp.447 2 %tmp.446; + %tmp.449 = 0xFF5500; + %tmp.450 = dup %tmp.448; + %tmp.451 = aputv %tmp.450 3 %tmp.449; + %tmp.452 = 0xFFFFFF; + %tmp.453 = dup %tmp.451; + %tmp.454 = aputv %tmp.453 4 %tmp.452; + %tmp.455 = 0x5500AA; + %tmp.456 = dup %tmp.454; + %tmp.457 = aputv %tmp.456 5 %tmp.455; + %tmp.458 = 0xFFAAAA; + %tmp.459 = dup %tmp.457; + %tmp.460 = aputv %tmp.459 6 %tmp.458; + %tmp.461 = 0xFFAAAA; + %tmp.462 = dup %tmp.460; + %tmp.463 = aputv %tmp.462 7 %tmp.461; + %tmp.464 = 0xaa6e56; + %tmp.465 = dup %tmp.463; + %tmp.466 = aputv %tmp.465 8 %tmp.464; + %tmp.467 = 0xFFFFFF; + %tmp.468 = dup %tmp.466; + %tmp.469 = aputv %tmp.468 9 %tmp.467; + %tmp.470 = 0xFF5555; + %tmp.471 = dup %tmp.469; + %tmp.472 = aputv %tmp.471 10 %tmp.470; + %tmp.473 = 0x00AAFF; + %tmp.474 = dup %tmp.472; + %tmp.475 = aputv %tmp.474 11 %tmp.473; + %tmp.476 = 0xFFFFFF; + %tmp.477 = dup %tmp.475; + %tmp.478 = aputv %tmp.477 12 %tmp.476; + symbol [ gColours ? 28 19 27 ]; + putv %tmp.438 :gColours %tmp.478; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 28 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_29_8_29_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 29 17 ] + symbol [ $ %tmp.479 29 17 18 ]; + %tmp.479 = getm $; + %tmp.480 = newa 13; + %tmp.481 = 0x000000; + %tmp.482 = dup %tmp.480; + %tmp.483 = aputv %tmp.482 0 %tmp.481; + %tmp.484 = 0xFFFFFF; + %tmp.485 = dup %tmp.483; + %tmp.486 = aputv %tmp.485 1 %tmp.484; + %tmp.487 = 0xAA0000; + %tmp.488 = dup %tmp.486; + %tmp.489 = aputv %tmp.488 2 %tmp.487; + %tmp.490 = 0xFFFFFF; + %tmp.491 = dup %tmp.489; + %tmp.492 = aputv %tmp.491 3 %tmp.490; + %tmp.493 = 0xFFFFFF; + %tmp.494 = dup %tmp.492; + %tmp.495 = aputv %tmp.494 4 %tmp.493; + %tmp.496 = 0xAA0000; + %tmp.497 = dup %tmp.495; + %tmp.498 = aputv %tmp.497 5 %tmp.496; + %tmp.499 = 0xFF0000; + %tmp.500 = dup %tmp.498; + %tmp.501 = aputv %tmp.500 6 %tmp.499; + %tmp.502 = 0xFFFFFF; + %tmp.503 = dup %tmp.501; + %tmp.504 = aputv %tmp.503 7 %tmp.502; + %tmp.505 = 0xAA0000; + %tmp.506 = dup %tmp.504; + %tmp.507 = aputv %tmp.506 8 %tmp.505; + %tmp.508 = 0xFF0000; + %tmp.509 = dup %tmp.507; + %tmp.510 = aputv %tmp.509 9 %tmp.508; + %tmp.511 = 0xAA0000; + %tmp.512 = dup %tmp.510; + %tmp.513 = aputv %tmp.512 10 %tmp.511; + %tmp.514 = 0x00AAFF; + %tmp.515 = dup %tmp.513; + %tmp.516 = aputv %tmp.515 11 %tmp.514; + %tmp.517 = 0xFFFFFF; + %tmp.518 = dup %tmp.516; + %tmp.519 = aputv %tmp.518 12 %tmp.517; + symbol [ gColours ? 29 19 27 ]; + putv %tmp.479 :gColours %tmp.519; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 29 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_30_8_30_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 30 17 ] + symbol [ $ %tmp.520 30 17 18 ]; + %tmp.520 = getm $; + %tmp.521 = newa 13; + %tmp.522 = 0x000000; + %tmp.523 = dup %tmp.521; + %tmp.524 = aputv %tmp.523 0 %tmp.522; + %tmp.525 = 0xFFFFFF; + %tmp.526 = dup %tmp.524; + %tmp.527 = aputv %tmp.526 1 %tmp.525; + %tmp.528 = 0x0055AA; + %tmp.529 = dup %tmp.527; + %tmp.530 = aputv %tmp.529 2 %tmp.528; + %tmp.531 = 0xFFFFFF; + %tmp.532 = dup %tmp.530; + %tmp.533 = aputv %tmp.532 3 %tmp.531; + %tmp.534 = 0xFFFFFF; + %tmp.535 = dup %tmp.533; + %tmp.536 = aputv %tmp.535 4 %tmp.534; + %tmp.537 = 0x0055AA; + %tmp.538 = dup %tmp.536; + %tmp.539 = aputv %tmp.538 5 %tmp.537; + %tmp.540 = 0x0055AA; + %tmp.541 = dup %tmp.539; + %tmp.542 = aputv %tmp.541 6 %tmp.540; + %tmp.543 = 0xFFFFFF; + %tmp.544 = dup %tmp.542; + %tmp.545 = aputv %tmp.544 7 %tmp.543; + %tmp.546 = 0x0055AA; + %tmp.547 = dup %tmp.545; + %tmp.548 = aputv %tmp.547 8 %tmp.546; + %tmp.549 = 0x55AAFF; + %tmp.550 = dup %tmp.548; + %tmp.551 = aputv %tmp.550 9 %tmp.549; + %tmp.552 = 0xFFAA00; + %tmp.553 = dup %tmp.551; + %tmp.554 = aputv %tmp.553 10 %tmp.552; + %tmp.555 = 0x55AAFF; + %tmp.556 = dup %tmp.554; + %tmp.557 = aputv %tmp.556 11 %tmp.555; + %tmp.558 = 0xFFFFFF; + %tmp.559 = dup %tmp.557; + %tmp.560 = aputv %tmp.559 12 %tmp.558; + symbol [ gColours ? 30 19 27 ]; + putv %tmp.520 :gColours %tmp.560; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 30 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_31_8_31_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 31 17 ] + symbol [ $ %tmp.561 31 17 18 ]; + %tmp.561 = getm $; + %tmp.562 = newa 13; + %tmp.563 = 0x000000; + %tmp.564 = dup %tmp.562; + %tmp.565 = aputv %tmp.564 0 %tmp.563; + %tmp.566 = 0xFFAA00; + %tmp.567 = dup %tmp.565; + %tmp.568 = aputv %tmp.567 1 %tmp.566; + %tmp.569 = 0x002424; + %tmp.570 = dup %tmp.568; + %tmp.571 = aputv %tmp.570 2 %tmp.569; + %tmp.572 = 0xFFAA00; + %tmp.573 = dup %tmp.571; + %tmp.574 = aputv %tmp.573 3 %tmp.572; + %tmp.575 = 0xFFFFFF; + %tmp.576 = dup %tmp.574; + %tmp.577 = aputv %tmp.576 4 %tmp.575; + %tmp.578 = 0x005555; + %tmp.579 = dup %tmp.577; + %tmp.580 = aputv %tmp.579 5 %tmp.578; + %tmp.581 = 0x55AAAA; + %tmp.582 = dup %tmp.580; + %tmp.583 = aputv %tmp.582 6 %tmp.581; + %tmp.584 = 0xFFAA55; + %tmp.585 = dup %tmp.583; + %tmp.586 = aputv %tmp.585 7 %tmp.584; + %tmp.587 = 0x555555; + %tmp.588 = dup %tmp.586; + %tmp.589 = aputv %tmp.588 8 %tmp.587; + %tmp.590 = 0x55AAAA; + %tmp.591 = dup %tmp.589; + %tmp.592 = aputv %tmp.591 9 %tmp.590; + %tmp.593 = 0xFFAA00; + %tmp.594 = dup %tmp.592; + %tmp.595 = aputv %tmp.594 10 %tmp.593; + %tmp.596 = 0x55AAAA; + %tmp.597 = dup %tmp.595; + %tmp.598 = aputv %tmp.597 11 %tmp.596; + %tmp.599 = 0xFFFFFF; + %tmp.600 = dup %tmp.598; + %tmp.601 = aputv %tmp.600 12 %tmp.599; + symbol [ gColours ? 31 19 27 ]; + putv %tmp.561 :gColours %tmp.601; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 31 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_32_8_32_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 32 17 ] + symbol [ $ %tmp.602 32 17 18 ]; + %tmp.602 = getm $; + %tmp.603 = newa 13; + %tmp.604 = 0x000000; + %tmp.605 = dup %tmp.603; + %tmp.606 = aputv %tmp.605 0 %tmp.604; + %tmp.607 = 0xFFFFFF; + %tmp.608 = dup %tmp.606; + %tmp.609 = aputv %tmp.608 1 %tmp.607; + %tmp.610 = 0xaa5500; + %tmp.611 = dup %tmp.609; + %tmp.612 = aputv %tmp.611 2 %tmp.610; + %tmp.613 = 0xFFFFFF; + %tmp.614 = dup %tmp.612; + %tmp.615 = aputv %tmp.614 3 %tmp.613; + %tmp.616 = 0xFFFFFF; + %tmp.617 = dup %tmp.615; + %tmp.618 = aputv %tmp.617 4 %tmp.616; + %tmp.619 = 0xaa5500; + %tmp.620 = dup %tmp.618; + %tmp.621 = aputv %tmp.620 5 %tmp.619; + %tmp.622 = 0xFF5500; + %tmp.623 = dup %tmp.621; + %tmp.624 = aputv %tmp.623 6 %tmp.622; + %tmp.625 = 0xFFFFFF; + %tmp.626 = dup %tmp.624; + %tmp.627 = aputv %tmp.626 7 %tmp.625; + %tmp.628 = 0xAA5500; + %tmp.629 = dup %tmp.627; + %tmp.630 = aputv %tmp.629 8 %tmp.628; + %tmp.631 = 0x00AAFF; + %tmp.632 = dup %tmp.630; + %tmp.633 = aputv %tmp.632 9 %tmp.631; + %tmp.634 = 0xFFAA00; + %tmp.635 = dup %tmp.633; + %tmp.636 = aputv %tmp.635 10 %tmp.634; + %tmp.637 = 0x00AAFF; + %tmp.638 = dup %tmp.636; + %tmp.639 = aputv %tmp.638 11 %tmp.637; + %tmp.640 = 0xFFFFFF; + %tmp.641 = dup %tmp.639; + %tmp.642 = aputv %tmp.641 12 %tmp.640; + symbol [ gColours ? 32 19 27 ]; + putv %tmp.602 :gColours %tmp.642; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 32 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_33_8_33_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 33 17 ] + symbol [ $ %tmp.643 33 17 18 ]; + %tmp.643 = getm $; + %tmp.644 = newa 13; + %tmp.645 = 0x000000; + %tmp.646 = dup %tmp.644; + %tmp.647 = aputv %tmp.646 0 %tmp.645; + %tmp.648 = 0x0055AA; + %tmp.649 = dup %tmp.647; + %tmp.650 = aputv %tmp.649 1 %tmp.648; + %tmp.651 = 0x000055; + %tmp.652 = dup %tmp.650; + %tmp.653 = aputv %tmp.652 2 %tmp.651; + %tmp.654 = 0x0055AA; + %tmp.655 = dup %tmp.653; + %tmp.656 = aputv %tmp.655 3 %tmp.654; + %tmp.657 = 0xFFFFFF; + %tmp.658 = dup %tmp.656; + %tmp.659 = aputv %tmp.658 4 %tmp.657; + %tmp.660 = 0x555555; + %tmp.661 = dup %tmp.659; + %tmp.662 = aputv %tmp.661 5 %tmp.660; + %tmp.663 = 0x0055AA; + %tmp.664 = dup %tmp.662; + %tmp.665 = aputv %tmp.664 6 %tmp.663; + %tmp.666 = 0xFFFFFF; + %tmp.667 = dup %tmp.665; + %tmp.668 = aputv %tmp.667 7 %tmp.666; + %tmp.669 = 0x0055AA; + %tmp.670 = dup %tmp.668; + %tmp.671 = aputv %tmp.670 8 %tmp.669; + %tmp.672 = 0x55AAFF; + %tmp.673 = dup %tmp.671; + %tmp.674 = aputv %tmp.673 9 %tmp.672; + %tmp.675 = 0xFFAA00; + %tmp.676 = dup %tmp.674; + %tmp.677 = aputv %tmp.676 10 %tmp.675; + %tmp.678 = 0x55AAFF; + %tmp.679 = dup %tmp.677; + %tmp.680 = aputv %tmp.679 11 %tmp.678; + %tmp.681 = 0xFFFFFF; + %tmp.682 = dup %tmp.680; + %tmp.683 = aputv %tmp.682 12 %tmp.681; + symbol [ gColours ? 33 19 27 ]; + putv %tmp.643 :gColours %tmp.683; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 33 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_34_8_34_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 34 17 ] + symbol [ $ %tmp.684 34 17 18 ]; + %tmp.684 = getm $; + %tmp.685 = newa 13; + %tmp.686 = 0x000000; + %tmp.687 = dup %tmp.685; + %tmp.688 = aputv %tmp.687 0 %tmp.686; + %tmp.689 = 0xFFAA00; + %tmp.690 = dup %tmp.688; + %tmp.691 = aputv %tmp.690 1 %tmp.689; + %tmp.692 = 0x555555; + %tmp.693 = dup %tmp.691; + %tmp.694 = aputv %tmp.693 2 %tmp.692; + %tmp.695 = 0xFFAA00; + %tmp.696 = dup %tmp.694; + %tmp.697 = aputv %tmp.696 3 %tmp.695; + %tmp.698 = 0xFFFFFF; + %tmp.699 = dup %tmp.697; + %tmp.700 = aputv %tmp.699 4 %tmp.698; + %tmp.701 = 0x555555; + %tmp.702 = dup %tmp.700; + %tmp.703 = aputv %tmp.702 5 %tmp.701; + %tmp.704 = 0xFFAA00; + %tmp.705 = dup %tmp.703; + %tmp.706 = aputv %tmp.705 6 %tmp.704; + %tmp.707 = 0xFFFFFF; + %tmp.708 = dup %tmp.706; + %tmp.709 = aputv %tmp.708 7 %tmp.707; + %tmp.710 = 0x555555; + %tmp.711 = dup %tmp.709; + %tmp.712 = aputv %tmp.711 8 %tmp.710; + %tmp.713 = 0x55AAFF; + %tmp.714 = dup %tmp.712; + %tmp.715 = aputv %tmp.714 9 %tmp.713; + %tmp.716 = 0xFFAA00; + %tmp.717 = dup %tmp.715; + %tmp.718 = aputv %tmp.717 10 %tmp.716; + %tmp.719 = 0x55AAFF; + %tmp.720 = dup %tmp.718; + %tmp.721 = aputv %tmp.720 11 %tmp.719; + %tmp.722 = 0xFFFFFF; + %tmp.723 = dup %tmp.721; + %tmp.724 = aputv %tmp.723 12 %tmp.722; + symbol [ gColours ? 34 19 27 ]; + putv %tmp.684 :gColours %tmp.724; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 34 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_35_8_35_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 35 17 ] + symbol [ $ %tmp.725 35 17 18 ]; + %tmp.725 = getm $; + %tmp.726 = newa 13; + %tmp.727 = 0x000000; + %tmp.728 = dup %tmp.726; + %tmp.729 = aputv %tmp.728 0 %tmp.727; + %tmp.730 = 0xFFFFFF; + %tmp.731 = dup %tmp.729; + %tmp.732 = aputv %tmp.731 1 %tmp.730; + %tmp.733 = 0x555555; + %tmp.734 = dup %tmp.732; + %tmp.735 = aputv %tmp.734 2 %tmp.733; + %tmp.736 = 0xFFFFFF; + %tmp.737 = dup %tmp.735; + %tmp.738 = aputv %tmp.737 3 %tmp.736; + %tmp.739 = 0xFFFFFF; + %tmp.740 = dup %tmp.738; + %tmp.741 = aputv %tmp.740 4 %tmp.739; + %tmp.742 = 0x555555; + %tmp.743 = dup %tmp.741; + %tmp.744 = aputv %tmp.743 5 %tmp.742; + %tmp.745 = 0xFFFFFF; + %tmp.746 = dup %tmp.744; + %tmp.747 = aputv %tmp.746 6 %tmp.745; + %tmp.748 = 0xFFFFFF; + %tmp.749 = dup %tmp.747; + %tmp.750 = aputv %tmp.749 7 %tmp.748; + %tmp.751 = 0x555555; + %tmp.752 = dup %tmp.750; + %tmp.753 = aputv %tmp.752 8 %tmp.751; + %tmp.754 = 0x55AAFF; + %tmp.755 = dup %tmp.753; + %tmp.756 = aputv %tmp.755 9 %tmp.754; + %tmp.757 = 0xFFAA00; + %tmp.758 = dup %tmp.756; + %tmp.759 = aputv %tmp.758 10 %tmp.757; + %tmp.760 = 0x55AAFF; + %tmp.761 = dup %tmp.759; + %tmp.762 = aputv %tmp.761 11 %tmp.760; + %tmp.763 = 0xFFFFFF; + %tmp.764 = dup %tmp.762; + %tmp.765 = aputv %tmp.764 12 %tmp.763; + symbol [ gColours ? 35 19 27 ]; + putv %tmp.725 :gColours %tmp.765; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 35 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_36_8_36_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 36 17 ] + symbol [ $ %tmp.766 36 17 18 ]; + %tmp.766 = getm $; + %tmp.767 = newa 13; + %tmp.768 = 0xFFFFFF; + %tmp.769 = dup %tmp.767; + %tmp.770 = aputv %tmp.769 0 %tmp.768; + %tmp.771 = 0x000000; + %tmp.772 = dup %tmp.770; + %tmp.773 = aputv %tmp.772 1 %tmp.771; + %tmp.774 = 0xAAAAAA; + %tmp.775 = dup %tmp.773; + %tmp.776 = aputv %tmp.775 2 %tmp.774; + %tmp.777 = 0x000000; + %tmp.778 = dup %tmp.776; + %tmp.779 = aputv %tmp.778 3 %tmp.777; + %tmp.780 = 0x000000; + %tmp.781 = dup %tmp.779; + %tmp.782 = aputv %tmp.781 4 %tmp.780; + %tmp.783 = 0xAAAAAA; + %tmp.784 = dup %tmp.782; + %tmp.785 = aputv %tmp.784 5 %tmp.783; + %tmp.786 = 0x000000; + %tmp.787 = dup %tmp.785; + %tmp.788 = aputv %tmp.787 6 %tmp.786; + %tmp.789 = 0x000000; + %tmp.790 = dup %tmp.788; + %tmp.791 = aputv %tmp.790 7 %tmp.789; + %tmp.792 = 0x555555; + %tmp.793 = dup %tmp.791; + %tmp.794 = aputv %tmp.793 8 %tmp.792; + %tmp.795 = 0x000000; + %tmp.796 = dup %tmp.794; + %tmp.797 = aputv %tmp.796 9 %tmp.795; + %tmp.798 = 0xFFAA00; + %tmp.799 = dup %tmp.797; + %tmp.800 = aputv %tmp.799 10 %tmp.798; + %tmp.801 = 0x55AAFF; + %tmp.802 = dup %tmp.800; + %tmp.803 = aputv %tmp.802 11 %tmp.801; + %tmp.804 = 0x555555; + %tmp.805 = dup %tmp.803; + %tmp.806 = aputv %tmp.805 12 %tmp.804; + symbol [ gColours ? 36 19 27 ]; + putv %tmp.766 :gColours %tmp.806; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 36 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_37_8_37_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 37 17 ] + symbol [ $ %tmp.807 37 17 18 ]; + %tmp.807 = getm $; + %tmp.808 = newa 13; + %tmp.809 = 0xFFFFFF; + %tmp.810 = dup %tmp.808; + %tmp.811 = aputv %tmp.810 0 %tmp.809; + %tmp.812 = 0xAA0000; + %tmp.813 = dup %tmp.811; + %tmp.814 = aputv %tmp.813 1 %tmp.812; + %tmp.815 = 0xAAAAAA; + %tmp.816 = dup %tmp.814; + %tmp.817 = aputv %tmp.816 2 %tmp.815; + %tmp.818 = 0xAA0000; + %tmp.819 = dup %tmp.817; + %tmp.820 = aputv %tmp.819 3 %tmp.818; + %tmp.821 = 0x000000; + %tmp.822 = dup %tmp.820; + %tmp.823 = aputv %tmp.822 4 %tmp.821; + %tmp.824 = 0xAAAAAA; + %tmp.825 = dup %tmp.823; + %tmp.826 = aputv %tmp.825 5 %tmp.824; + %tmp.827 = 0xAA0000; + %tmp.828 = dup %tmp.826; + %tmp.829 = aputv %tmp.828 6 %tmp.827; + %tmp.830 = 0x000000; + %tmp.831 = dup %tmp.829; + %tmp.832 = aputv %tmp.831 7 %tmp.830; + %tmp.833 = 0x555555; + %tmp.834 = dup %tmp.832; + %tmp.835 = aputv %tmp.834 8 %tmp.833; + %tmp.836 = 0x000000; + %tmp.837 = dup %tmp.835; + %tmp.838 = aputv %tmp.837 9 %tmp.836; + %tmp.839 = 0xFFAA00; + %tmp.840 = dup %tmp.838; + %tmp.841 = aputv %tmp.840 10 %tmp.839; + %tmp.842 = 0x55AAFF; + %tmp.843 = dup %tmp.841; + %tmp.844 = aputv %tmp.843 11 %tmp.842; + %tmp.845 = 0x555555; + %tmp.846 = dup %tmp.844; + %tmp.847 = aputv %tmp.846 12 %tmp.845; + symbol [ gColours ? 37 19 27 ]; + putv %tmp.807 :gColours %tmp.847; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 37 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_38_8_38_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 38 17 ] + symbol [ $ %tmp.848 38 17 18 ]; + %tmp.848 = getm $; + %tmp.849 = newa 13; + %tmp.850 = 0xFFFFFF; + %tmp.851 = dup %tmp.849; + %tmp.852 = aputv %tmp.851 0 %tmp.850; + %tmp.853 = 0x0000AA; + %tmp.854 = dup %tmp.852; + %tmp.855 = aputv %tmp.854 1 %tmp.853; + %tmp.856 = 0xAAAAAA; + %tmp.857 = dup %tmp.855; + %tmp.858 = aputv %tmp.857 2 %tmp.856; + %tmp.859 = 0x0000AA; + %tmp.860 = dup %tmp.858; + %tmp.861 = aputv %tmp.860 3 %tmp.859; + %tmp.862 = 0x000000; + %tmp.863 = dup %tmp.861; + %tmp.864 = aputv %tmp.863 4 %tmp.862; + %tmp.865 = 0xAAAAAA; + %tmp.866 = dup %tmp.864; + %tmp.867 = aputv %tmp.866 5 %tmp.865; + %tmp.868 = 0x0000AA; + %tmp.869 = dup %tmp.867; + %tmp.870 = aputv %tmp.869 6 %tmp.868; + %tmp.871 = 0x000000; + %tmp.872 = dup %tmp.870; + %tmp.873 = aputv %tmp.872 7 %tmp.871; + %tmp.874 = 0x555555; + %tmp.875 = dup %tmp.873; + %tmp.876 = aputv %tmp.875 8 %tmp.874; + %tmp.877 = 0x000000; + %tmp.878 = dup %tmp.876; + %tmp.879 = aputv %tmp.878 9 %tmp.877; + %tmp.880 = 0xFFAA00; + %tmp.881 = dup %tmp.879; + %tmp.882 = aputv %tmp.881 10 %tmp.880; + %tmp.883 = 0x55AAFF; + %tmp.884 = dup %tmp.882; + %tmp.885 = aputv %tmp.884 11 %tmp.883; + %tmp.886 = 0x555555; + %tmp.887 = dup %tmp.885; + %tmp.888 = aputv %tmp.887 12 %tmp.886; + symbol [ gColours ? 38 19 27 ]; + putv %tmp.848 :gColours %tmp.888; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 38 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_39_8_39_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 39 17 ] + symbol [ $ %tmp.889 39 17 18 ]; + %tmp.889 = getm $; + %tmp.890 = newa 13; + %tmp.891 = 0xFFFFFF; + %tmp.892 = dup %tmp.890; + %tmp.893 = aputv %tmp.892 0 %tmp.891; + %tmp.894 = 0x00AA00; + %tmp.895 = dup %tmp.893; + %tmp.896 = aputv %tmp.895 1 %tmp.894; + %tmp.897 = 0xAAAAAA; + %tmp.898 = dup %tmp.896; + %tmp.899 = aputv %tmp.898 2 %tmp.897; + %tmp.900 = 0x00AA00; + %tmp.901 = dup %tmp.899; + %tmp.902 = aputv %tmp.901 3 %tmp.900; + %tmp.903 = 0x000000; + %tmp.904 = dup %tmp.902; + %tmp.905 = aputv %tmp.904 4 %tmp.903; + %tmp.906 = 0xAAAAAA; + %tmp.907 = dup %tmp.905; + %tmp.908 = aputv %tmp.907 5 %tmp.906; + %tmp.909 = 0x00AA00; + %tmp.910 = dup %tmp.908; + %tmp.911 = aputv %tmp.910 6 %tmp.909; + %tmp.912 = 0x000000; + %tmp.913 = dup %tmp.911; + %tmp.914 = aputv %tmp.913 7 %tmp.912; + %tmp.915 = 0x555555; + %tmp.916 = dup %tmp.914; + %tmp.917 = aputv %tmp.916 8 %tmp.915; + %tmp.918 = 0x000000; + %tmp.919 = dup %tmp.917; + %tmp.920 = aputv %tmp.919 9 %tmp.918; + %tmp.921 = 0xFFAA00; + %tmp.922 = dup %tmp.920; + %tmp.923 = aputv %tmp.922 10 %tmp.921; + %tmp.924 = 0x55AAFF; + %tmp.925 = dup %tmp.923; + %tmp.926 = aputv %tmp.925 11 %tmp.924; + %tmp.927 = 0x555555; + %tmp.928 = dup %tmp.926; + %tmp.929 = aputv %tmp.928 12 %tmp.927; + symbol [ gColours ? 39 19 27 ]; + putv %tmp.889 :gColours %tmp.929; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 39 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_40_8_40_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 40 17 ] + symbol [ $ %tmp.930 40 17 18 ]; + %tmp.930 = getm $; + %tmp.931 = newa 13; + %tmp.932 = 0xFFFFFF; + %tmp.933 = dup %tmp.931; + %tmp.934 = aputv %tmp.933 0 %tmp.932; + %tmp.935 = 0xFF5500; + %tmp.936 = dup %tmp.934; + %tmp.937 = aputv %tmp.936 1 %tmp.935; + %tmp.938 = 0xAAAAAA; + %tmp.939 = dup %tmp.937; + %tmp.940 = aputv %tmp.939 2 %tmp.938; + %tmp.941 = 0xFF5500; + %tmp.942 = dup %tmp.940; + %tmp.943 = aputv %tmp.942 3 %tmp.941; + %tmp.944 = 0x000000; + %tmp.945 = dup %tmp.943; + %tmp.946 = aputv %tmp.945 4 %tmp.944; + %tmp.947 = 0xAAAAAA; + %tmp.948 = dup %tmp.946; + %tmp.949 = aputv %tmp.948 5 %tmp.947; + %tmp.950 = 0x555555; + %tmp.951 = dup %tmp.949; + %tmp.952 = aputv %tmp.951 6 %tmp.950; + %tmp.953 = 0x000000; + %tmp.954 = dup %tmp.952; + %tmp.955 = aputv %tmp.954 7 %tmp.953; + %tmp.956 = 0x555555; + %tmp.957 = dup %tmp.955; + %tmp.958 = aputv %tmp.957 8 %tmp.956; + %tmp.959 = 0x000000; + %tmp.960 = dup %tmp.958; + %tmp.961 = aputv %tmp.960 9 %tmp.959; + %tmp.962 = 0xFF5500; + %tmp.963 = dup %tmp.961; + %tmp.964 = aputv %tmp.963 10 %tmp.962; + %tmp.965 = 0x55AAFF; + %tmp.966 = dup %tmp.964; + %tmp.967 = aputv %tmp.966 11 %tmp.965; + %tmp.968 = 0x555555; + %tmp.969 = dup %tmp.967; + %tmp.970 = aputv %tmp.969 12 %tmp.968; + symbol [ gColours ? 40 19 27 ]; + putv %tmp.930 :gColours %tmp.970; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 40 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_41_8_41_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 41 17 ] + symbol [ $ %tmp.971 41 17 18 ]; + %tmp.971 = getm $; + %tmp.972 = newa 13; + %tmp.973 = 0x000000; + %tmp.974 = dup %tmp.972; + %tmp.975 = aputv %tmp.974 0 %tmp.973; + %tmp.976 = 0xFF5500; + %tmp.977 = dup %tmp.975; + %tmp.978 = aputv %tmp.977 1 %tmp.976; + %tmp.979 = 0x005500; + %tmp.980 = dup %tmp.978; + %tmp.981 = aputv %tmp.980 2 %tmp.979; + %tmp.982 = 0xFF5500; + %tmp.983 = dup %tmp.981; + %tmp.984 = aputv %tmp.983 3 %tmp.982; + %tmp.985 = 0x00FF00; + %tmp.986 = dup %tmp.984; + %tmp.987 = aputv %tmp.986 4 %tmp.985; + %tmp.988 = 0x005500; + %tmp.989 = dup %tmp.987; + %tmp.990 = aputv %tmp.989 5 %tmp.988; + %tmp.991 = 0xFF5500; + %tmp.992 = dup %tmp.990; + %tmp.993 = aputv %tmp.992 6 %tmp.991; + %tmp.994 = 0x00FF00; + %tmp.995 = dup %tmp.993; + %tmp.996 = aputv %tmp.995 7 %tmp.994; + %tmp.997 = 0x5ca28f; + %tmp.998 = dup %tmp.996; + %tmp.999 = aputv %tmp.998 8 %tmp.997; + %tmp.1000 = 0x55FF55; + %tmp.1001 = dup %tmp.999; + %tmp.1002 = aputv %tmp.1001 9 %tmp.1000; + %tmp.1003 = 0xFF5500; + %tmp.1004 = dup %tmp.1002; + %tmp.1005 = aputv %tmp.1004 10 %tmp.1003; + %tmp.1006 = 0x00AAFF; + %tmp.1007 = dup %tmp.1005; + %tmp.1008 = aputv %tmp.1007 11 %tmp.1006; + %tmp.1009 = 0xFFFFFF; + %tmp.1010 = dup %tmp.1008; + %tmp.1011 = aputv %tmp.1010 12 %tmp.1009; + symbol [ gColours ? 41 19 27 ]; + putv %tmp.971 :gColours %tmp.1011; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 41 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_42_8_42_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 42 17 ] + symbol [ $ %tmp.1012 42 17 18 ]; + %tmp.1012 = getm $; + %tmp.1013 = newa 13; + %tmp.1014 = 0x000000; + %tmp.1015 = dup %tmp.1013; + %tmp.1016 = aputv %tmp.1015 0 %tmp.1014; + %tmp.1017 = 0xAAAA55; + %tmp.1018 = dup %tmp.1016; + %tmp.1019 = aputv %tmp.1018 1 %tmp.1017; + %tmp.1020 = 0x005500; + %tmp.1021 = dup %tmp.1019; + %tmp.1022 = aputv %tmp.1021 2 %tmp.1020; + %tmp.1023 = 0xAAAA55; + %tmp.1024 = dup %tmp.1022; + %tmp.1025 = aputv %tmp.1024 3 %tmp.1023; + %tmp.1026 = 0x00FF00; + %tmp.1027 = dup %tmp.1025; + %tmp.1028 = aputv %tmp.1027 4 %tmp.1026; + %tmp.1029 = 0x005500; + %tmp.1030 = dup %tmp.1028; + %tmp.1031 = aputv %tmp.1030 5 %tmp.1029; + %tmp.1032 = 0xAAAA00; + %tmp.1033 = dup %tmp.1031; + %tmp.1034 = aputv %tmp.1033 6 %tmp.1032; + %tmp.1035 = 0xAAAA55; + %tmp.1036 = dup %tmp.1034; + %tmp.1037 = aputv %tmp.1036 7 %tmp.1035; + %tmp.1038 = 0x546a36; + %tmp.1039 = dup %tmp.1037; + %tmp.1040 = aputv %tmp.1039 8 %tmp.1038; + %tmp.1041 = 0x00FF55; + %tmp.1042 = dup %tmp.1040; + %tmp.1043 = aputv %tmp.1042 9 %tmp.1041; + %tmp.1044 = 0xAAAA55; + %tmp.1045 = dup %tmp.1043; + %tmp.1046 = aputv %tmp.1045 10 %tmp.1044; + %tmp.1047 = 0x00FF00; + %tmp.1048 = dup %tmp.1046; + %tmp.1049 = aputv %tmp.1048 11 %tmp.1047; + %tmp.1050 = 0xFFFFFF; + %tmp.1051 = dup %tmp.1049; + %tmp.1052 = aputv %tmp.1051 12 %tmp.1050; + symbol [ gColours ? 42 19 27 ]; + putv %tmp.1012 :gColours %tmp.1052; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 42 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_43_8_43_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 43 17 ] + symbol [ $ %tmp.1053 43 17 18 ]; + %tmp.1053 = getm $; + %tmp.1054 = newa 13; + %tmp.1055 = 0x000000; + %tmp.1056 = dup %tmp.1054; + %tmp.1057 = aputv %tmp.1056 0 %tmp.1055; + %tmp.1058 = 0xFF0000; + %tmp.1059 = dup %tmp.1057; + %tmp.1060 = aputv %tmp.1059 1 %tmp.1058; + %tmp.1061 = 0x555555; + %tmp.1062 = dup %tmp.1060; + %tmp.1063 = aputv %tmp.1062 2 %tmp.1061; + %tmp.1064 = 0xFF0000; + %tmp.1065 = dup %tmp.1063; + %tmp.1066 = aputv %tmp.1065 3 %tmp.1064; + %tmp.1067 = 0xFFFFFF; + %tmp.1068 = dup %tmp.1066; + %tmp.1069 = aputv %tmp.1068 4 %tmp.1067; + %tmp.1070 = 0x555555; + %tmp.1071 = dup %tmp.1069; + %tmp.1072 = aputv %tmp.1071 5 %tmp.1070; + %tmp.1073 = 0xFF0000; + %tmp.1074 = dup %tmp.1072; + %tmp.1075 = aputv %tmp.1074 6 %tmp.1073; + %tmp.1076 = 0xFFFFFF; + %tmp.1077 = dup %tmp.1075; + %tmp.1078 = aputv %tmp.1077 7 %tmp.1076; + %tmp.1079 = 0x555555; + %tmp.1080 = dup %tmp.1078; + %tmp.1081 = aputv %tmp.1080 8 %tmp.1079; + %tmp.1082 = 0x55AAFF; + %tmp.1083 = dup %tmp.1081; + %tmp.1084 = aputv %tmp.1083 9 %tmp.1082; + %tmp.1085 = 0xFF5555; + %tmp.1086 = dup %tmp.1084; + %tmp.1087 = aputv %tmp.1086 10 %tmp.1085; + %tmp.1088 = 0x55AAFF; + %tmp.1089 = dup %tmp.1087; + %tmp.1090 = aputv %tmp.1089 11 %tmp.1088; + %tmp.1091 = 0xFFFFFF; + %tmp.1092 = dup %tmp.1090; + %tmp.1093 = aputv %tmp.1092 12 %tmp.1091; + symbol [ gColours ? 43 19 27 ]; + putv %tmp.1053 :gColours %tmp.1093; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 43 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_44_8_44_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 44 17 ] + symbol [ $ %tmp.1094 44 17 18 ]; + %tmp.1094 = getm $; + %tmp.1095 = newa 13; + %tmp.1096 = 0xFFFFFF; + %tmp.1097 = dup %tmp.1095; + %tmp.1098 = aputv %tmp.1097 0 %tmp.1096; + %tmp.1099 = 0xAA00FF; + %tmp.1100 = dup %tmp.1098; + %tmp.1101 = aputv %tmp.1100 1 %tmp.1099; + %tmp.1102 = 0xAAAAAA; + %tmp.1103 = dup %tmp.1101; + %tmp.1104 = aputv %tmp.1103 2 %tmp.1102; + %tmp.1105 = 0xAA00FF; + %tmp.1106 = dup %tmp.1104; + %tmp.1107 = aputv %tmp.1106 3 %tmp.1105; + %tmp.1108 = 0x000000; + %tmp.1109 = dup %tmp.1107; + %tmp.1110 = aputv %tmp.1109 4 %tmp.1108; + %tmp.1111 = 0xAAAAAA; + %tmp.1112 = dup %tmp.1110; + %tmp.1113 = aputv %tmp.1112 5 %tmp.1111; + %tmp.1114 = 0xAA00FF; + %tmp.1115 = dup %tmp.1113; + %tmp.1116 = aputv %tmp.1115 6 %tmp.1114; + %tmp.1117 = 0x000000; + %tmp.1118 = dup %tmp.1116; + %tmp.1119 = aputv %tmp.1118 7 %tmp.1117; + %tmp.1120 = 0x555555; + %tmp.1121 = dup %tmp.1119; + %tmp.1122 = aputv %tmp.1121 8 %tmp.1120; + %tmp.1123 = 0x000000; + %tmp.1124 = dup %tmp.1122; + %tmp.1125 = aputv %tmp.1124 9 %tmp.1123; + %tmp.1126 = 0xFF5500; + %tmp.1127 = dup %tmp.1125; + %tmp.1128 = aputv %tmp.1127 10 %tmp.1126; + %tmp.1129 = 0x55AAFF; + %tmp.1130 = dup %tmp.1128; + %tmp.1131 = aputv %tmp.1130 11 %tmp.1129; + %tmp.1132 = 0x555555; + %tmp.1133 = dup %tmp.1131; + %tmp.1134 = aputv %tmp.1133 12 %tmp.1132; + symbol [ gColours ? 44 19 27 ]; + putv %tmp.1094 :gColours %tmp.1134; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 44 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_45_8_45_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 45 17 ] + symbol [ $ %tmp.1135 45 17 18 ]; + %tmp.1135 = getm $; + %tmp.1136 = newa 13; + %tmp.1137 = 0x000000; + %tmp.1138 = dup %tmp.1136; + %tmp.1139 = aputv %tmp.1138 0 %tmp.1137; + %tmp.1140 = 0xAA00FF; + %tmp.1141 = dup %tmp.1139; + %tmp.1142 = aputv %tmp.1141 1 %tmp.1140; + %tmp.1143 = 0x555555; + %tmp.1144 = dup %tmp.1142; + %tmp.1145 = aputv %tmp.1144 2 %tmp.1143; + %tmp.1146 = 0xAA00FF; + %tmp.1147 = dup %tmp.1145; + %tmp.1148 = aputv %tmp.1147 3 %tmp.1146; + %tmp.1149 = 0xFFFFFF; + %tmp.1150 = dup %tmp.1148; + %tmp.1151 = aputv %tmp.1150 4 %tmp.1149; + %tmp.1152 = 0x555555; + %tmp.1153 = dup %tmp.1151; + %tmp.1154 = aputv %tmp.1153 5 %tmp.1152; + %tmp.1155 = 0xAA00FF; + %tmp.1156 = dup %tmp.1154; + %tmp.1157 = aputv %tmp.1156 6 %tmp.1155; + %tmp.1158 = 0xFFFFFF; + %tmp.1159 = dup %tmp.1157; + %tmp.1160 = aputv %tmp.1159 7 %tmp.1158; + %tmp.1161 = 0x555555; + %tmp.1162 = dup %tmp.1160; + %tmp.1163 = aputv %tmp.1162 8 %tmp.1161; + %tmp.1164 = 0x55AAFF; + %tmp.1165 = dup %tmp.1163; + %tmp.1166 = aputv %tmp.1165 9 %tmp.1164; + %tmp.1167 = 0xFFAA00; + %tmp.1168 = dup %tmp.1166; + %tmp.1169 = aputv %tmp.1168 10 %tmp.1167; + %tmp.1170 = 0x55AAFF; + %tmp.1171 = dup %tmp.1169; + %tmp.1172 = aputv %tmp.1171 11 %tmp.1170; + %tmp.1173 = 0xFFFFFF; + %tmp.1174 = dup %tmp.1172; + %tmp.1175 = aputv %tmp.1174 12 %tmp.1173; + symbol [ gColours ? 45 19 27 ]; + putv %tmp.1135 :gColours %tmp.1175; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 45 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_46_8_46_167_switchCase: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 46 17 ] + symbol [ $ %tmp.1176 46 17 18 ]; + %tmp.1176 = getm $; + %tmp.1177 = newa 13; + %tmp.1178 = 0x000000; + %tmp.1179 = dup %tmp.1177; + %tmp.1180 = aputv %tmp.1179 0 %tmp.1178; + %tmp.1181 = 0xFFAA00; + %tmp.1182 = dup %tmp.1180; + %tmp.1183 = aputv %tmp.1182 1 %tmp.1181; + %tmp.1184 = 0x555555; + %tmp.1185 = dup %tmp.1183; + %tmp.1186 = aputv %tmp.1185 2 %tmp.1184; + %tmp.1187 = 0xFFAA00; + %tmp.1188 = dup %tmp.1186; + %tmp.1189 = aputv %tmp.1188 3 %tmp.1187; + %tmp.1190 = 0xFFAA55; + %tmp.1191 = dup %tmp.1189; + %tmp.1192 = aputv %tmp.1191 4 %tmp.1190; + %tmp.1193 = 0x555555; + %tmp.1194 = dup %tmp.1192; + %tmp.1195 = aputv %tmp.1194 5 %tmp.1193; + %tmp.1196 = 0xFFAA00; + %tmp.1197 = dup %tmp.1195; + %tmp.1198 = aputv %tmp.1197 6 %tmp.1196; + %tmp.1199 = 0xFFAA55; + %tmp.1200 = dup %tmp.1198; + %tmp.1201 = aputv %tmp.1200 7 %tmp.1199; + %tmp.1202 = 0x555555; + %tmp.1203 = dup %tmp.1201; + %tmp.1204 = aputv %tmp.1203 8 %tmp.1202; + %tmp.1205 = 0x55AAAA; + %tmp.1206 = dup %tmp.1204; + %tmp.1207 = aputv %tmp.1206 9 %tmp.1205; + %tmp.1208 = 0xFFAA00; + %tmp.1209 = dup %tmp.1207; + %tmp.1210 = aputv %tmp.1209 10 %tmp.1208; + %tmp.1211 = 0x55AAAA; + %tmp.1212 = dup %tmp.1210; + %tmp.1213 = aputv %tmp.1212 11 %tmp.1211; + %tmp.1214 = 0xFFFFFF; + %tmp.1215 = dup %tmp.1213; + %tmp.1216 = aputv %tmp.1215 12 %tmp.1214; + symbol [ gColours ? 46 19 27 ]; + putv %tmp.1176 :gColours %tmp.1216; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 46 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_47_8_47_167_switchCase: +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_defaultCodeBegin: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 47 17 ] + symbol [ $ %tmp.1217 47 17 18 ]; + %tmp.1217 = getm $; + %tmp.1218 = newa 13; + %tmp.1219 = 0xff0000; + %tmp.1220 = dup %tmp.1218; + %tmp.1221 = aputv %tmp.1220 0 %tmp.1219; + %tmp.1222 = 0x00ff00; + %tmp.1223 = dup %tmp.1221; + %tmp.1224 = aputv %tmp.1223 1 %tmp.1222; + %tmp.1225 = 0x0000ff; + %tmp.1226 = dup %tmp.1224; + %tmp.1227 = aputv %tmp.1226 2 %tmp.1225; + %tmp.1228 = 0x550000; + %tmp.1229 = dup %tmp.1227; + %tmp.1230 = aputv %tmp.1229 3 %tmp.1228; + %tmp.1231 = 0x005500; + %tmp.1232 = dup %tmp.1230; + %tmp.1233 = aputv %tmp.1232 4 %tmp.1231; + %tmp.1234 = 0x000055; + %tmp.1235 = dup %tmp.1233; + %tmp.1236 = aputv %tmp.1235 5 %tmp.1234; + %tmp.1237 = 0xff00ff; + %tmp.1238 = dup %tmp.1236; + %tmp.1239 = aputv %tmp.1238 6 %tmp.1237; + %tmp.1240 = 0x00ffff; + %tmp.1241 = dup %tmp.1239; + %tmp.1242 = aputv %tmp.1241 7 %tmp.1240; + %tmp.1243 = 0xffff00; + %tmp.1244 = dup %tmp.1242; + %tmp.1245 = aputv %tmp.1244 8 %tmp.1243; + %tmp.1246 = 0x005555; + %tmp.1247 = dup %tmp.1245; + %tmp.1248 = aputv %tmp.1247 9 %tmp.1246; + %tmp.1249 = 0x550055; + %tmp.1250 = dup %tmp.1248; + %tmp.1251 = aputv %tmp.1250 10 %tmp.1249; + %tmp.1252 = 0x555500; + %tmp.1253 = dup %tmp.1251; + %tmp.1254 = aputv %tmp.1253 11 %tmp.1252; + %tmp.1255 = 0xffffff; + %tmp.1256 = dup %tmp.1254; + %tmp.1257 = aputv %tmp.1256 12 %tmp.1255; + symbol [ gColours ? 47 19 27 ]; + putv %tmp.1217 :gColours %tmp.1257; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 47 162 ] + goto break @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_19_4_48_4_switchStmtEnd: + pop; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_Themes_mc_18_53_49_0_stop: +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc"; @line = 1; ] + { +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/Themes.mc" 16 11 ] + %tmp.1258 = newa 0; + putv self :gColours %tmp.1258; +} diff --git a/bin/mir/source/hockeyTimerApp.mir b/bin/mir/source/hockeyTimerApp.mir new file mode 100644 index 0000000..f96dc96 --- /dev/null +++ b/bin/mir/source/hockeyTimerApp.mir @@ -0,0 +1,68 @@ +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Application,1,14,25]; ] +import Toybox.Application; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [Lang,2,14,18]; ] +import Toybox.Lang; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [WatchUi,3,14,21]; ] +import Toybox.WatchUi; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 5; @symbol_classdef = [hockeyTimerApp,5,6,20]; @symbol_extends<0> = [Application,5,29,40]; @symbol_extends<1> = [AppBase,5,41,48]; ] +class hockeyTimerApp extends Application.AppBase { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 5; ] + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 5; ] + static + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 7; @symbol_functiondef = [initialize,7,13,23]; ] + function initialize() as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerApp_mc_7_26_9_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc" 8 8 ] + symbol [ AppBase %tmp.2 8 8 15 ]; + %tmp.2 = getv ? :AppBase; + symbol [ initialize %tmp.3 8 16 26 ]; + %tmp.3 = getv function %tmp.2 :initialize; + invoke %tmp.2 %tmp.3(); +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerApp_mc_7_26_9_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 12; @symbol_functiondef = [onStart,12,13,20]; @symbol_param<0> = [state,12,21,26]; @symbol_param<0>_type<0> = [Dictionary,12,30,40]; ] + function onStart(state as Dictionary or Null) as Void { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 16; @symbol_functiondef = [onStop,16,13,19]; @symbol_param<0> = [state,16,20,25]; @symbol_param<0>_type<0> = [Dictionary,16,29,39]; ] + function onStop(state as Dictionary or Null) as Void { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 20; @symbol_functiondef = [getInitialView,20,13,27]; @symbol_return<0> = [Views,20,34,39]; @symbol_return<1> = [Views,20,45,50]; @symbol_return<2> = [InputDelegates,20,52,66]; ] + function getInitialView() as [Views] or [Views, InputDelegates] { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerApp_mc_20_68_22_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc" 21 8 ] + %tmp.1 = newa 2; + symbol [ hockeyTimerView %tmp.5 21 21 36 ]; + %tmp.5 = getv ? :hockeyTimerView; + %tmp.2 = newc %tmp.5 (); + %tmp.6 = dup %tmp.1; + %tmp.7 = aputv %tmp.6 0 %tmp.2; + symbol [ MyInputDelegate %tmp.11 21 44 59 ]; + %tmp.11 = getv ? :MyInputDelegate; + %tmp.8 = newc %tmp.11 (); + %tmp.12 = dup %tmp.7; + %tmp.13 = aputv %tmp.12 1 %tmp.8; + ret %tmp.13; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerApp_mc_20_68_22_4_stop: + } +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 26; @symbol_functiondef = [getApp,26,9,15]; @symbol_return<0> = [hockeyTimerApp,26,21,35]; ] +function getApp() as hockeyTimerApp { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerApp_mc_26_36_28_0_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc" 27 4 ] + symbol [ Application %tmp.1 27 11 22 ]; + %tmp.1 = getm $.Toybox.Application; + symbol [ getApp %tmp.2 27 23 29 ]; + %tmp.2 = getv function %tmp.1 :getApp; + %tmp.3 = invoke %tmp.1 %tmp.2(); + %tmp.4 = as %tmp.3 hockeyTimerApp; + symbol [ hockeyTimerApp %tmp.4 27 35 49 ]; + ret %tmp.4; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerApp_mc_26_36_28_0_stop: +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerApp.mc"; @line = 1; ] + { +} diff --git a/bin/mir/source/hockeyTimerDelegate.mir b/bin/mir/source/hockeyTimerDelegate.mir new file mode 100644 index 0000000..11067a4 --- /dev/null +++ b/bin/mir/source/hockeyTimerDelegate.mir @@ -0,0 +1,508 @@ +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @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/source/hockeyTimerDelegate.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ] +import Toybox.WatchUi; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 4; @symbol_classdef = [MyInputDelegate,4,6,21]; @symbol_extends<0> = [WatchUi,4,30,37]; @symbol_extends<1> = [InputDelegate,4,38,51]; ] +class MyInputDelegate extends WatchUi.InputDelegate { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 4; ] + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 4; ] + static + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 6; @symbol_functiondef = [initialize,6,13,23]; ] + function initialize() as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_6_26_8_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 7 8 ] + symbol [ InputDelegate %tmp.2 7 8 21 ]; + %tmp.2 = getv ? :InputDelegate; + symbol [ initialize %tmp.3 7 22 32 ]; + %tmp.3 = getv function %tmp.2 :initialize; + invoke %tmp.2 %tmp.3(); +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_6_26_8_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 10; @symbol_functiondef = [onDrag,10,13,19]; @symbol_param<0> = [dragEvent,10,20,29]; @symbol_param<0>_type<0> = [WatchUi,10,33,40]; @symbol_param<0>_type<1> = [DragEvent,10,41,50]; @symbol_return<0> = [Lang,10,55,59]; @symbol_return<1> = [Boolean,10,60,67]; ] + function onDrag(dragEvent as WatchUi.DragEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_10_68_16_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 11 6 ] + symbol [ $ %tmp.1 11 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "on-Drag"; + symbol [ kjr ? 11 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 12 6 ] + symbol [ System %tmp.4 12 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 12 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %dragEvent; + symbol [ dragEvent %tmp.6 12 21 30 ]; + symbol [ getType %tmp.7 12 31 38 ]; + %tmp.7 = getv function %tmp.6 :getType; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 13 6 ] + symbol [ WatchUi %tmp.9 13 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 13 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 14 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_10_68_16_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 17; @symbol_functiondef = [onFlick,17,13,20]; @symbol_param<0> = [flickEvent,17,21,31]; @symbol_param<0>_type<0> = [WatchUi,17,35,42]; @symbol_param<0>_type<1> = [FlickEvent,17,43,53]; @symbol_return<0> = [Lang,17,58,62]; @symbol_return<1> = [Boolean,17,63,70]; ] + function onFlick(flickEvent as WatchUi.FlickEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_17_71_22_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 18 6 ] + symbol [ $ %tmp.1 18 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onFlick"; + symbol [ kjr ? 18 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 19 6 ] + symbol [ System %tmp.4 19 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 19 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %flickEvent; + symbol [ flickEvent %tmp.6 19 21 31 ]; + symbol [ getDirection %tmp.7 19 32 44 ]; + %tmp.7 = getv function %tmp.6 :getDirection; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 20 6 ] + symbol [ WatchUi %tmp.9 20 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 20 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 21 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_17_71_22_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 23; @symbol_functiondef = [onHold,23,13,19]; @symbol_param<0> = [clickEvent,23,20,30]; @symbol_param<0>_type<0> = [WatchUi,23,34,41]; @symbol_param<0>_type<1> = [ClickEvent,23,42,52]; @symbol_return<0> = [Lang,23,57,61]; @symbol_return<1> = [Boolean,23,62,69]; ] + function onHold(clickEvent as WatchUi.ClickEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_23_70_28_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 24 6 ] + symbol [ $ %tmp.1 24 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onHold"; + symbol [ kjr ? 24 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 25 6 ] + symbol [ System %tmp.4 25 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 25 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %clickEvent; + symbol [ clickEvent %tmp.6 25 21 31 ]; + symbol [ getType %tmp.7 25 32 39 ]; + %tmp.7 = getv function %tmp.6 :getType; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 26 6 ] + symbol [ WatchUi %tmp.9 26 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 26 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 27 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_23_70_28_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 29; @symbol_functiondef = [onKey,29,13,18]; @symbol_param<0> = [keyEvent,29,19,27]; @symbol_param<0>_type<0> = [WatchUi,29,31,38]; @symbol_param<0>_type<1> = [KeyEvent,29,39,47]; @symbol_return<0> = [Lang,29,52,56]; @symbol_return<1> = [Boolean,29,57,64]; ] + function onKey(keyEvent as WatchUi.KeyEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_29_65_34_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 30 6 ] + symbol [ $ %tmp.1 30 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onKey"; + symbol [ kjr ? 30 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 31 6 ] + symbol [ System %tmp.4 31 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 31 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %keyEvent; + symbol [ keyEvent %tmp.6 31 21 29 ]; + symbol [ getKey %tmp.7 31 30 36 ]; + %tmp.7 = getv function %tmp.6 :getKey; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 32 6 ] + symbol [ WatchUi %tmp.9 32 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 32 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 33 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_29_65_34_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 35; @symbol_functiondef = [onKeyPressed,35,13,25]; @symbol_param<0> = [keyEvent,35,26,34]; @symbol_param<0>_type<0> = [WatchUi,35,38,45]; @symbol_param<0>_type<1> = [KeyEvent,35,46,54]; @symbol_return<0> = [Lang,35,59,63]; @symbol_return<1> = [Boolean,35,64,71]; ] + function onKeyPressed(keyEvent as WatchUi.KeyEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_35_72_40_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 36 6 ] + symbol [ $ %tmp.1 36 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onKeyPressed"; + symbol [ kjr ? 36 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 37 6 ] + symbol [ System %tmp.4 37 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 37 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %keyEvent; + symbol [ keyEvent %tmp.6 37 21 29 ]; + symbol [ getKey %tmp.7 37 30 36 ]; + %tmp.7 = getv function %tmp.6 :getKey; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 38 6 ] + symbol [ WatchUi %tmp.9 38 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 38 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 39 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_35_72_40_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 41; @symbol_functiondef = [onKeyReleased,41,13,26]; @symbol_param<0> = [keyEvent,41,27,35]; @symbol_param<0>_type<0> = [WatchUi,41,39,46]; @symbol_param<0>_type<1> = [KeyEvent,41,47,55]; @symbol_return<0> = [Lang,41,60,64]; @symbol_return<1> = [Boolean,41,65,72]; ] + function onKeyReleased(keyEvent as WatchUi.KeyEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_41_73_46_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 42 6 ] + symbol [ $ %tmp.1 42 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onKeyReleased"; + symbol [ kjr ? 42 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 43 6 ] + symbol [ System %tmp.4 43 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 43 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %keyEvent; + symbol [ keyEvent %tmp.6 43 21 29 ]; + symbol [ getKey %tmp.7 43 30 36 ]; + %tmp.7 = getv function %tmp.6 :getKey; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 44 6 ] + symbol [ WatchUi %tmp.9 44 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 44 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 45 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_41_73_46_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 47; @symbol_functiondef = [onRelease,47,13,22]; @symbol_param<0> = [clickEvent,47,23,33]; @symbol_param<0>_type<0> = [WatchUi,47,37,44]; @symbol_param<0>_type<1> = [ClickEvent,47,45,55]; @symbol_return<0> = [Lang,47,60,64]; @symbol_return<1> = [Boolean,47,65,72]; ] + function onRelease(clickEvent as WatchUi.ClickEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_47_73_52_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 48 6 ] + symbol [ $ %tmp.1 48 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onRelease"; + symbol [ kjr ? 48 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 49 6 ] + symbol [ System %tmp.4 49 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 49 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %clickEvent; + symbol [ clickEvent %tmp.6 49 21 31 ]; + symbol [ getType %tmp.7 49 32 39 ]; + %tmp.7 = getv function %tmp.6 :getType; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 50 6 ] + symbol [ WatchUi %tmp.9 50 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 50 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 51 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_47_73_52_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 53; @symbol_functiondef = [onSelectable,53,13,25]; @symbol_param<0> = [selectableEvent,53,26,41]; @symbol_param<0>_type<0> = [WatchUi,53,45,52]; @symbol_param<0>_type<1> = [SelectableEvent,53,53,68]; @symbol_return<0> = [Lang,53,73,77]; @symbol_return<1> = [Boolean,53,78,85]; ] + function onSelectable(selectableEvent as WatchUi.SelectableEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_53_86_57_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 54 6 ] + symbol [ $ %tmp.1 54 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onSelectable"; + symbol [ kjr ? 54 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 55 6 ] + symbol [ WatchUi %tmp.3 55 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 55 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 56 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_53_86_57_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 58; @symbol_functiondef = [onSwipe,58,13,20]; @symbol_param<0> = [swipeEvent,58,21,31]; @symbol_param<0>_type<0> = [WatchUi,58,35,42]; @symbol_param<0>_type<1> = [SwipeEvent,58,43,53]; @symbol_return<0> = [Lang,58,58,62]; @symbol_return<1> = [Boolean,58,63,70]; ] + function onSwipe(swipeEvent as WatchUi.SwipeEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_58_71_63_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 59 6 ] + symbol [ $ %tmp.1 59 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onSwipe"; + symbol [ kjr ? 59 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 60 6 ] + symbol [ System %tmp.4 60 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 60 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %swipeEvent; + symbol [ swipeEvent %tmp.6 60 21 31 ]; + symbol [ getDirection %tmp.7 60 32 44 ]; + %tmp.7 = getv function %tmp.6 :getDirection; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 61 6 ] + symbol [ WatchUi %tmp.9 61 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 61 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 62 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_58_71_63_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 64; @symbol_functiondef = [onTap,64,13,18]; @symbol_param<0> = [clickEvent,64,19,29]; @symbol_param<0>_type<0> = [WatchUi,64,33,40]; @symbol_param<0>_type<1> = [ClickEvent,64,41,51]; @symbol_return<0> = [Lang,64,56,60]; @symbol_return<1> = [Boolean,64,61,68]; ] + function onTap(clickEvent as WatchUi.ClickEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_64_69_69_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 65 6 ] + symbol [ $ %tmp.1 65 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onTap"; + symbol [ kjr ? 65 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 66 6 ] + symbol [ System %tmp.4 66 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 66 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %clickEvent; + symbol [ clickEvent %tmp.6 66 21 31 ]; + symbol [ getType %tmp.7 66 32 39 ]; + %tmp.7 = getv function %tmp.6 :getType; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 67 6 ] + symbol [ WatchUi %tmp.9 67 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 67 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 68 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_64_69_69_4_stop: + } +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 72; @symbol_classdef = [MyBehaviorDelegate,72,6,24]; @symbol_extends<0> = [WatchUi,72,33,40]; @symbol_extends<1> = [BehaviorDelegate,72,41,57]; ] +class MyBehaviorDelegate extends WatchUi.BehaviorDelegate { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 72; ] + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 72; ] + static + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 74; @symbol_functiondef = [initialize,74,13,23]; ] + function initialize() as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_74_26_76_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 75 8 ] + symbol [ BehaviorDelegate %tmp.2 75 8 24 ]; + %tmp.2 = getv ? :BehaviorDelegate; + symbol [ initialize %tmp.3 75 25 35 ]; + %tmp.3 = getv function %tmp.2 :initialize; + invoke %tmp.2 %tmp.3(); +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_74_26_76_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 78; @symbol_functiondef = [onMenu,78,13,19]; @symbol_return<0> = [Boolean,78,25,32]; ] + function onMenu() as Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_78_33_82_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 79 6 ] + symbol [ $ %tmp.1 79 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "OnMenu"; + symbol [ kjr ? 79 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 80 6 ] + symbol [ WatchUi %tmp.3 80 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 80 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 81 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_78_33_82_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 83; @symbol_functiondef = [onActionMenu,83,13,25]; @symbol_return<0> = [Boolean,83,31,38]; ] + function onActionMenu() as Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_83_39_87_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 84 6 ] + symbol [ $ %tmp.1 84 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onActionMenu"; + symbol [ kjr ? 84 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 85 6 ] + symbol [ WatchUi %tmp.3 85 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 85 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 86 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_83_39_87_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 89; @symbol_functiondef = [onBack,89,13,19]; @symbol_return<0> = [Boolean,89,25,32]; ] + function onBack() as Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_89_33_93_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 90 6 ] + symbol [ $ %tmp.1 90 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onBack"; + symbol [ kjr ? 90 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 91 6 ] + symbol [ WatchUi %tmp.3 91 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 91 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 92 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_89_33_93_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 95; @symbol_functiondef = [onNextMode,95,13,23]; @symbol_return<0> = [Lang,95,29,33]; @symbol_return<1> = [Boolean,95,34,41]; ] + function onNextMode() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_95_42_99_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 96 6 ] + symbol [ $ %tmp.1 96 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onNextMode"; + symbol [ kjr ? 96 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 97 6 ] + symbol [ WatchUi %tmp.3 97 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 97 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 98 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_95_42_99_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 101; @symbol_functiondef = [onNextPage,101,13,23]; @symbol_return<0> = [Lang,101,29,33]; @symbol_return<1> = [Boolean,101,34,41]; ] + function onNextPage() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_101_42_105_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 102 6 ] + symbol [ $ %tmp.1 102 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onNextPage"; + symbol [ kjr ? 102 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 103 6 ] + symbol [ WatchUi %tmp.3 103 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 103 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 104 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_101_42_105_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 107; @symbol_functiondef = [onPreviousMode,107,13,27]; @symbol_return<0> = [Lang,107,33,37]; @symbol_return<1> = [Boolean,107,38,45]; ] + function onPreviousMode() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_107_46_111_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 108 6 ] + symbol [ $ %tmp.1 108 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onPreviousMode"; + symbol [ kjr ? 108 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 109 6 ] + symbol [ WatchUi %tmp.3 109 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 109 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 110 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_107_46_111_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 113; @symbol_functiondef = [onPreviousPage,113,13,27]; @symbol_return<0> = [Lang,113,33,37]; @symbol_return<1> = [Boolean,113,38,45]; ] + function onPreviousPage() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_113_46_117_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 114 6 ] + symbol [ $ %tmp.1 114 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onPreviousPage"; + symbol [ kjr ? 114 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 115 6 ] + symbol [ WatchUi %tmp.3 115 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 115 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 116 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_113_46_117_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 119; @symbol_functiondef = [onSelect,119,13,21]; @symbol_return<0> = [Lang,119,27,31]; @symbol_return<1> = [Boolean,119,32,39]; ] + function onSelect() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_119_39_123_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 120 6 ] + symbol [ $ %tmp.1 120 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onSelect"; + symbol [ kjr ? 120 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 121 6 ] + symbol [ WatchUi %tmp.3 121 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 121 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc" 122 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerDelegate_mc_119_39_123_4_stop: + } +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerDelegate.mc"; @line = 1; ] + { +} diff --git a/bin/mir/source/hockeyTimerMenuDelegate.mir b/bin/mir/source/hockeyTimerMenuDelegate.mir new file mode 100644 index 0000000..65bd493 --- /dev/null +++ b/bin/mir/source/hockeyTimerMenuDelegate.mir @@ -0,0 +1,76 @@ +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc"; @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/source/hockeyTimerMenuDelegate.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [System,2,14,20]; ] +import Toybox.System; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [WatchUi,3,14,21]; ] +import Toybox.WatchUi; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc"; @line = 5; @symbol_classdef = [hockeyTimerMenuDelegate,5,6,29]; @symbol_extends<0> = [WatchUi,5,38,45]; @symbol_extends<1> = [MenuInputDelegate,5,46,63]; ] +class hockeyTimerMenuDelegate extends WatchUi.MenuInputDelegate { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc"; @line = 5; ] + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc"; @line = 5; ] + static + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc"; @line = 7; @symbol_functiondef = [initialize,7,13,23]; ] + function initialize() as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_7_26_9_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc" 8 8 ] + symbol [ MenuInputDelegate %tmp.2 8 8 25 ]; + %tmp.2 = getv ? :MenuInputDelegate; + symbol [ initialize %tmp.3 8 26 36 ]; + %tmp.3 = getv function %tmp.2 :initialize; + invoke %tmp.2 %tmp.3(); +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_7_26_9_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc"; @line = 11; @symbol_functiondef = [onMenuItem,11,13,23]; @symbol_param<0> = [item,11,24,28]; @symbol_param<0>_type<0> = [Symbol,11,32,38]; ] + function onMenuItem(item as Symbol) as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_11_48_17_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc" 12 8 ] +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_8_16_8_if_stmt: + %tmp.1 = lgetv %item; + symbol [ item %tmp.1 12 12 16 ]; + %tmp.3 = const :item_1; + symbol [ item_1 %tmp.3 12 21 27 const ]; + %tmp.4 = eq %tmp.1 %tmp.3; + bf %tmp.4 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_8_16_8_if_false; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_8_16_8_if_true: +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_29_14_8_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc" 13 12 ] + symbol [ System %tmp.5 13 12 18 ]; + %tmp.5 = getm $.Toybox.System; + symbol [ println %tmp.6 13 19 26 ]; + %tmp.6 = getv function %tmp.5 :println; + %tmp.7 = "item 1"; + invoke %tmp.5 %tmp.6(%tmp.7); +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_29_14_8_stop: + goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_8_16_8_if_end; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_8_16_8_if_false: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc" 14 15 ] +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_14_15_16_8_if_stmt: + %tmp.8 = lgetv %item; + symbol [ item %tmp.8 14 19 23 ]; + %tmp.10 = const :item_2; + symbol [ item_2 %tmp.10 14 28 34 const ]; + %tmp.11 = eq %tmp.8 %tmp.10; + bf %tmp.11 @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_14_15_16_8_if_end; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_14_15_16_8_if_true: +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_14_36_16_8_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc" 15 12 ] + symbol [ System %tmp.12 15 12 18 ]; + %tmp.12 = getm $.Toybox.System; + symbol [ println %tmp.13 15 19 26 ]; + %tmp.13 = getv function %tmp.12 :println; + %tmp.14 = "item 2"; + invoke %tmp.12 %tmp.13(%tmp.14); +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_14_36_16_8_stop: + goto @_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_14_15_16_8_if_end; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_14_15_16_8_if_end: +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_12_8_16_8_if_end: +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerMenuDelegate_mc_11_48_17_4_stop: + } +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerMenuDelegate.mc"; @line = 1; ] + { +} diff --git a/bin/mir/source/hockeyTimerView.mir b/bin/mir/source/hockeyTimerView.mir new file mode 100644 index 0000000..56368e3 --- /dev/null +++ b/bin/mir/source/hockeyTimerView.mir @@ -0,0 +1,127 @@ +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 1; @symbol_importdef<0> = [Toybox,1,7,13]; @symbol_importdef<1> = [Graphics,1,14,22]; ] +import Toybox.Graphics; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ] +import Toybox.WatchUi; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 3; @symbol_importdef<0> = [Toybox,3,7,13]; @symbol_importdef<1> = [Lang,3,14,18]; ] +import Toybox.Lang; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 5; @position = 11; @symbol_vardef = [kjr,5,11,14]; @symbol_type<0> = [String,5,18,24]; ] +var kjr as String = "88:88"; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 7; @symbol_classdef = [hockeyTimerView,7,6,21]; @symbol_extends<0> = [WatchUi,7,30,37]; @symbol_extends<1> = [View,7,38,42]; ] +class hockeyTimerView extends WatchUi.View { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 7; ] + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 7; ] + static + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 9; @symbol_functiondef = [initialize,9,13,23]; ] + function initialize() as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_9_26_11_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc" 10 8 ] + symbol [ View %tmp.2 10 8 12 ]; + %tmp.2 = getv ? :View; + symbol [ initialize %tmp.3 10 13 23 ]; + %tmp.3 = getv function %tmp.2 :initialize; + invoke %tmp.2 %tmp.3(); +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_9_26_11_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 14; @symbol_functiondef = [onLayout,14,13,21]; @symbol_param<0> = [dc,14,22,24]; @symbol_param<0>_type<0> = [Dc,14,28,30]; ] + function onLayout(dc as Dc) as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_14_40_17_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc" 16 8 ] + symbol [ $ %tmp.1 16 8 9 ]; + %tmp.1 = getm $; + symbol [ setColourTheme %tmp.2 16 10 24 ]; + %tmp.2 = getv function %tmp.1 :setColourTheme; + %tmp.3 = 1; + invoke %tmp.1 %tmp.2(%tmp.3); +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_14_40_17_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 22; @symbol_functiondef = [onShow,22,13,19]; ] + function onShow() as Void { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 26; @symbol_functiondef = [onUpdate,26,13,21]; @symbol_param<0> = [dc,26,22,24]; @symbol_param<0>_type<0> = [Dc,26,28,30]; ] + function onUpdate(dc as Dc) as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_26_40_37_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc" 27 8 ] + [ "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_26_40_37_4_start" "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_26_40_37_4_stop" ] + %_colourBG.1 = local; + symbol [ _colourBG %_colourBG.1 27 12 21 ]; + symbol [ $ %tmp.1 27 28 29 ]; + %tmp.1 = getm $; + symbol [ gColours %tmp.2 27 30 38 ]; + %tmp.2 = getv %tmp.1 :gColours; + symbol [ background %tmp.4 27 39 49 ]; + %tmp.4 = getv ? :background; + %tmp.5 = agetv %tmp.2 %tmp.4; + lputv %_colourBG.1 %tmp.5; + symbol [ _colourBG %_colourBG.1 27 12 21 ]; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc" 29 8 ] + [ "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_26_40_37_4_start" "_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_26_40_37_4_stop" ] + %_colourText.2 = local; + symbol [ _colourText %_colourText.2 29 12 23 ]; + symbol [ $ %tmp.6 29 28 29 ]; + %tmp.6 = getm $; + symbol [ gColours %tmp.7 29 30 38 ]; + %tmp.7 = getv %tmp.6 :gColours; + symbol [ timer %tmp.9 29 39 44 ]; + %tmp.9 = getv ? :timer; + %tmp.10 = agetv %tmp.7 %tmp.9; + lputv %_colourText.2 %tmp.10; + symbol [ _colourText %_colourText.2 29 12 23 ]; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc" 32 8 ] + %tmp.11 = lgetv %dc; + symbol [ dc %tmp.11 32 8 10 ]; + symbol [ setColor %tmp.12 32 11 19 ]; + %tmp.12 = getv function %tmp.11 :setColor; + %tmp.13 = lgetv %_colourText.2; + symbol [ _colourText %tmp.13 32 20 31 ]; + %tmp.14 = lgetv %_colourBG.1; + symbol [ _colourBG %tmp.14 32 33 42 ]; + invoke %tmp.11 %tmp.12(%tmp.13, %tmp.14); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc" 33 8 ] + %tmp.15 = lgetv %dc; + symbol [ dc %tmp.15 33 8 10 ]; + symbol [ clear %tmp.16 33 11 16 ]; + %tmp.16 = getv function %tmp.15 :clear; + invoke %tmp.15 %tmp.16(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc" 35 8 ] + %tmp.17 = lgetv %dc; + symbol [ dc %tmp.17 35 8 10 ]; + symbol [ drawText %tmp.18 35 11 19 ]; + %tmp.18 = getv function %tmp.17 :drawText; + %tmp.19 = lgetv %dc; + symbol [ dc %tmp.19 35 20 22 ]; + symbol [ getWidth %tmp.20 35 23 31 ]; + %tmp.20 = getv function %tmp.19 :getWidth; + %tmp.21 = invoke %tmp.19 %tmp.20(); + %tmp.22 = 2; + %tmp.23 = div %tmp.21 %tmp.22; + %tmp.24 = lgetv %dc; + symbol [ dc %tmp.24 35 38 40 ]; + symbol [ getHeight %tmp.25 35 41 50 ]; + %tmp.25 = getv function %tmp.24 :getHeight; + %tmp.26 = invoke %tmp.24 %tmp.25(); + %tmp.27 = 3; + %tmp.28 = div %tmp.26 %tmp.27; + symbol [ Graphics %tmp.29 35 56 64 ]; + %tmp.29 = getm $.Toybox.Graphics; + symbol [ FONT_MEDIUM %tmp.30 35 65 76 ]; + %tmp.30 = getv %tmp.29 :FONT_MEDIUM; + symbol [ kjr %tmp.32 35 79 82 ]; + %tmp.32 = getv ? :kjr; + symbol [ Graphics %tmp.33 35 84 92 ]; + %tmp.33 = getm $.Toybox.Graphics; + symbol [ TEXT_JUSTIFY_CENTER %tmp.34 35 93 112 ]; + %tmp.34 = getv %tmp.33 :TEXT_JUSTIFY_CENTER; + invoke %tmp.17 %tmp.18(%tmp.23, %tmp.28, %tmp.30, %tmp.32, %tmp.34); +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_hockeyTimerView_mc_26_40_37_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 42; @symbol_functiondef = [onHide,42,13,19]; ] + function onHide() as Void { + } +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/hockeyTimerView.mc"; @line = 1; ] + { +} diff --git a/bin/mir/source/test/TestDelegate.mir b/bin/mir/source/test/TestDelegate.mir new file mode 100644 index 0000000..632eb09 --- /dev/null +++ b/bin/mir/source/test/TestDelegate.mir @@ -0,0 +1,508 @@ +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @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/source/test/TestDelegate.mc"; @line = 2; @symbol_importdef<0> = [Toybox,2,7,13]; @symbol_importdef<1> = [WatchUi,2,14,21]; ] +import Toybox.WatchUi; +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 4; @symbol_classdef = [MyInputDelegate,4,6,21]; @symbol_extends<0> = [WatchUi,4,30,37]; @symbol_extends<1> = [InputDelegate,4,38,51]; ] +class MyInputDelegate extends WatchUi.InputDelegate { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 4; ] + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 4; ] + static + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 6; @symbol_functiondef = [initialize,6,13,23]; ] + function initialize() as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_6_26_8_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 7 8 ] + symbol [ InputDelegate %tmp.2 7 8 21 ]; + %tmp.2 = getv ? :InputDelegate; + symbol [ initialize %tmp.3 7 22 32 ]; + %tmp.3 = getv function %tmp.2 :initialize; + invoke %tmp.2 %tmp.3(); +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_6_26_8_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 10; @symbol_functiondef = [onDrag,10,13,19]; @symbol_param<0> = [dragEvent,10,20,29]; @symbol_param<0>_type<0> = [WatchUi,10,33,40]; @symbol_param<0>_type<1> = [DragEvent,10,41,50]; @symbol_return<0> = [Lang,10,55,59]; @symbol_return<1> = [Boolean,10,60,67]; ] + function onDrag(dragEvent as WatchUi.DragEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_10_68_16_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 11 6 ] + symbol [ $ %tmp.1 11 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "on-Drag"; + symbol [ kjr ? 11 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 12 6 ] + symbol [ System %tmp.4 12 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 12 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %dragEvent; + symbol [ dragEvent %tmp.6 12 21 30 ]; + symbol [ getType %tmp.7 12 31 38 ]; + %tmp.7 = getv function %tmp.6 :getType; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 13 6 ] + symbol [ WatchUi %tmp.9 13 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 13 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 14 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_10_68_16_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 17; @symbol_functiondef = [onFlick,17,13,20]; @symbol_param<0> = [flickEvent,17,21,31]; @symbol_param<0>_type<0> = [WatchUi,17,35,42]; @symbol_param<0>_type<1> = [FlickEvent,17,43,53]; @symbol_return<0> = [Lang,17,58,62]; @symbol_return<1> = [Boolean,17,63,70]; ] + function onFlick(flickEvent as WatchUi.FlickEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_17_71_22_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 18 6 ] + symbol [ $ %tmp.1 18 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onFlick"; + symbol [ kjr ? 18 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 19 6 ] + symbol [ System %tmp.4 19 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 19 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %flickEvent; + symbol [ flickEvent %tmp.6 19 21 31 ]; + symbol [ getDirection %tmp.7 19 32 44 ]; + %tmp.7 = getv function %tmp.6 :getDirection; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 20 6 ] + symbol [ WatchUi %tmp.9 20 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 20 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 21 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_17_71_22_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 23; @symbol_functiondef = [onHold,23,13,19]; @symbol_param<0> = [clickEvent,23,20,30]; @symbol_param<0>_type<0> = [WatchUi,23,34,41]; @symbol_param<0>_type<1> = [ClickEvent,23,42,52]; @symbol_return<0> = [Lang,23,57,61]; @symbol_return<1> = [Boolean,23,62,69]; ] + function onHold(clickEvent as WatchUi.ClickEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_23_70_28_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 24 6 ] + symbol [ $ %tmp.1 24 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onHold"; + symbol [ kjr ? 24 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 25 6 ] + symbol [ System %tmp.4 25 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 25 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %clickEvent; + symbol [ clickEvent %tmp.6 25 21 31 ]; + symbol [ getType %tmp.7 25 32 39 ]; + %tmp.7 = getv function %tmp.6 :getType; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 26 6 ] + symbol [ WatchUi %tmp.9 26 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 26 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 27 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_23_70_28_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 29; @symbol_functiondef = [onKey,29,13,18]; @symbol_param<0> = [keyEvent,29,19,27]; @symbol_param<0>_type<0> = [WatchUi,29,31,38]; @symbol_param<0>_type<1> = [KeyEvent,29,39,47]; @symbol_return<0> = [Lang,29,52,56]; @symbol_return<1> = [Boolean,29,57,64]; ] + function onKey(keyEvent as WatchUi.KeyEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_29_65_34_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 30 6 ] + symbol [ $ %tmp.1 30 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onKey"; + symbol [ kjr ? 30 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 31 6 ] + symbol [ System %tmp.4 31 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 31 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %keyEvent; + symbol [ keyEvent %tmp.6 31 21 29 ]; + symbol [ getKey %tmp.7 31 30 36 ]; + %tmp.7 = getv function %tmp.6 :getKey; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 32 6 ] + symbol [ WatchUi %tmp.9 32 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 32 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 33 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_29_65_34_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 35; @symbol_functiondef = [onKeyPressed,35,13,25]; @symbol_param<0> = [keyEvent,35,26,34]; @symbol_param<0>_type<0> = [WatchUi,35,38,45]; @symbol_param<0>_type<1> = [KeyEvent,35,46,54]; @symbol_return<0> = [Lang,35,59,63]; @symbol_return<1> = [Boolean,35,64,71]; ] + function onKeyPressed(keyEvent as WatchUi.KeyEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_35_72_40_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 36 6 ] + symbol [ $ %tmp.1 36 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onKeyPressed"; + symbol [ kjr ? 36 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 37 6 ] + symbol [ System %tmp.4 37 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 37 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %keyEvent; + symbol [ keyEvent %tmp.6 37 21 29 ]; + symbol [ getKey %tmp.7 37 30 36 ]; + %tmp.7 = getv function %tmp.6 :getKey; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 38 6 ] + symbol [ WatchUi %tmp.9 38 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 38 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 39 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_35_72_40_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 41; @symbol_functiondef = [onKeyReleased,41,13,26]; @symbol_param<0> = [keyEvent,41,27,35]; @symbol_param<0>_type<0> = [WatchUi,41,39,46]; @symbol_param<0>_type<1> = [KeyEvent,41,47,55]; @symbol_return<0> = [Lang,41,60,64]; @symbol_return<1> = [Boolean,41,65,72]; ] + function onKeyReleased(keyEvent as WatchUi.KeyEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_41_73_46_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 42 6 ] + symbol [ $ %tmp.1 42 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onKeyReleased"; + symbol [ kjr ? 42 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 43 6 ] + symbol [ System %tmp.4 43 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 43 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %keyEvent; + symbol [ keyEvent %tmp.6 43 21 29 ]; + symbol [ getKey %tmp.7 43 30 36 ]; + %tmp.7 = getv function %tmp.6 :getKey; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 44 6 ] + symbol [ WatchUi %tmp.9 44 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 44 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 45 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_41_73_46_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 47; @symbol_functiondef = [onRelease,47,13,22]; @symbol_param<0> = [clickEvent,47,23,33]; @symbol_param<0>_type<0> = [WatchUi,47,37,44]; @symbol_param<0>_type<1> = [ClickEvent,47,45,55]; @symbol_return<0> = [Lang,47,60,64]; @symbol_return<1> = [Boolean,47,65,72]; ] + function onRelease(clickEvent as WatchUi.ClickEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_47_73_52_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 48 6 ] + symbol [ $ %tmp.1 48 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onRelease"; + symbol [ kjr ? 48 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 49 6 ] + symbol [ System %tmp.4 49 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 49 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %clickEvent; + symbol [ clickEvent %tmp.6 49 21 31 ]; + symbol [ getType %tmp.7 49 32 39 ]; + %tmp.7 = getv function %tmp.6 :getType; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 50 6 ] + symbol [ WatchUi %tmp.9 50 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 50 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 51 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_47_73_52_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 53; @symbol_functiondef = [onSelectable,53,13,25]; @symbol_param<0> = [selectableEvent,53,26,41]; @symbol_param<0>_type<0> = [WatchUi,53,45,52]; @symbol_param<0>_type<1> = [SelectableEvent,53,53,68]; @symbol_return<0> = [Lang,53,73,77]; @symbol_return<1> = [Boolean,53,78,85]; ] + function onSelectable(selectableEvent as WatchUi.SelectableEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_53_86_57_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 54 6 ] + symbol [ $ %tmp.1 54 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onSelectable"; + symbol [ kjr ? 54 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 55 6 ] + symbol [ WatchUi %tmp.3 55 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 55 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 56 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_53_86_57_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 58; @symbol_functiondef = [onSwipe,58,13,20]; @symbol_param<0> = [swipeEvent,58,21,31]; @symbol_param<0>_type<0> = [WatchUi,58,35,42]; @symbol_param<0>_type<1> = [SwipeEvent,58,43,53]; @symbol_return<0> = [Lang,58,58,62]; @symbol_return<1> = [Boolean,58,63,70]; ] + function onSwipe(swipeEvent as WatchUi.SwipeEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_58_71_63_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 59 6 ] + symbol [ $ %tmp.1 59 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onSwipe"; + symbol [ kjr ? 59 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 60 6 ] + symbol [ System %tmp.4 60 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 60 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %swipeEvent; + symbol [ swipeEvent %tmp.6 60 21 31 ]; + symbol [ getDirection %tmp.7 60 32 44 ]; + %tmp.7 = getv function %tmp.6 :getDirection; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 61 6 ] + symbol [ WatchUi %tmp.9 61 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 61 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 62 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_58_71_63_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 64; @symbol_functiondef = [onTap,64,13,18]; @symbol_param<0> = [clickEvent,64,19,29]; @symbol_param<0>_type<0> = [WatchUi,64,33,40]; @symbol_param<0>_type<1> = [ClickEvent,64,41,51]; @symbol_return<0> = [Lang,64,56,60]; @symbol_return<1> = [Boolean,64,61,68]; ] + function onTap(clickEvent as WatchUi.ClickEvent) as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_64_69_69_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 65 6 ] + symbol [ $ %tmp.1 65 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onTap"; + symbol [ kjr ? 65 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 66 6 ] + symbol [ System %tmp.4 66 6 12 ]; + %tmp.4 = getv ? :System; + symbol [ println %tmp.5 66 13 20 ]; + %tmp.5 = getv function %tmp.4 :println; + %tmp.6 = lgetv %clickEvent; + symbol [ clickEvent %tmp.6 66 21 31 ]; + symbol [ getType %tmp.7 66 32 39 ]; + %tmp.7 = getv function %tmp.6 :getType; + %tmp.8 = invoke %tmp.6 %tmp.7(); + invoke %tmp.4 %tmp.5(%tmp.8); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 67 6 ] + symbol [ WatchUi %tmp.9 67 6 13 ]; + %tmp.9 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.10 67 14 27 ]; + %tmp.10 = getv function %tmp.9 :requestUpdate; + invoke %tmp.9 %tmp.10(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 68 6 ] + %tmp.11 = true; + ret %tmp.11; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_64_69_69_4_stop: + } +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 72; @symbol_classdef = [MyBehaviorDelegate,72,6,24]; @symbol_extends<0> = [WatchUi,72,33,40]; @symbol_extends<1> = [BehaviorDelegate,72,41,57]; ] +class MyBehaviorDelegate extends WatchUi.BehaviorDelegate { + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 72; ] + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 72; ] + static + { + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 74; @symbol_functiondef = [initialize,74,13,23]; ] + function initialize() as Void { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_74_26_76_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 75 8 ] + symbol [ BehaviorDelegate %tmp.2 75 8 24 ]; + %tmp.2 = getv ? :BehaviorDelegate; + symbol [ initialize %tmp.3 75 25 35 ]; + %tmp.3 = getv function %tmp.2 :initialize; + invoke %tmp.2 %tmp.3(); +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_74_26_76_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 78; @symbol_functiondef = [onMenu,78,13,19]; @symbol_return<0> = [Boolean,78,25,32]; ] + function onMenu() as Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_78_33_82_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 79 6 ] + symbol [ $ %tmp.1 79 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "OnMenu"; + symbol [ kjr ? 79 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 80 6 ] + symbol [ WatchUi %tmp.3 80 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 80 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 81 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_78_33_82_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 83; @symbol_functiondef = [onActionMenu,83,13,25]; @symbol_return<0> = [Boolean,83,31,38]; ] + function onActionMenu() as Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_83_39_87_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 84 6 ] + symbol [ $ %tmp.1 84 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onActionMenu"; + symbol [ kjr ? 84 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 85 6 ] + symbol [ WatchUi %tmp.3 85 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 85 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 86 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_83_39_87_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 89; @symbol_functiondef = [onBack,89,13,19]; @symbol_return<0> = [Boolean,89,25,32]; ] + function onBack() as Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_89_33_93_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 90 6 ] + symbol [ $ %tmp.1 90 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onBack"; + symbol [ kjr ? 90 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 91 6 ] + symbol [ WatchUi %tmp.3 91 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 91 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 92 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_89_33_93_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 95; @symbol_functiondef = [onNextMode,95,13,23]; @symbol_return<0> = [Lang,95,29,33]; @symbol_return<1> = [Boolean,95,34,41]; ] + function onNextMode() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_95_42_99_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 96 6 ] + symbol [ $ %tmp.1 96 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onNextMode"; + symbol [ kjr ? 96 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 97 6 ] + symbol [ WatchUi %tmp.3 97 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 97 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 98 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_95_42_99_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 101; @symbol_functiondef = [onNextPage,101,13,23]; @symbol_return<0> = [Lang,101,29,33]; @symbol_return<1> = [Boolean,101,34,41]; ] + function onNextPage() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_101_42_105_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 102 6 ] + symbol [ $ %tmp.1 102 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onNextPage"; + symbol [ kjr ? 102 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 103 6 ] + symbol [ WatchUi %tmp.3 103 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 103 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 104 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_101_42_105_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 107; @symbol_functiondef = [onPreviousMode,107,13,27]; @symbol_return<0> = [Lang,107,33,37]; @symbol_return<1> = [Boolean,107,38,45]; ] + function onPreviousMode() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_107_46_111_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 108 6 ] + symbol [ $ %tmp.1 108 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onPreviousMode"; + symbol [ kjr ? 108 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 109 6 ] + symbol [ WatchUi %tmp.3 109 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 109 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 110 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_107_46_111_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 113; @symbol_functiondef = [onPreviousPage,113,13,27]; @symbol_return<0> = [Lang,113,33,37]; @symbol_return<1> = [Boolean,113,38,45]; ] + function onPreviousPage() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_113_46_117_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 114 6 ] + symbol [ $ %tmp.1 114 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onPreviousPage"; + symbol [ kjr ? 114 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 115 6 ] + symbol [ WatchUi %tmp.3 115 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 115 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 116 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_113_46_117_4_stop: + } + [ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 119; @symbol_functiondef = [onSelect,119,13,21]; @symbol_return<0> = [Lang,119,27,31]; @symbol_return<1> = [Boolean,119,32,39]; ] + function onSelect() as Lang.Boolean { +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_119_39_123_4_start: +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 120 6 ] + symbol [ $ %tmp.1 120 6 7 ]; + %tmp.1 = getm $; + %tmp.2 = "onSelect"; + symbol [ kjr ? 120 8 11 ]; + putv %tmp.1 :kjr %tmp.2; +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 121 6 ] + symbol [ WatchUi %tmp.3 121 6 13 ]; + %tmp.3 = getm $.Toybox.WatchUi; + symbol [ requestUpdate %tmp.4 121 14 27 ]; + %tmp.4 = getv function %tmp.3 :requestUpdate; + invoke %tmp.3 %tmp.4(); +[ "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc" 122 6 ] + %tmp.5 = true; + ret %tmp.5; +_home_keith_Documents_code_garmin_hockeyTimermk3_hockeyTimer_source_test_TestDelegate_mc_119_39_123_4_stop: + } +} +[ @file = "/home/keith/Documents/code/garmin/hockeyTimermk3/hockeyTimer/source/test/TestDelegate.mc"; @line = 1; ] + { +} diff --git a/manifest.xml b/manifest.xml new file mode 100644 index 0000000..1379519 --- /dev/null +++ b/manifest.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + eng + + + + + \ No newline at end of file diff --git a/monkey.jungle b/monkey.jungle new file mode 100755 index 0000000..87796c7 --- /dev/null +++ b/monkey.jungle @@ -0,0 +1 @@ +project.manifest = manifest.xml diff --git a/resources/drawables/drawables.xml b/resources/drawables/drawables.xml new file mode 100755 index 0000000..6c01bc7 --- /dev/null +++ b/resources/drawables/drawables.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + diff --git a/resources/drawables/green-card.svg b/resources/drawables/green-card.svg new file mode 100644 index 0000000..db0c21f --- /dev/null +++ b/resources/drawables/green-card.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/resources/drawables/green-card2.svg b/resources/drawables/green-card2.svg new file mode 100644 index 0000000..6adebbb --- /dev/null +++ b/resources/drawables/green-card2.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/resources/drawables/pause.svg b/resources/drawables/pause.svg new file mode 100644 index 0000000..af5272e --- /dev/null +++ b/resources/drawables/pause.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/resources/drawables/play-pause.svg b/resources/drawables/play-pause.svg new file mode 100644 index 0000000..3bfa8f0 --- /dev/null +++ b/resources/drawables/play-pause.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/drawables/play.svg b/resources/drawables/play.svg new file mode 100644 index 0000000..8e9d110 --- /dev/null +++ b/resources/drawables/play.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/resources/drawables/plus.svg b/resources/drawables/plus.svg new file mode 100644 index 0000000..6923ccb --- /dev/null +++ b/resources/drawables/plus.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/resources/drawables/red-card.svg b/resources/drawables/red-card.svg new file mode 100644 index 0000000..3639ea1 --- /dev/null +++ b/resources/drawables/red-card.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/resources/drawables/retweet-round-svgrepo-com.svg b/resources/drawables/retweet-round-svgrepo-com.svg new file mode 100644 index 0000000..5c8599e --- /dev/null +++ b/resources/drawables/retweet-round-svgrepo-com.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/drawables/whistle.svg b/resources/drawables/whistle.svg new file mode 100644 index 0000000..10383d7 --- /dev/null +++ b/resources/drawables/whistle.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/resources/drawables/yellow-card.svg b/resources/drawables/yellow-card.svg new file mode 100644 index 0000000..88bd43d --- /dev/null +++ b/resources/drawables/yellow-card.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/resources/fonts/SevenSegment.fnt b/resources/fonts/SevenSegment.fnt new file mode 100755 index 0000000..ecc2a40 --- /dev/null +++ b/resources/fonts/SevenSegment.fnt @@ -0,0 +1,15 @@ +info face="Seven Segment" size=94 bold=0 italic=0 charset="" unicode=1 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 outline=0 +common lineHeight=94 base=117 scaleW=2560 scaleH=256 pages=1 packed=0 alphaChnl=1 redChnl=0 greenChnl=0 blueChnl=0 +page id=0 file="SevenSegment_0.png" +chars count=11 +char id=48 x=0 y=0 width=53 height=94 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15 +char id=50 x=54 y=0 width=53 height=94 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15 +char id=52 x=108 y=0 width=53 height=94 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15 +char id=53 x=162 y=0 width=53 height=94 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15 +char id=54 x=216 y=0 width=53 height=94 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15 +char id=56 x=270 y=0 width=53 height=94 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15 +char id=57 x=324 y=0 width=53 height=94 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15 +char id=51 x=378 y=0 width=53 height=94 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15 +char id=55 x=432 y=0 width=53 height=94 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15 +char id=49 x=486 y=0 width=53 height=94 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15 +char id=58 x=540 y=0 width=10 height=94 xoffset=0 yoffset=0 xadvance=16 page=0 chnl=15 diff --git a/resources/fonts/SevenSegment_0.png b/resources/fonts/SevenSegment_0.png new file mode 100755 index 0000000..e805e1e Binary files /dev/null and b/resources/fonts/SevenSegment_0.png differ diff --git a/resources/fonts/fonts.xml b/resources/fonts/fonts.xml new file mode 100644 index 0000000..519b436 --- /dev/null +++ b/resources/fonts/fonts.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/resources/layouts/layout.xml b/resources/layouts/layout.xml new file mode 100755 index 0000000..af968f9 --- /dev/null +++ b/resources/layouts/layout.xml @@ -0,0 +1,8 @@ + + diff --git a/resources/settings/properties.xml b/resources/settings/properties.xml new file mode 100644 index 0000000..c0459d2 --- /dev/null +++ b/resources/settings/properties.xml @@ -0,0 +1,18 @@ + + 8 + true + true + true + + 2100 + 300 + + 900 + 120 + 600 + 40 + 20 + + + + \ No newline at end of file diff --git a/resources/settings/settings.xml b/resources/settings/settings.xml new file mode 100644 index 0000000..9967a19 --- /dev/null +++ b/resources/settings/settings.xml @@ -0,0 +1,52 @@ + + + + @Strings.settings_two_halves + @Strings.settings_four_quarters + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/strings/strings.xml b/resources/strings/strings.xml new file mode 100644 index 0000000..5dc835e --- /dev/null +++ b/resources/strings/strings.xml @@ -0,0 +1,28 @@ + + Hockey Timer + + 88:88 + + Game Type + Two Halves + Four Quarters + + 2 Min Warning + 1 Min Warning + + Select Colours + + Duration + + Progress Bar + + Halftime + + Period Duration + + Halftime + + 1/4 Time Duration + 1/4 Time Duration + 1/4 Time Duration + diff --git a/source/App.mc b/source/App.mc new file mode 100644 index 0000000..217fc36 --- /dev/null +++ b/source/App.mc @@ -0,0 +1,28 @@ +import Toybox.Application; +import Toybox.Lang; +import Toybox.WatchUi; + +class hockeyTimerApp extends Application.AppBase { + + function initialize() { + AppBase.initialize(); + } + + // onStart() is called on application start up + function onStart(state as Dictionary?) as Void { + } + + // onStop() is called when your application is exiting + function onStop(state as Dictionary?) as Void { + } + + // Return the initial view of your application here + function getInitialView() as [Views] or [Views, InputDelegates] { + return [ new hockeyTimerView(), new MyInputDelegate() ]; + } + +} + +function getApp() as hockeyTimerApp { + return Application.getApp() as hockeyTimerApp; +} \ No newline at end of file diff --git a/source/Match.mc b/source/Match.mc new file mode 100644 index 0000000..10cc36b --- /dev/null +++ b/source/Match.mc @@ -0,0 +1,176 @@ +import Toybox.Lang; +import Toybox.WatchUi; +import Toybox.Time; +import Toybox.Timer; +import Toybox.System; + +public enum enCard{ + RED, + YELLOW, + GREEN +} +public enum enGoal{ + PC, + PS, + FG +} +public enum enTeam{ + HOME, + AWAY +} +// public enum enState{ +// PREGAME, +// STARTGAME, +// PREPLAY, +// PLAY, +// POSTPLAY, +// BREAK, +// POSTBREAK, +// PLAYPAUSED, +// GAMEOVER +// } +public enum enAction{ + GOAL, + CARD, + QUIT +} +public enum enPeriod{ + PLAY, + BREAK +} + +var gameDuration as Number?; +var gameElapsed as Number?; +var gamePeriod as Number?; + +class goal { + private var _team as enTeam; + private var _type as enGoal; + private var _time as Number; + private var _player as Number; + private var _datetime as Number; + + function initialize(team as enTeam, type as enGoal, player as Number, time as Number) { + _team = team; + _type = type; + _time = time; + _player = player; + _datetime = Time.now().value(); + } + + function toDict() as Dictionary { + return { + "team" => _team, + "type" => _type, + "time" => _time, + "player" => _player, + "datetime" => _datetime + }; + } +} + +class card { + public var team as enTeam; + public var card as enCard; + public var player as Number; + public var remaining as Number; + public var isActive as Boolean; + + private var start as Number?; + private var end as Number?; + private var duration as Number?; + private var _datetime as Number?; + + // public var display as String?; + + function initialize(tm as enTeam, cd as enCard, pl as Number, dn as Number, st as Number){ + team = tm; + card = cd; + start = st; + duration = dn * 60; + remaining = duration; + end = start + duration; + player = pl; + isActive = true; + _datetime = Time.now().value(); + + // display = Lang.format("T:$1$-P:$2$-C:G",[_team, _player]); + + } + + // public function timeRemaining(el as Number) as Number{ + // return end - el; + // } + + public function dummy(q as Boolean) as Void{} + + public function update(el as Number) as Void{ + remaining = end - el; + + if(end - el == 0){ + // WatchUi.pushView(new menuConfirmationDelegate(Lang.format("Card: $1$ Over",[player.format("%02d")]), false), new ConfirmationDelegate(method(:dummy)), WatchUi.SLIDE_LEFT); + System.println(Lang.format("Card: $1$ Over",[player.format("%02d")])); + isActive = false; + } + } + + function toDict() as Dictionary { + return { + "team" => team, + "start" => start, + "end" => end, + "card" => card, + "player" => player, + "duration" => duration, + "datetime" => _datetime + }; + } +} + +class match { + + function initialize() { + } + +} + + +class period{ + // private var _timer; + public var display as String?; + public var type as enPeriod?; + // public var isOver as Boolean = false; + public var duration as Number?; + public var remaining as Number?; + // public var elapsed as Number = 0; + + + // private var _acc as Number = 0; + // private var _start as Number = 0; + // private var _dur as Number = 0; + + function initialize(Display as String, Type as enPeriod, Duration as Number){//}, callBack as Method) { + display = Display; + type = Type; + duration = Duration; + remaining = Duration; + // _timer = new Timer.Timer(); + } + + // public function playPause(play as Boolean){ + // if (play){ + // _start = System.getTimer(); + // _timer.start(method(:tick), 100, true); + // } + // else{ + // _timer.stop(); + // _acc += System.getTimer() - _start; + // } + // } + + public function elapsed(){ + + + } + +} \ No newline at end of file diff --git a/source/Menus.mc b/source/Menus.mc new file mode 100644 index 0000000..1a72c19 --- /dev/null +++ b/source/Menus.mc @@ -0,0 +1,8 @@ +import Toybox.Lang; +import Toybox.WatchUi; + +public var gMenuTeams as WatchUi.Menu2?; +public var gMenuActions as WatchUi.Menu2?; +public var gMenuGoals as WatchUi.Menu2?; +public var gMenuCards as WatchUi.Menu2?; +public var gMenuApp as WatchUi.Menu2?; \ No newline at end of file diff --git a/source/Themes.mc b/source/Themes.mc new file mode 100644 index 0000000..e1fc7f9 --- /dev/null +++ b/source/Themes.mc @@ -0,0 +1,49 @@ +import Toybox.Graphics; +import Toybox.Lang; +import Toybox.Time; +import Toybox.UserProfile; + +public enum colourThemes { + background = 0, + timer, + timerBg, + timerBreak, + timerPause, + progress, + text +} + +public var gColours as Array = []; + +public function setColourTheme(id as Number) as Void { + switch(id) { //background, timer, timerBg, timerBreak,timerPause,progress, text, date, dateDim, notif, stress, bodybatt, moon + case 0: $.gColours = [0x000000, 0xFFFF00, 0x005555, 0xFF0000, 0xFFFFFF, 0x005555, 0x55AAAA, 0xFFFF00, 0xa98753, 0x00AAFF, 0xFFAA00, 0x00AAFF, 0xFFFFFF]; break;// Yellow on turquoise MIP + case 1: $.gColours = [0x000000, 0xFFFF00, 0x005555, 0xFF0000, 0xFFFFFF, 0x005555, 0x55AAAA, 0xFFFF00, 0xa98753, 0x00AAFF, 0xFFAA00, 0x00AAFF, 0xFFFFFF]; break;// Yellow on turquoise MIP + case 2: $.gColours = [0x000000, 0xFFFF00, 0x005555, 0xFF0000, 0xFFFFFF, 0x005555, 0x55AAAA, 0xFFFF00, 0xa98753, 0x00AAFF, 0xFFAA00, 0x00AAFF, 0xFFFFFF]; break;// Yellow on turquoise MIP + case 3: $.gColours = [0x000000, 0xFFFF00, 0x005555, 0xFF0000, 0xFFFFFF, 0x005555, 0x55AAAA, 0xFFFF00, 0xa98753, 0x00AAFF, 0xFFAA00, 0x00AAFF, 0xFFFFFF]; break;// Yellow on turquoise MIP + case 4: $.gColours = [0x000000, 0xFF55AA, 0x005555, 0xFF55AA, 0xFFFFFF, 0x005555, 0xAA55AA, 0xFFFFFF, 0xa95399, 0xFF55AA, 0xFF55AA, 0x00FFAA, 0xFFFFFF]; break;// Hot pink MIP + case 5: $.gColours = [0x000000, 0x00FFFF, 0x0055AA, 0x00FFFF, 0xFFFFFF, 0x0055AA, 0x55AAAA, 0x00FFFF, 0x5ca28f, 0x00AAFF, 0xFFAA00, 0x00AAFF, 0xFFFFFF]; break;// Blueish green MIP + case 6: $.gColours = [0x000000, 0x00FF00, 0x005500, 0x00FF00, 0xFFFFFF, 0x005500, 0x00AA55, 0x00FF00, 0x5ca28f, 0x00AAFF, 0xFFAA00, 0x00AAFF, 0xFFFFFF]; break;// Very green MIP + case 7: $.gColours = [0x000000, 0xFFFFFF, 0x005555, 0xFFFFFF, 0xFFFFFF, 0x005555, 0x55AAAA, 0xFFFFFF, 0x114a5a, 0xAAAAAA, 0xFFAA55, 0x55AAFF, 0xFFFFFF]; break;// White on turquoise MIP + case 8: $.gColours = [0x000000, 0xFF5500, 0x5500AA, 0xFF5500, 0xFFFFFF, 0x5500AA, 0xFFAAAA, 0xFFAAAA, 0xaa6e56, 0xFFFFFF, 0xFF5555, 0x00AAFF, 0xFFFFFF]; break;// Peachy Orange MIP + case 9: $.gColours = [0x000000, 0xFFFFFF, 0xAA0000, 0xFFFFFF, 0xFFFFFF, 0xAA0000, 0xFF0000, 0xFFFFFF, 0xAA0000, 0xFF0000, 0xAA0000, 0x00AAFF, 0xFFFFFF]; break;// Red and White MIP + case 10: $.gColours = [0x000000, 0xFFFFFF, 0x0055AA, 0xFFFFFF, 0xFFFFFF, 0x0055AA, 0x0055AA, 0xFFFFFF, 0x0055AA, 0x55AAFF, 0xFFAA00, 0x55AAFF, 0xFFFFFF]; break;// White on Blue MIP + case 11: $.gColours = [0x000000, 0xFFAA00, 0x002424, 0xFFAA00, 0xFFFFFF, 0x005555, 0x55AAAA, 0xFFAA55, 0x555555, 0x55AAAA, 0xFFAA00, 0x55AAAA, 0xFFFFFF]; break;// Orange on Teal MIP + case 12: $.gColours = [0x000000, 0xFFFFFF, 0xaa5500, 0xFFFFFF, 0xFFFFFF, 0xaa5500, 0xFF5500, 0xFFFFFF, 0xAA5500, 0x00AAFF, 0xFFAA00, 0x00AAFF, 0xFFFFFF]; break;// White and Orange MIP + case 13: $.gColours = [0x000000, 0x0055AA, 0x000055, 0x0055AA, 0xFFFFFF, 0x555555, 0x0055AA, 0xFFFFFF, 0x0055AA, 0x55AAFF, 0xFFAA00, 0x55AAFF, 0xFFFFFF]; break;// Blue MIP + case 14: $.gColours = [0x000000, 0xFFAA00, 0x555555, 0xFFAA00, 0xFFFFFF, 0x555555, 0xFFAA00, 0xFFFFFF, 0x555555, 0x55AAFF, 0xFFAA00, 0x55AAFF, 0xFFFFFF]; break;// Orange MIP + case 15: $.gColours = [0x000000, 0xFFFFFF, 0x555555, 0xFFFFFF, 0xFFFFFF, 0x555555, 0xFFFFFF, 0xFFFFFF, 0x555555, 0x55AAFF, 0xFFAA00, 0x55AAFF, 0xFFFFFF]; break;// White on black MIP + case 16: $.gColours = [0xFFFFFF, 0x000000, 0xAAAAAA, 0x000000, 0x000000, 0xAAAAAA, 0x000000, 0x000000, 0x555555, 0x000000, 0xFFAA00, 0x55AAFF, 0x555555]; break;// Black on White MIP + case 17: $.gColours = [0xFFFFFF, 0xAA0000, 0xAAAAAA, 0xAA0000, 0x000000, 0xAAAAAA, 0xAA0000, 0x000000, 0x555555, 0x000000, 0xFFAA00, 0x55AAFF, 0x555555]; break;// Red on White MIP + case 18: $.gColours = [0xFFFFFF, 0x0000AA, 0xAAAAAA, 0x0000AA, 0x000000, 0xAAAAAA, 0x0000AA, 0x000000, 0x555555, 0x000000, 0xFFAA00, 0x55AAFF, 0x555555]; break;// Blue on White MIP + case 19: $.gColours = [0xFFFFFF, 0x00AA00, 0xAAAAAA, 0x00AA00, 0x000000, 0xAAAAAA, 0x00AA00, 0x000000, 0x555555, 0x000000, 0xFFAA00, 0x55AAFF, 0x555555]; break;// Green on White MIP + case 20: $.gColours = [0xFFFFFF, 0xFF5500, 0xAAAAAA, 0xFF5500, 0x000000, 0xAAAAAA, 0x555555, 0x000000, 0x555555, 0x000000, 0xFF5500, 0x55AAFF, 0x555555]; break;// Orange on White MIP + case 21: $.gColours = [0x000000, 0xFF5500, 0x005500, 0xFF5500, 0x00FF00, 0x005500, 0xFF5500, 0x00FF00, 0x5ca28f, 0x55FF55, 0xFF5500, 0x00AAFF, 0xFFFFFF]; break;// Green and Orange MIP + case 22: $.gColours = [0x000000, 0xAAAA55, 0x005500, 0xAAAA55, 0x00FF00, 0x005500, 0xAAAA00, 0xAAAA55, 0x546a36, 0x00FF55, 0xAAAA55, 0x00FF00, 0xFFFFFF]; break;// Green Camo MIP + case 23: $.gColours = [0x000000, 0xFF0000, 0x555555, 0xFF0000, 0xFFFFFF, 0x555555, 0xFF0000, 0xFFFFFF, 0x555555, 0x55AAFF, 0xFF5555, 0x55AAFF, 0xFFFFFF]; break;// Red on Black MIP + case 24: $.gColours = [0xFFFFFF, 0xAA00FF, 0xAAAAAA, 0xAA00FF, 0x000000, 0xAAAAAA, 0xAA00FF, 0x000000, 0x555555, 0x000000, 0xFF5500, 0x55AAFF, 0x555555]; break;// Purple on White MIP + case 25: $.gColours = [0x000000, 0xAA00FF, 0x555555, 0xAA00FF, 0xFFFFFF, 0x555555, 0xAA00FF, 0xFFFFFF, 0x555555, 0x55AAFF, 0xFFAA00, 0x55AAFF, 0xFFFFFF]; break;// Purple on black MIP + case 26: $.gColours = [0x000000, 0xFFAA00, 0x555555, 0xFFAA00, 0xFFAA55, 0x555555, 0xFFAA00, 0xFFAA55, 0x555555, 0x55AAAA, 0xFFAA00, 0x55AAAA, 0xFFFFFF]; break;// Amber MIP + default: $.gColours = [0xff0000, 0x00ff00, 0x0000ff, 0x550000, 0x005500, 0x000055, 0xff00ff, 0x00ffff, 0xffff00, 0x005555, 0x550055, 0x555500, 0xffffff]; break;// error case + } +} diff --git a/source/hockeyTimerMenuDelegate.mc b/source/hockeyTimerMenuDelegate.mc new file mode 100644 index 0000000..64d91c2 --- /dev/null +++ b/source/hockeyTimerMenuDelegate.mc @@ -0,0 +1,19 @@ +import Toybox.Lang; +import Toybox.System; +import Toybox.WatchUi; + +class hockeyTimerMenuDelegate extends WatchUi.MenuInputDelegate { + + function initialize() { + MenuInputDelegate.initialize(); + } + + function onMenuItem(item as Symbol) as Void { + if (item == :item_1) { + System.println("item 1"); + } else if (item == :item_2) { + System.println("item 2"); + } + } + +} \ No newline at end of file diff --git a/source/hockeyTimerView.mc b/source/hockeyTimerView.mc new file mode 100644 index 0000000..73107e7 --- /dev/null +++ b/source/hockeyTimerView.mc @@ -0,0 +1,58 @@ +import Toybox.Graphics; +import Toybox.WatchUi; +import Toybox.Lang; + +public var kjr as String = "88:88"; + +class hockeyTimerView extends WatchUi.View { + + function initialize() { + View.initialize(); + } + + // Load your resources here + function onLayout(dc as Dc) as Void { + // setLayout($.Rez.Layouts.MainLayout(dc)); + $.setColourTheme(1); + } + + // 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 { + var _colourBG = $.gColours[background] ; + // var _colourTextBG = $.gColours[timerBg]; + var _colourText = $.gColours[timer]; + + + dc.setColor(_colourText, _colourBG); + dc.clear(); + + dc.drawText(dc.getWidth()/2, dc.getHeight()/3, Graphics.FONT_MEDIUM, kjr, Graphics.TEXT_JUSTIFY_CENTER); + + } + + // 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 { + } + + // private function drawPeriodTimer(dc as Dc){ + // _MM = $.gMatch.periods[$.gMatch.period].remaining/60; + // _SS = $.gMatch.periods[$.gMatch.period].remaining%60; + // _TM = Lang.format("$1$:$2$",[_MM.format("%02d"),_SS.format("%02d")]); + // dc.setColor(_colourTextBG, Graphics.COLOR_TRANSPARENT); + // dc.drawText($.gX, $.gY, $.gFontTimer, "88:88", Graphics.TEXT_JUSTIFY_VCENTER | Graphics.TEXT_JUSTIFY_CENTER); + // dc.setColor(_colourText, Graphics.COLOR_TRANSPARENT); + // dc.setPenWidth(2); + // dc.drawLine(60,$.gY - 55,330,$.gY - 55); + // dc.drawLine(60,$.gY + 56,330,$.gY + 56); + // dc.drawText($.gX, $.gY, $.gFontTimer, _TM, Graphics.TEXT_JUSTIFY_VCENTER | Graphics.TEXT_JUSTIFY_CENTER); + // } + +} diff --git a/source/test/TestDelegate.mc b/source/test/TestDelegate.mc new file mode 100644 index 0000000..767686a --- /dev/null +++ b/source/test/TestDelegate.mc @@ -0,0 +1,125 @@ +import Toybox.Lang; +import Toybox.WatchUi; + +class MyInputDelegate extends WatchUi.InputDelegate { + + function initialize() { + InputDelegate.initialize(); + } + + function onDrag(dragEvent as WatchUi.DragEvent) as Lang.Boolean { + $.kjr = "on-Drag"; + System.println(dragEvent.getType()); + WatchUi.requestUpdate(); + return true; + + } + function onFlick(flickEvent as WatchUi.FlickEvent) as Lang.Boolean { + $.kjr = "onFlick"; + System.println(flickEvent.getDirection()); + WatchUi.requestUpdate(); + return true; + } + function onHold(clickEvent as WatchUi.ClickEvent) as Lang.Boolean { + $.kjr = "onHold"; + System.println(clickEvent.getType()); + WatchUi.requestUpdate(); + return true; + } + function onKey(keyEvent as WatchUi.KeyEvent) as Lang.Boolean { + $.kjr = "onKey"; + System.println(keyEvent.getKey()); + WatchUi.requestUpdate(); + return true; + } + function onKeyPressed(keyEvent as WatchUi.KeyEvent) as Lang.Boolean { + $.kjr = "onKeyPressed"; + System.println(keyEvent.getKey()); + WatchUi.requestUpdate(); + return true; + } + function onKeyReleased(keyEvent as WatchUi.KeyEvent) as Lang.Boolean { + $.kjr = "onKeyReleased"; + System.println(keyEvent.getKey()); + WatchUi.requestUpdate(); + return true; + } + function onRelease(clickEvent as WatchUi.ClickEvent) as Lang.Boolean { + $.kjr = "onRelease"; + System.println(clickEvent.getType()); + WatchUi.requestUpdate(); + return true; + } + function onSelectable(selectableEvent as WatchUi.SelectableEvent) as Lang.Boolean { + $.kjr = "onSelectable"; + WatchUi.requestUpdate(); + return true; + } + function onSwipe(swipeEvent as WatchUi.SwipeEvent) as Lang.Boolean { + $.kjr = "onSwipe"; + System.println(swipeEvent.getDirection()); + WatchUi.requestUpdate(); + return true; + } + function onTap(clickEvent as WatchUi.ClickEvent) as Lang.Boolean { + $.kjr = "onTap"; + System.println(clickEvent.getType()); + WatchUi.requestUpdate(); + return true; + } +} + +class MyBehaviorDelegate extends WatchUi.BehaviorDelegate { + + function initialize() { + BehaviorDelegate.initialize(); + } + + function onMenu() as Boolean { + $.kjr = "OnMenu"; + WatchUi.requestUpdate(); + return true; + } + function onActionMenu() as Boolean { + $.kjr = "onActionMenu"; + WatchUi.requestUpdate(); + return true; + } + + function onBack() as Boolean { + $.kjr = "onBack"; + WatchUi.requestUpdate(); + return true; + } + + function onNextMode() as Lang.Boolean { + $.kjr = "onNextMode"; + WatchUi.requestUpdate(); + return true; + } + + function onNextPage() as Lang.Boolean { + $.kjr = "onNextPage"; + WatchUi.requestUpdate(); + return true; + } + + function onPreviousMode() as Lang.Boolean { + $.kjr = "onPreviousMode"; + WatchUi.requestUpdate(); + return true; + } + + function onPreviousPage() as Lang.Boolean { + $.kjr = "onPreviousPage"; + WatchUi.requestUpdate(); + return true; + } + + function onSelect() as Lang.Boolean{ + $.kjr = "onSelect"; + WatchUi.requestUpdate(); + return true; + } + +} \ No newline at end of file