<Gauge Name="BOMB RELEASE Switch" Version="3.0">
//By Karol Chlebowski @ 2013 **
<Update Hidden="Yes">
(L:Repeat) 0 >
if{
(P:Absolute Time, seconds) (L:Elapsed) - (L:F111_Interv_Sum) >
if{
(>K:RELEASE_DROPPABLE_OBJECTS)
(P:Absolute Time, seconds) (> L:Elapsed)
(L:Repeat) -- (> L:Repeat)
}
}
</Update>
<Element>
<Position X="0" Y="0"/>
<Rectangle Height="104" Width="68" LineWidth="2" Color="#4B4B4B" FillColor="#111111" Bright="Yes"/>
</Element>
<Element>
<Position X="14" Y="3"/>
<Text X="42" Y="12" Bright="Yes" Length="6" Font="Tahoma" FontSize="10" Color="#6E98CA" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
<String>%BOMB%</String>
</Text>
</Element>
<!-- REPEAT SWITCHING # NUMBER # Thumbwheel text display TENS and UNITS-->
<Element>
<Position X="2" Y="22"/>
<FormattedText X="40" Y="10" Font="Tahoma" FontSize="8" LineSpacing="10" Adjust="LEFT" Color="#6E98CA" Bright="Yes">
<String>%"No"%</String>
</FormattedText>
</Element>
<Element Name="10 BORDER">
<Position X="24" Y="22"/>
<Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>
</Element>
<Element>
<Position X="26" Y="24"/>
<Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
<String>%((L:F111_Nbr_10s, number))%!d!%</String>
</Text>
</Element>
<Element Name="1 BORDER">
<Position X="38" Y="22"/>
<Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>
</Element>
<Element>
<Position X="40" Y="24"/>
<Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
<String>%((L:F111_Nbr_1s, number))%!d!%</String>
</Text>
</Element>
<!--Thumbwheel SUM defined -ADDS tens and units-->
<Element>
<Position X="65" Y="3"/>
<Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
<String>%((L:F111_Nbr_10s, number) 10 * (L:F111_Nbr_1s, number) + (> L:F111_Nbr_Sum, number))%!02d!%</String>
</Text>
</Element>
<!--TIME INTERVAL SECONDS ( 0.00 ) Thumbwheel text display -->
<Element>
<Position X="2" Y="48"/>
<FormattedText X="20" Y="10" Font="Tahoma" FontSize="8" LineSpacing="10" Adjust="LEFT" Color="#6E98CA" Bright="Yes">
<String>%"TI"%</String>
</FormattedText>
</Element>
<Element Name="1 BORDER">
<Position X="22" Y="48"/>
<Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>
</Element>
<Element Name="0.10 BORDER">
<Position X="39" Y="48"/>
<Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>
</Element>
<Element Name="0.01 BORDER">
<Position X="52" Y="48"/>
<Rectangle Width="12" Height="13" Color="#3B3B3B" Bright="Yes"/>
</Element>
<!--Unit ( 1.00 )-->
<Element>
<Position X="24" Y="50"/>
<Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
<String>%((L:F111_Interv_1s, seconds))%!d!%</String>
</Text>
</Element>
<!--Decimal point ( . )-->
<Element>
<Position X="34" Y="47"/>
<FormattedText X="5" Y="9" Font="Tahoma" FontSize="8" LineSpacing="10" Adjust="Center" Color="0xDACEDE" Bright="Yes">
<String>%.%</String>
</FormattedText>
</Element>
<!--Tenths ( 0.10 )-->
<Element>
<Position X="41" Y="50"/>
<Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
<String>%((L:F111_Interv_0.10s, seconds))%!d!%</String>
</Text>
</Element>
<!--Hundreths ( 0.01 )-->
<Element>
<Position X="54" Y="50"/>
<Text X="10" Y="9" Bright="Yes" Length="2" Font="Arial" Color="0xDACEDE" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
<String>%((L:F111_Interv_0.01s, seconds))%!d!%</String>
</Text>
</Element>
<!--INVISIBLE DEFINES Thumbwheel SUM defined -ADDS Unit ( 1.00 ) and Tenths ( 0.10 ) and Hundreths ( 0.01 )-->
<Element>
<Position X="1" Y="2"/>
<Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
<String>%((P:Absolute time,seconds) 1 % 0.1 1 * (L:F111_Interv_0.10s, seconds) * (> L:F111_Tenths_calc, seconds))%!04d!%</String>
</Text>
</Element>
<Element>
<Position X="4" Y="5"/>
<Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
<String>%((P:Absolute time,seconds) 1 % 0.01 1 * (L:F111_Interv_0.01s, seconds) * (> L:F111_Hundreths_calc, seconds))%!04d!%</String>
</Text>
</Element>
<Element>
<Position X="2" Y="3"/>
<Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
<String>%((L:F111_Interv_1s, seconds) (L:F111_Tenths_calc, seconds) + (> L:F111_Interv_Sub, seconds))%!04d!%</String>
</Text>
</Element>
<Element>
<Position X="3" Y="4"/>
<Text X="1" Y="1" Bright="Yes" Length="3" Font="Arial" Color="0x000000" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
<String>%((L:F111_Interv_Sub, seconds) (L:F111_Hundreths_calc, seconds) + (> L:F111_Interv_Sum, seconds))%!04d!%</String>
</Text>
</Element>
<!--Button Label text-->
<Element>
<Position X="14" Y="66"/>
<Text X="42" Y="12" Bright="Yes" Length="9" Font="Tahoma" FontSize="10" Color="#6E98CA" Adjust="Center" VerticalAdjust="Center" Multiline="No" Fixed="No">
<String>%Release%</String>
</Text>
</Element>
<!--Button graphics-->
<Element>
<Position X="25" Y="80"/>
<Rectangle Height="20" Width="20" LineWidth="2" Color="#3B3B3B" FillColor="#2B2B2B" Bright="Yes"/>
</Element>
<Mouse>
<!-- REPEAT SWITCHING # NUMBER # Thumbwheel text display TENS and UNITS-->
<Macro Name="Button1">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Nbr_10s, number) -- 0 max (> L:F111_Nbr_10s, number) }
(M:Event) 'LeftSingle' scmp 0 == if{ (L:F111_Nbr_10s, number) ++ 9 min (> L:F111_Nbr_10s, number) }
(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Nbr_10s, number) ++ 9 min (> L:F111_Nbr_10s, number) }
(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Nbr_10s, number) -- 0 max (> L:F111_Nbr_10s, number) }</Macro>
<Area Left="24" Top="22" Width="12" Height="20">
<Tooltip>Tens</Tooltip>
<Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button1</Click>
<Cursor Type="Hand" />
</Area>
<Macro Name="Button2">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Nbr_1s, number) -- 0 max (> L:F111_Nbr_1s, number) }
(M:Event) 'LeftSingle' scmp 0 == if{ (L:F111_Nbr_1s, number) ++ 9 min (> L:F111_Nbr_1s, number) }
(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Nbr_1s, number) ++ 9 min (> L:F111_Nbr_1s, number) }
(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Nbr_1s, number) -- 0 max (> L:F111_Nbr_1s, number) }</Macro>
<Area Left="38" Top="22" Width="12" Height="20">
<Tooltip>Units</Tooltip>
<Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button2</Click>
<Cursor Type="Hand" />
</Area>
<!--TIME INTERVAL SECONDS ( 0.00 ) Thumbwheel text display -->
<Macro Name="Button3">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Interv_1s, seconds) -- 0 max (> L:F111_Interv_1s, seconds) }
(M:Event) 'LeftSingle' scmp 0 == if{ (L:F111_Interv_1s, seconds) ++ 9 min (> L:F111_Interv_1s, seconds) }
(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Interv_1s, seconds) ++ 9 min (> L:F111_Interv_1s, seconds) }
(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Interv_1s, seconds) -- 0 max (> L:F111_Interv_1s, seconds) }</Macro>
<Area Left="22" Top="48" Width="12" Height="20">
<Tooltip>1.00s</Tooltip>
<Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button3</Click>
<Cursor Type="Hand" />
</Area>
<Macro Name="Button4">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Interv_0.10s, seconds) -- 0 max (> L:F111_Interv_0.10s, seconds) }
(M:Event) 'LeftSingle' scmp 0 == if{ (L:F111_Interv_0.10s, seconds) ++ 9 min (> L:F111_Interv_0.10s, seconds) }
(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Interv_0.10s, seconds) ++ 9 min (> L:F111_Interv_0.10s, seconds) }
(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Interv_0.10s, seconds) -- 0 max (> L:F111_Interv_0.10s, seconds) }</Macro>
<Area Left="39" Top="48" Width="12" Height="20">
<Tooltip>0.10s</Tooltip>
<Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button4</Click>
<Cursor Type="Hand" />
</Area>
<Macro Name="Button5">(M:Event) 'RightSingle' scmp 0 == if{ (L:F111_Interv_0.01s, seconds) -- 0 max (> L:F111_Interv_0.01s, seconds) }
(M:Event) 'LeftSingle' scmp 0 == if{ (L:F111_Interv_0.01s, seconds) ++ 9 min (> L:F111_Interv_0.01s, seconds) }
(M:Event) 'WheelUp' scmp 0 == if{ (L:F111_Interv_0.01s, seconds) ++ 9 min (> L:F111_Interv_0.01s, seconds) }
(M:Event) 'WheelDown' scmp 0 == if{ (L:F111_Interv_0.01s, seconds) -- 0 max (> L:F111_Interv_0.01s, seconds) }</Macro>
<Area Left="52" Top="48" Width="12" Height="20">
<Tooltip>0.01s</Tooltip>
<Click Kind="LeftSingle+RightSingle+WheelUp+WheelDown">@Button5</Click>
<Cursor Type="Hand" />
</Area>
<Macro Name="Button6">(L:F111_Nbr_Sum, number) (>L:Repeat) (P:Absolute Time, seconds) (L:F111_Interv_Sum, seconds) - (>L:Elapsed,seconds)</Macro>
<Area Left="25" Top="80" Width="21" Height="22">
<Tooltip>Drop Bombs</Tooltip>
<Click Kind="LeftSingle">@Button6</Click>
<Cursor Type="Hand" />
</Area>
</Mouse>
</Gauge>