<!--
Description:
  A button that has click or display controls.
Variables:
  ObjectName        : object name
  ToolTipID         : standard Tooltip from mixxx db
    see: https://github.com/mixxxdj/mixxx/blob/master/src/skin/TooltipIds.cpp
  Size              : button size
  state_X_text      : label text for state X
  state_X_pressed   : background graphic for pressed state X
  state_X_unpressed : background graphic for unpressed state X
  Align             : alignment of text
  ConfigKey         : left-click control
-->
<Template>
  <PushButton>
    <TooltipId>EffectUnit_<Variable name="Type"/>_enabled</TooltipId>
    <ObjectName>FxAssignButton<Variable name="FxUnit"/></ObjectName>
    <Size><Variable name="Width"/>f,20f</Size>
    <NumberStates>2</NumberStates>
    <RightClickIsPushButton>false</RightClickIsPushButton>
    <State>
      <Number>0</Number>
      <Text><Variable name="Text"/><Variable name="FxUnit"/></Text>
      <Alignment>center</Alignment>
    </State>
    <State>
      <Number>1</Number>
      <Text><Variable name="Text"/><Variable name="FxUnit"/></Text>
      <Alignment>center</Alignment>
    </State>
    <Connection>
      <ConfigKey>[EffectRack1_EffectUnit<Variable name="FxUnit"/>],group_<Variable name="Group"/>_enable</ConfigKey>
      <ButtonState>LeftButton</ButtonState>
    </Connection>
  </PushButton>
</Template>
