-
Notifications
You must be signed in to change notification settings - Fork 9
/
effect.xml
70 lines (64 loc) · 2.5 KB
/
effect.xml
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
59
60
61
62
63
64
65
66
67
68
69
70
<!-- One effect's box in the BeatFX section -->
<Template>
<WidgetGroup>
<ObjectName>BeatFX_Unit</ObjectName>
<Layout>vertical</Layout>
<Children>
<EffectSelector>
<ObjectName>EffectSelector</ObjectName>
<EffectRack><Variable name="rack"/></EffectRack>
<EffectUnit><Variable name="unit"/></EffectUnit>
<Effect><Variable name="effect"/></Effect>
<Elide>right</Elide>
<Size>0me,50max</Size>
</EffectSelector>
<VuMeter>
<ObjectName>EffectMeter</ObjectName>
<Size>0me,6max</Size>
<PathBack scalemode="STRETCH">icons/effect_meter_bg.png</PathBack>
<PathVu scalemode="STRETCH">icons/effect_meter_fg.png</PathVu>
<Horizontal>true</Horizontal>
<PeakHoldSize>0</PeakHoldSize>
<PeakHoldTime>0</PeakHoldTime>
<PeakFallTime>0</PeakFallTime>
<PeakFallStep>0</PeakFallStep>
<Connection>
<ConfigKey>[EffectRack<Variable name="rack"/>_EffectUnit<Variable name="unit"/>_Effect<Variable name="effect"/>],meta</ConfigKey>
</Connection>
</VuMeter>
<PushButton>
<ObjectName>EffectToggle</ObjectName>
<Size>0me,30max</Size>
<NumberStates>2</NumberStates>
<State>
<Number>0</Number>
<Text>Off</Text>
</State>
<State>
<Number>1</Number>
<Text>Active</Text>
</State>
<Connection>
<ConfigKey>[EffectRack<Variable name="rack"/>_EffectUnit<Variable name="unit"/>_Effect<Variable name="effect"/>],enabled</ConfigKey>
<ConnectValueToWidget>true</ConnectValueToWidget>
</Connection>
<Connection>
<ConfigKey>EffectRack<Variable name="rack"/>_EffectUnit<Variable name="unit"/>],group_[Master]_enable</ConfigKey>
<ConnectValueToWidget>false</ConnectValueToWidget>
</Connection>
<Connection>
<ConfigKey>[EffectRack<Variable name="rack"/>_EffectUnit<Variable name="unit"/>_Effect<Variable name="effect"/>],meta</ConfigKey>
<ConnectValueToWidget>false</ConnectValueToWidget>
</Connection>
</PushButton>
</Children>
<!-- Highlights this effect unit when selected -->
<Connection>
<ConfigKey>[EffectRack<Variable name="rack"/>_EffectUnit<Variable name="unit"/>],focused_effect</ConfigKey>
<BindProperty>highlight</BindProperty>
<Transform>
<IsEqual><Variable name="effect"/></IsEqual>
</Transform>
</Connection>
</WidgetGroup>
</Template>