<!--
Description:
  Container that's shown when the microphone [micNum] is not configured.
  Contains an Add button that shows a popup when pressed.
Variables:
  micNum
  micLabel
-->
<Template>
  <SetVariable name="sourceType">microphone</SetVariable>
  <SetVariable name="group">[Microphone<Variable name="micNum"/>]</SetVariable>
  <SetVariable name="FxRack">1</SetVariable>
  <WidgetGroup>
    <ObjectName>AlignCenter</ObjectName>
    <Layout>horizontal</Layout>
    <SizePolicy>min,min</SizePolicy>
    <Children>
      <WidgetGroup>
        <ObjectName>MicUnit</ObjectName>
        <Layout>horizontal</Layout>
        <SizePolicy>min,min</SizePolicy>
        <Children>

          <Label>
            <ObjectName>MicUnitIcon</ObjectName>
            <Size>17f,32f</Size>
          </Label>

          <Label>
            <ObjectName>MicUnitLabel</ObjectName>
            <Size>13f,32f</Size>
            <Text><Variable name="micLabel"/></Text>
            <Alignment>right</Alignment>
          </Label>

          <WidgetGroup>
            <ObjectName>AlignTop</ObjectName>
            <Layout>vertical</Layout>
            <Size>20f,28f</Size>
            <Children>
              <Template src="skins:Tango/controls/button_1state.xml">
                <SetVariable name="TooltipId">configure_input</SetVariable>
                <SetVariable name="ObjectName">MicAuxAdd</SetVariable>
                <SetVariable name="Size">20f,20f</SetVariable>
                <SetVariable name="state_0_text">+</SetVariable>
                <SetVariable name="ConfigKey"><Variable name="group"/>,talkover</SetVariable>
              </Template>
            </Children>
          </WidgetGroup>

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

        </Children>
      </WidgetGroup>
    </Children>
    <Connection>
      <ConfigKey><Variable name="group"/>,input_configured</ConfigKey>
      <Transform><Not/></Transform>
      <BindProperty>visible</BindProperty>
    </Connection>
  </WidgetGroup>
</Template>
