|
11 | 11 | <SizePolicy>min,min</SizePolicy> |
12 | 12 | <Children> |
13 | 13 | <Template src="skin:mixer_column_pfl_levels.xml"/> |
14 | | - <Template src="skin:mixer_column_volume_gain.xml"/> |
| 14 | + |
| 15 | + <!-- Fader column with gain/mute above --> |
| 16 | + <WidgetGroup> |
| 17 | + <ObjectName>DeckMixer_Column2</ObjectName> |
| 18 | + <Layout>vertical</Layout> |
| 19 | + <SizePolicy>max,me</SizePolicy> |
| 20 | + <Children> |
| 21 | + <!-- Gain knob and mute button above fader --> |
| 22 | + <WidgetGroup> |
| 23 | + <Layout>horizontal</Layout> |
| 24 | + <SizePolicy>me,min</SizePolicy> |
| 25 | + <Children> |
| 26 | + <!-- Gain knob on inside --> |
| 27 | + <WidgetGroup> |
| 28 | + <Layout>vertical</Layout> |
| 29 | + <Size>40f,-1</Size> |
| 30 | + <MinimumSize>40,34</MinimumSize> |
| 31 | + <MaximumSize>40,46</MaximumSize> |
| 32 | + <Children> |
| 33 | + <Template src="skin:knob.xml"> |
| 34 | + <SetVariable name="TooltipId">pregain</SetVariable> |
| 35 | + <SetVariable name="control">pregain</SetVariable> |
| 36 | + <SetVariable name="color">green</SetVariable> |
| 37 | + </Template> |
| 38 | + </Children> |
| 39 | + </WidgetGroup> |
| 40 | + <!-- mute button on outside edge (right) --> |
| 41 | + <PushButton> |
| 42 | + <TooltipId>mute</TooltipId> |
| 43 | + <Size>15f,20f</Size> |
| 44 | + <ObjectName>EQKillButton</ObjectName> |
| 45 | + <NumberStates>2</NumberStates> |
| 46 | + <State> |
| 47 | + <Number>0</Number> |
| 48 | + </State> |
| 49 | + <State> |
| 50 | + <Number>1</Number> |
| 51 | + </State> |
| 52 | + <Connection> |
| 53 | + <ConfigKey><Variable name="group"/>,mute</ConfigKey> |
| 54 | + <ButtonState>LeftButton</ButtonState> |
| 55 | + </Connection> |
| 56 | + <Connection> |
| 57 | + <ConfigKey>[Skin],show_eq_kill_buttons</ConfigKey> |
| 58 | + <BindProperty>visible</BindProperty> |
| 59 | + </Connection> |
| 60 | + </PushButton> |
| 61 | + </Children> |
| 62 | + </WidgetGroup> |
| 63 | + |
| 64 | + <WidgetGroup><Size>0min,2f</Size></WidgetGroup> |
| 65 | + |
| 66 | + <SliderComposed> |
| 67 | + <TooltipId>channel_volume</TooltipId> |
| 68 | + <SizePolicy>me,me</SizePolicy> |
| 69 | + <MinimumSize>40,50</MinimumSize> |
| 70 | + <MaximumSize>40,150</MaximumSize> |
| 71 | + <Slider scalemode="STRETCH">slider-vertical.svg</Slider> |
| 72 | + <Handle scalemode="STRETCH_ASPECT">handle-volume-deck<Variable name="i"/>.svg</Handle> |
| 73 | + <Horizontal>false</Horizontal> |
| 74 | + <Connection> |
| 75 | + <ConfigKey><Variable name="group"/>,volume</ConfigKey> |
| 76 | + <EmitOnDownPress>false</EmitOnDownPress> |
| 77 | + </Connection> |
| 78 | + </SliderComposed> |
| 79 | + |
| 80 | + <WidgetGroup><Size>0min,5f</Size></WidgetGroup> |
| 81 | + </Children> |
| 82 | + <Connection> |
| 83 | + <ConfigKey>[Skin],show_faders</ConfigKey> |
| 84 | + <BindProperty>visible</BindProperty> |
| 85 | + </Connection> |
| 86 | + </WidgetGroup> |
| 87 | + |
15 | 88 | <Template src="skin:mixer_column_eq_right.xml"/> |
16 | 89 | </Children> |
17 | 90 | </WidgetGroup> |
|
0 commit comments