summaryrefslogtreecommitdiffstats
path: root/res/skins/LateNight/mic_aux/ducking_controls.xml
blob: d5663468c7591bd7958c69d9e31375808a2bece2 (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
<Template>
  <WidgetGroup>
    <ObjectName>MicDuckingContainer</ObjectName>
    <Layout>vertical</Layout>
    <SizePolicy>f,min</SizePolicy>
    <Children>
      <WidgetGroup>
        <ObjectName>MicDuckingModeBox</ObjectName>
        <Layout>horizontal</Layout>
        <SizePolicy>me,min</SizePolicy>
        <Children>
          <Template src="skin:/controls/button_3state.xml">
            <SetVariable name="TooltipId">talkover_duck_mode</SetVariable>
            <SetVariable name="ObjectName">MicDucking</SetVariable>
            <SetVariable name="Size">42f,24f</SetVariable>
            <SetVariable name="BtnType">embedded</SetVariable>
            <SetVariable name="BtnSize">medium</SetVariable>
            <SetVariable name="ConfigKey">[Master],talkoverDucking</SetVariable>
          </Template>
        </Children>
      </WidgetGroup>
      <WidgetGroup>
        <ObjectName>MicDuckingStrengthBox</ObjectName>
        <Layout>horizontal</Layout>
        <SizePolicy>me,min</SizePolicy>
        <Children>
          <Template src="skin:/controls/knob.xml">
            <SetVariable name="TooltipId">talkover_duck_strength</SetVariable>
            <SetVariable name="Size">35f,30f</SetVariable>
            <SetVariable name="KnobColor">red</SetVariable>
            <SetVariable name="ArcColor"><Variable name="ArcColorFxMix"/></SetVariable>
            <SetVariable name="ArcReversed">true</SetVariable>
            <SetVariable name="Group">[Master]</SetVariable>
            <SetVariable name="Control">duckStrength</SetVariable>
          </Template>
        </Children>
      </WidgetGroup><!-- MicDuckingStrengthKnob -->
    </Children>
    <Connection>
      <ConfigKey>[LateNight],show_ducking_controls</ConfigKey>
      <BindProperty>visible</BindProperty>
    </Connection>
  </WidgetGroup><!-- MicDuckingContainer -->
</Template>