summaryrefslogtreecommitdiffstats
path: root/res/skins/LateNight/controls/knob.xml
blob: 2b59b4f6f3f64335564780f349b479d6e8b99227 (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
<!DOCTYPE template>
<!--
  Description:
    A standard knob.
  Variables:
    group
    control: The control to connect to
    label
    Size
    TooltipId
    PotiMinAngle
    PotiMaxAngle
-->
<Template>
  <WidgetGroup>
    <Layout>vertical</Layout>
    <SizePolicy>min,min</SizePolicy>
    <Children>
      <WidgetGroup>
        <Layout>horizontal</Layout>
        <ObjectName>KnobCentered</ObjectName>
        <Children>

          <KnobComposed>
            <TooltipId><Variable name="TooltipId"/></TooltipId>
            <Size><Variable name="Size"/></Size>
            <Knob>skin:/<Variable name="KnobScheme"/>/knobs/knob_indicator_<Variable name="KnobIndicator"/>_<Variable name="Color"/>.svg</Knob>
            <BackPath>skin:/<Variable name="KnobScheme"/>/knobs/knob_bg_<Variable name="KnobBg"/>.svg</BackPath>
            <MinAngle><Variable name="PotiMinAngle"/></MinAngle>
            <MaxAngle><Variable name="PotiMaxAngle"/></MaxAngle>
            <ArcColor>#ff8800</ArcColor>
            <ArcBgColor>#fff</ArcBgColor>
            <ArcThickness>5</ArcThickness>
            <ArcBgThickness>3</ArcBgThickness>
            <KnobCenterYOffset>1.998</KnobCenterYOffset>
            <Connection>
              <ConfigKey><Variable name="Group"/>,<Variable name="Control"/></ConfigKey>
            </Connection>
          </KnobComposed>
        </Children>
      </WidgetGroup>

      <Label>
        <ObjectName>KnobLabel</ObjectName>
        <Text><Variable name="Label"/></Text>
      </Label>

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