<!DOCTYPE template>
<!--
  Description:
    Condensed mixer controls, for 4 decks with stacked waveforms and EQs.
-->
<Template>
  <SetVariable name="group">[Channel<Variable name="i"/>]</SetVariable>
  <WidgetGroup>
    <ObjectName>DeckMixer_ColumnCondensed</ObjectName>
    <Layout>vertical</Layout>
    <Children>

      <WidgetGroup>
        <Layout>vertical</Layout>
        <Children>

          <Template src="skin:mixer_column_eq_right.xml" />

        </Children>
        <Connection>
          <ConfigKey>[Master],show_eqs</ConfigKey>
          <BindProperty>visible</BindProperty>
        </Connection>
      </WidgetGroup>

      <WidgetGroup>
        <Layout>vertical</Layout>
        <Children>

          <WidgetGroup>
            <ObjectName>CondensedButtonContainerRight</ObjectName>
            <SizePolicy>min,min</SizePolicy>
            <Layout>horizontal</Layout>
            <Children>
              <WidgetGroup><Size>9f,0min</Size></WidgetGroup>

              <Template src="skin:left_2state_button.xml">
                <SetVariable name="TooltipId">pfl</SetVariable>
                <SetVariable name="ObjectName">DeckPFLButton</SetVariable>
                <SetVariable name="MinimumSize">22,22</SetVariable>
                <SetVariable name="MaximumSize">22,22</SetVariable>
                <SetVariable name="SizePolicy">f,f</SetVariable>
                <SetVariable name="state_0_text"></SetVariable>
                <SetVariable name="state_0_pressed">icon/ic_headphones_48px.svg</SetVariable>
                <SetVariable name="state_0_unpressed">icon/ic_headphones_48px.svg</SetVariable>
                <SetVariable name="state_1_text"></SetVariable>
                <SetVariable name="state_1_pressed">icon/ic_headphones_48px.svg</SetVariable>
                <SetVariable name="state_1_unpressed">icon/ic_headphones_48px.svg</SetVariable>
                <SetVariable name="left_connection_control"><Variable name="group"/>,pfl</SetVariable>
              </Template>
            </Children>
          </WidgetGroup><!-- PFL -->

          <WidgetGroup><Size>0min,3f</Size></WidgetGroup>

          <WidgetGroup><!-- VU + Vol fader -->
            <GroupName>CondensedVolumeAndMonoMeter</GroupName>
            <Layout>horizontal</Layout>
            <MaximumSize>60,141</MaximumSize>
            <SizePolicy>min,min</SizePolicy>
            <Children>
              <SliderComposed>
                <TooltipId>channel_volume</TooltipId>
                <SizePolicy>min,me</SizePolicy>
                <MinimumSize>40,50</MinimumSize>
                <MaximumSize>40,-1</MaximumSize>
                <Slider scalemode="STRETCH">slider-vertical.svg</Slider>
                <Handle scalemode="STRETCH_ASPECT">handle-vertical-orange.svg</Handle>
                <Horizontal>false</Horizontal>
                <Connection>
                  <ConfigKey><Variable name="group"/>,volume</ConfigKey>
                  <EmitOnDownPress>false</EmitOnDownPress>
                </Connection>
              </SliderComposed>

              <WidgetGroup>
                <Layout>horizontal</Layout>
                <ObjectName>4DecksMixerCondensedMonoMeterRight</ObjectName>
                <Children>
                  <Template src="skin:vumeter_v.xml">
                    <SetVariable name="group"><Variable name="group"/></SetVariable>
                    <SetVariable name="tooltip_meter">channel_VuMeter</SetVariable>
                    <SetVariable name="tooltip_clip">channel_PeakIndicator</SetVariable>
                  </Template>
                </Children>
              </WidgetGroup>

            </Children>
            <Connection>
              <ConfigKey>[Master],show_faders</ConfigKey>
              <BindProperty>visible</BindProperty>
            </Connection>
          </WidgetGroup><!-- VU + Vol fader -->

          <WidgetGroup><!-- VU + spacer -->
            <Layout>horizontal</Layout>
            <SizePolicy>me,min</SizePolicy>
            <Children>

              <WidgetGroup><Size>9f,0min</Size></WidgetGroup>

              <WidgetGroup>
                <ObjectName>channel_VuMeter_Group</ObjectName>
                <Layout>horizontal</Layout>
                <Size>22max,-1min</Size>
                <Children>
                  <Template src="skin:vumeter_v.xml">
                    <SetVariable name="group"><Variable name="group"/></SetVariable>
                    <SetVariable name="side">L</SetVariable>
                    <SetVariable name="tooltip_meter">channel_VuMeterL</SetVariable>
                    <SetVariable name="tooltip_clip">channel_PeakIndicatorL</SetVariable>
                  </Template>
                  <Template src="skin:vumeter_v.xml">
                    <SetVariable name="group"><Variable name="group"/></SetVariable>
                    <SetVariable name="side">R</SetVariable>
                    <SetVariable name="tooltip_meter">channel_VuMeterR</SetVariable>
                    <SetVariable name="tooltip_clip">channel_PeakIndicatorR</SetVariable>
                  </Template>
                </Children>
              </WidgetGroup>

              <Template src="skin:spacer_h.xml"/>

            </Children>
            <Connection>
              <ConfigKey>[Master],show_faders</ConfigKey>
              <BindProperty>visible</BindProperty>
              <Transform><Not/></Transform>
            </Connection>
          </WidgetGroup><!-- VU + spacer -->

          <WidgetGroup><Size>0min,3f</Size></WidgetGroup>

          <WidgetGroup>
            <ObjectName>CondensedButtonContainerRight</ObjectName>
            <SizePolicy>me,min</SizePolicy>
            <Layout>horizontal</Layout>
            <Children>
              <WidgetGroup><Size>9f,0min</Size></WidgetGroup>

              <Template src="skin:crossfader_orientation_button.xml">
                <SetVariable name="Unit">Deck<Variable name="i"/></SetVariable>
              </Template>

            </Children>
          </WidgetGroup>

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

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