-
Notifications
You must be signed in to change notification settings - Fork 0
/
knob_with_button_left.xml
43 lines (40 loc) · 1.39 KB
/
knob_with_button_left.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
<!DOCTYPE template>
<!--
Description:
A standard knob with an additional pushbutton
(e.g. for adding kill buttons next to a knob).
Variables:
control: The control to connect the knob to.
button_control: The control to connect the pushbutton to.
-->
<Template>
<WidgetGroup>
<ObjectName>KnobWithButtonHorizontal</ObjectName>
<Layout>horizontal</Layout>
<Children>
<PushButton>
<TooltipId><Variable name="button_TooltipId"/></TooltipId>
<ObjectName>CircleButton</ObjectName>
<Size>15f,15f</Size>
<NumberStates>2</NumberStates>
<State>
<Number>0</Number>
<Text></Text>
<Pressed scalemode="STRETCH_ASPECT">icon/ic_radio_button_off_48px.svg</Pressed>
<Unpressed scalemode="STRETCH_ASPECT">icon/ic_radio_button_off_48px.svg</Unpressed>
</State>
<State>
<Number>1</Number>
<Text></Text>
<Pressed scalemode="STRETCH_ASPECT">icon/ic_radio_button_on_48px.svg</Pressed>
<Unpressed scalemode="STRETCH_ASPECT">icon/ic_radio_button_on_48px.svg</Unpressed>
</State>
<Connection>
<ConfigKey><Variable name="group"/>,<Variable name="button_control"/></ConfigKey>
<ButtonState>LeftButton</ButtonState>
</Connection>
</PushButton>
<Template src="skin:knob.xml"/>
</Children>
</WidgetGroup>
</Template>