<!DOCTYPE template>
<!--
  Description:
    A standard knob.
  Variables:
    group
    control:  The control to connect to
    TooltipId
    Size:
    Label:    text shown below the knob
    PotiMinAngle
    PotiMaxAngle
-->
<Template>
  <WidgetGroup>
    <ObjectName>AlignCenter</ObjectName>
    <Layout>vertical</Layout>
    <SizePolicy>min,min</SizePolicy>
    <Children>
      <WidgetGroup>
        <ObjectName>KnobCentered</ObjectName>
        <Layout>horizontal</Layout>
        <Children>
          <KnobComposed>
            <TooltipId><Variable name="TooltipId"/></TooltipId>
            <Size><Variable name="Size"/></Size>
            <Knob>skins:LateNight/<Variable name="KnobScheme"/>/knobs/knob_indicator_<Variable name="KnobIndicator"/>_<Variable name="KnobColor"/>.svg</Knob>
            <BackPath>skins:LateNight/<Variable name="KnobScheme"/>/knobs/knob_bg_<Variable name="KnobBg"/>.svg</BackPath>
            <MinAngle><Variable name="PotiMinAngle"/></MinAngle>
            <MaxAngle><Variable name="PotiMaxAngle"/></MaxAngle>
            <ArcRadius><Variable name="ArcRadius"/></ArcRadius>
            <ArcUnipolar><Variable name="ArcUnipolar"/></ArcUnipolar>
            <ArcReversed><Variable name="ArcReversed"/></ArcReversed>
            <ArcColor><Variable name="ArcColor"/></ArcColor>
            <ArcBgColor><Variable name="ArcBgColor"/></ArcBgColor>
            <ArcThickness><Variable name="ArcThickness"/></ArcThickness>
            <ArcBgThickness><Variable name="ArcBgThickness"/></ArcBgThickness>
            <ArcRoundCaps><Variable name="ArcRoundCaps"/></ArcRoundCaps>
            <KnobCenterYOffset>1.998</KnobCenterYOffset>
            <Connection>
              <ConfigKey><Variable name="Group"/>,<Variable name="Control"/></ConfigKey>
            </Connection>
          </KnobComposed>
        </Children>
      </WidgetGroup>

      <WidgetGroup>
        <ObjectName>AlignCenter</ObjectName>
        <Layout>horizontal</Layout>
        <Children>
          <Label>
            <ObjectName>KnobLabel</ObjectName>
            <SizePolicy>max,min</SizePolicy>
            <Text><Variable name="Label"/></Text>
            <Alignment>center</Alignment>
          </Label>
        </Children>
      </WidgetGroup>

    </Children>
  </WidgetGroup>
</Template>
