<!--
Description:
  Container for
  * waveform overview
  * CoverArt/Spinny
  * Vinyl controls
Variables:
  group               : [ChannelN]
  chanNum             : channel number
  SignalBgColor       : defined in skin.xml
  SignalColor         :
  SignalRGBLowColor   :
  SignalRGBMidColor   :
  SignalRGBHighColor  :
-->
<Template>
  <WidgetGroup>
    <ObjectName>Spacer0f</ObjectName>
    <Layout>horizontal</Layout>
    <Size>0me,50f</Size>
    <Children>
      <WidgetGroup>
        <ObjectName>DeckOverviewRow<Variable name="chanNum"/></ObjectName>
        <Layout>horizontal</Layout>
        <SizePolicy>me,me</SizePolicy>
        <Children>

          <SingletonContainer>
            <ObjectName>DeckOverviewSingleton<Variable name="chanNum"/></ObjectName>
          </SingletonContainer>

          <WidgetGroup><ObjectName>Spacer0f</ObjectName><Size>1f,1min</Size></WidgetGroup>

          <Template src="skins:Tango/decks/vinyl_controls_left.xml"/>

          <Template src="skins:Tango/controls/button_2state.xml">
            <SetVariable name="ObjectName">VinylTogglerLeft</SetVariable>
            <SetVariable name="TooltipId">show_vinylcontrol</SetVariable>
            <SetVariable name="Size">15f,50f</SetVariable>
            <SetVariable name="ConfigKey">[Tango],vinylControlsDeck<Variable name="chanNum"/></SetVariable>
          </Template>

          <!-- Small Cover/Spinny when explicitly set 'small' -->
          <WidgetGroup>
            <Layout>horizontal</Layout>
            <SizePolicy>min,min</SizePolicy>
            <MaximumSize>50,50</MaximumSize>
            <Children>
              <SingletonContainer>
                <ObjectName>SpinnyCoverMini_Singleton<Variable name="chanNum"/></ObjectName>
              </SingletonContainer>
            </Children>
            <Connection>
              <ConfigKey persist="true">[Skin],show_big_spinny_coverart</ConfigKey>
              <BindProperty>visible</BindProperty>
              <Transform><Not/></Transform>
            </Connection>
          </WidgetGroup><!-- Small Cover/Spinny 1 -->

          <!-- Small Cover/Spinny when it's actually BIG, but Channel Mixer replaces big Cover/Spinny -->
          <WidgetGroup>
            <Layout>horizontal</Layout>
            <SizePolicy>min,min</SizePolicy>
            <MaximumSize>50,50</MaximumSize>
            <Children>
              <WidgetGroup>
                <Layout>horizontal</Layout>
                <SizePolicy>min,min</SizePolicy>
                <MaximumSize>50,50</MaximumSize>
                <Children>
                  <SingletonContainer>
                    <ObjectName>SpinnyCoverMini_Singleton<Variable name="chanNum"/></ObjectName>
                  </SingletonContainer>
                </Children>
                <Connection>
                  <ConfigKey persist="true">[Skin],show_mixer</ConfigKey>
                  <BindProperty>visible</BindProperty>
                </Connection>
              </WidgetGroup>
            </Children>
            <Connection>
              <ConfigKey persist="true">[Skin],show_big_spinny_coverart</ConfigKey>
              <BindProperty>visible</BindProperty>
            </Connection>
          </WidgetGroup><!-- / Small Cover/Spinny 2 -->

        </Children>
      </WidgetGroup><!-- DeckOverviewRowN -->

    </Children>
  </WidgetGroup><!-- Spacer0f -->
</Template>
