<!DOCTYPE template>
<!--
Buttons for a single effect

Variables:
  EffectRack: the rack
  EffectUnit: the chain
  Effect: the effect
-->
<Template>
  <WidgetGroup>
    <ObjectName>EffectButtonControls</ObjectName>
    <SizePolicy><Variable name="SizePolicy"/></SizePolicy>
    <Layout>horizontal</Layout>
    <Children>
      <Template src="skin:effect_focus_button.xml"/>

      <Template src="skin:left_2state_button.xml">
        <SetVariable name="TooltipId">EffectSlot_enabled</SetVariable>
        <SetVariable name="ObjectName">EffectEnableButton</SetVariable>
        <SetVariable name="MinimumSize"><Variable name="SquareButtonMinimumSize"/></SetVariable>
        <SetVariable name="MaximumSize"><Variable name="EnableButtonMaxSize"/></SetVariable>
        <SetVariable name="SizePolicy">me,me</SetVariable>
        <SetVariable name="left_connection_control">[EffectRack<Variable name="EffectRack"/>_EffectUnit<Variable name="EffectUnit"/>_Effect<Variable name="Effect"/>],enabled</SetVariable>
      </Template>

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