summaryrefslogtreecommitdiffstats
path: root/res/skins/Deere/quick_effect_superknob_right.xml
blob: 846aa7ba6a7fa62f1e92b74cc704247178f84627 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE template>
<!--
  Description:
    The QuickEffect rack superknob.
  Variables:
    QuickEffect: the quick effect rack
    group: the group
    color: the knob ring color. carmine, yellow or light_blue
-->
<Template>
  <SetVariable name="QuickEffectRackGroup">[QuickEffectRack1]</SetVariable>
  <SetVariable name="QuickEffectUnitGroup">[QuickEffectRack1_<Variable name="group"/>]</SetVariable>
  <SetVariable name="QuickEffectEffectGroup">[QuickEffectRack1_<Variable name="group"/>_Effect1]</SetVariable>
  <WidgetGroup>
    <Layout>horizontal</Layout>
    <SizePolicy>me,me</SizePolicy>
    <Children>

      <Template src="skin:knob.xml">
        <SetVariable name="group"><Variable name="QuickEffectUnitGroup"/></SetVariable>
        <SetVariable name="control">super1</SetVariable>
        <SetVariable name="color"><Variable name="color"/></SetVariable>
      </Template>

      <PushButton>
        <TooltipId><Variable name="button_TooltipId"/></TooltipId>
        <Size>15f,20f</Size>
        <ObjectName>QuickEffectKillButton</ObjectName>
        <NumberStates>2</NumberStates>
        <State>
          <Number>0</Number>
        </State>
        <State>
          <Number>1</Number>
        </State>
        <Connection>
          <ConfigKey><Variable name="QuickEffectEffectGroup"/>,enabled</ConfigKey>
          <ButtonState>LeftButton</ButtonState>
        </Connection>
        <Connection>
          <ConfigKey>[Skin],show_eq_kill_buttons</ConfigKey>
          <BindProperty>visible</BindProperty>
        </Connection>
      </PushButton>

      <WidgetGroup><!-- Expanding spacer to push EQ knob to opposite side -->
        <Size>0me,1min</Size>
        <Children/>
        <Connection>
          <ConfigKey>[Skin],show_eq_kill_buttons</ConfigKey>
          <Transform><Not/></Transform>
          <BindProperty>visible</BindProperty>
        </Connection>
      </WidgetGroup>

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