<!DOCTYPE template>
<!--
  Description:
    A deck waveform overview widget.
  Variables:
    i: The deck number (1-indexed)
    DeckBackgroundColor
    PlayedOverlayColor
    DeckSignalColor
-->
<Template>
  <Overview>
    <TooltipId>waveform_overview</TooltipId>
    <Group><Variable name="group"/></Group>
    <SizePolicy>me,me</SizePolicy>
    <BgColor><Variable name="DeckBackgroundColor"/></BgColor>
    <PlayedOverlayColor><Variable name="PlayedOverlayColor"/></PlayedOverlayColor>
    <SignalHighColor></SignalHighColor>
    <SignalMidColor></SignalMidColor>
    <SignalLowColor></SignalLowColor>
    <SignalRGBHighColor></SignalRGBHighColor>
    <SignalRGBMidColor></SignalRGBMidColor>
    <SignalRGBLowColor></SignalRGBLowColor>
    <SignalColor><Variable name="DeckSignalColor"/></SignalColor>
    <PlayPosColor>#00FF00</PlayPosColor>
    <DefaultMark>
      <Align>bottom|right</Align>
      <Color>#619dea</Color>
      <TextColor>#FFFFFF</TextColor>
      <Text> %1 </Text>
    </DefaultMark>
    <Mark>
      <Control>cue_point</Control>
      <Align>top|right</Align>
      <Color>#FF001C</Color>
      <TextColor>#FFFFFF</TextColor>
      <Text>C</Text>
    </Mark>
    <!-- Loop -->
    <MarkRange>
      <StartControl>loop_start_position</StartControl>
      <EndControl>loop_end_position</EndControl>
      <EnabledControl>loop_enabled</EnabledControl>
      <Color>#00FF00</Color>
      <Opacity>0.7</Opacity>
      <DisabledColor>#FFFFFF</DisabledColor>
      <DisabledOpacity>0.6</DisabledOpacity>
    </MarkRange>
    <!-- Intro -->
    <MarkRange>
      <StartControl>intro_start_position</StartControl>
      <EndControl>intro_end_position</EndControl>
      <VisibilityControl>[Skin],show_intro_outro_cues</VisibilityControl>
      <Color>#0000FF</Color>
      <Opacity>0.6</Opacity>
      <DurationTextColor>#ffffff</DurationTextColor>
      <DurationTextLocation>after</DurationTextLocation>
    </MarkRange>
    <Mark>
      <Control>intro_start_position</Control>
      <VisibilityControl>[Skin],show_intro_outro_cues</VisibilityControl>
      <Text></Text>
      <Align>top|right</Align>
      <Color>#0000FF</Color>
      <TextColor>#FFFFFF</TextColor>
    </Mark>
    <Mark>
      <Control>intro_end_position</Control>
      <VisibilityControl>[Skin],show_intro_outro_cues</VisibilityControl>
      <Text>&#9698;</Text>
      <Align>top|left</Align>
      <Color>#0000FF</Color>
      <TextColor>#FFFFFF</TextColor>
    </Mark>
    <!-- Outro -->
    <MarkRange>
      <StartControl>outro_start_position</StartControl>
      <EndControl>outro_end_position</EndControl>
      <VisibilityControl>[Skin],show_intro_outro_cues</VisibilityControl>
      <Color>#0000FF</Color>
      <Opacity>0.6</Opacity>
      <DurationTextColor>#ffffff</DurationTextColor>
      <DurationTextLocation>before</DurationTextLocation>
    </MarkRange>
    <Mark>
      <Control>outro_start_position</Control>
      <VisibilityControl>[Skin],show_intro_outro_cues</VisibilityControl>
      <Text>&#9699;</Text>
      <Align>top|right</Align>
      <Color>#0000FF</Color>
      <TextColor>#FFFFFF</TextColor>
    </Mark>
    <Mark>
      <Control>outro_end_position</Control>
      <VisibilityControl>[Skin],show_intro_outro_cues</VisibilityControl>
      <Text></Text>
      <Align>top|left</Align>
      <Color>#0000FF</Color>
      <TextColor>#FFFFFF</TextColor>
    </Mark>
    <Connection>
      <ConfigKey><Variable name="group"/>,playposition</ConfigKey>
      <EmitOnDownPress>false</EmitOnDownPress>
    </Connection>
  </Overview>
</Template>
