summaryrefslogtreecommitdiffstats
path: root/res/skins/LateNight/fx/assign_buttons_master.xml
blob: a2f3e711b475c3b067db38447b8fbf7ce1ef4212 (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
<!--
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>
  <SetVariable name="BtnType"></SetVariable>

  <WidgetGroup>
    <ObjectName>AlignLeft</ObjectName>
    <Layout>vertical</Layout>
    <SizePolicy>max,max</SizePolicy>
    <Children>
      <WidgetGroup>
        <ObjectName>FxAssignButtons</ObjectName>
        <Layout>horizontal</Layout>
        <SizePolicy>f,min</SizePolicy>
        <Children>
          <Template src="skin:/fx/assign_button.xml">
            <SetVariable name="FxUnit">1</SetVariable>
            <SetVariable name="Width">26</SetVariable>
            <SetVariable name="Text">&#8202;FX&#8202;</SetVariable>
          </Template>
          <Template src="skin:/fx/assign_button.xml">
            <SetVariable name="FxUnit">2</SetVariable>
            <SetVariable name="Width">20</SetVariable>
          </Template>
          <Template src="skin:/fx/assign_button.xml">
            <SetVariable name="FxUnit">3</SetVariable>
            <SetVariable name="Width">20</SetVariable>
          </Template>
          <Template src="skin:/fx/assign_button.xml">
            <SetVariable name="FxUnit">4</SetVariable>
            <SetVariable name="Width">20</SetVariable>
          </Template>
        </Children>
      </WidgetGroup>
    </Children>
  </WidgetGroup>
</Template>