1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Generated with glade 3.22.1 -->
3<!--
4
5  Copyright (C) 2018-2019 Alexandros Theodotou <alex at zrythm dot org>
6
7  This file is part of Zrythm
8
9  Zrythm is free software: you can redistribute it and/or modify
10  it under the terms of the GNU Affero General Public License as published by
11  the Free Software Foundation, either version 3 of the License, or
12  (at your option) any later version.
13
14  Zrythm is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  GNU Affero General Public License for more details.
18
19  You should have received a copy of the GNU Affero General Public License
20  along with Zrythm.  If not, see <https://www.gnu.org/licenses/>.
21
22-->
23<interface>
24  <requires lib="gtk+" version="3.20"/>
25  <template class="AutomationTrackWidget" parent="GtkGrid">
26    <property name="visible">True</property>
27    <property name="can_focus">False</property>
28    <child>
29      <object class="AutomatableSelectorButtonWidget" id="selector">
30        <property name="visible">1</property>
31        <property name="tooltip-text" translatable="yes">Control this automation track is for</property>
32      </object>
33      <packing>
34        <property name="left_attach">0</property>
35        <property name="top_attach">0</property>
36      </packing>
37    </child>
38    <child>
39      <object class="GtkToggleButton" id="mute_toggle">
40        <property name="visible">True</property>
41        <property name="can_focus">True</property>
42        <property name="receives_default">True</property>
43        <property name="tooltip_text" translatable="yes">Mute automation track</property>
44        <child>
45          <object class="GtkImage">
46            <property name="visible">True</property>
47            <property name="can_focus">False</property>
48            <property name="icon_name">mute</property>
49          </object>
50        </child>
51      </object>
52      <packing>
53        <property name="left_attach">2</property>
54        <property name="top_attach">0</property>
55      </packing>
56    </child>
57    <child>
58      <object class="GtkBox" id="value_box">
59        <property name="visible">True</property>
60        <property name="can_focus">False</property>
61        <child>
62          <placeholder/>
63        </child>
64        <child>
65          <placeholder/>
66        </child>
67        <child>
68          <placeholder/>
69        </child>
70      </object>
71      <packing>
72        <property name="left_attach">1</property>
73        <property name="top_attach">1</property>
74      </packing>
75    </child>
76    <child>
77      <object class="GtkBox" id="controls_box">
78        <property name="visible">True</property>
79        <property name="can_focus">False</property>
80        <property name="hexpand">True</property>
81        <child>
82          <object class="GtkToggleButton">
83            <property name="label" translatable="yes">RW</property>
84            <property name="visible">True</property>
85            <property name="can_focus">True</property>
86            <property name="receives_default">True</property>
87            <property name="tooltip_text" translatable="yes">Write automation</property>
88            <style>
89              <class name="record_button"/>
90            </style>
91          </object>
92          <packing>
93            <property name="expand">False</property>
94            <property name="fill">True</property>
95            <property name="position">0</property>
96          </packing>
97        </child>
98        <child>
99          <object class="GtkToggleButton">
100            <property name="label" translatable="yes">R</property>
101            <property name="visible">True</property>
102            <property name="can_focus">True</property>
103            <property name="receives_default">True</property>
104            <property name="tooltip_text" translatable="yes">Read automation</property>
105          </object>
106          <packing>
107            <property name="expand">False</property>
108            <property name="fill">True</property>
109            <property name="position">1</property>
110          </packing>
111        </child>
112        <child>
113          <placeholder/>
114        </child>
115      </object>
116      <packing>
117        <property name="left_attach">0</property>
118        <property name="top_attach">1</property>
119      </packing>
120    </child>
121    <child>
122      <object class="GtkLabel" id="current_val">
123        <property name="visible">True</property>
124        <property name="can_focus">False</property>
125        <property name="label" translatable="yes">0.0</property>
126        <property name="width_chars">7</property>
127        <property name="max_width_chars">7</property>
128      </object>
129      <packing>
130        <property name="left_attach">1</property>
131        <property name="top_attach">0</property>
132      </packing>
133    </child>
134    <child>
135      <object class="GtkBox">
136        <property name="visible">True</property>
137        <property name="can_focus">False</property>
138        <child>
139          <object class="GtkButton" id="remove_track">
140            <property name="visible">True</property>
141            <property name="can_focus">True</property>
142            <property name="receives_default">False</property>
143            <property name="tooltip_text" translatable="yes">Remove automation track</property>
144            <signal name="clicked" handler="on_remove_track_clicked" object="AutomationTrackWidget" swapped="no"/>
145            <child>
146              <object class="GtkImage">
147                <property name="visible">True</property>
148                <property name="can_focus">False</property>
149                <property name="icon_name">minus</property>
150              </object>
151            </child>
152          </object>
153          <packing>
154            <property name="expand">False</property>
155            <property name="fill">True</property>
156            <property name="position">0</property>
157          </packing>
158        </child>
159        <child>
160          <object class="GtkButton" id="add_track">
161            <property name="visible">True</property>
162            <property name="can_focus">True</property>
163            <property name="receives_default">False</property>
164            <property name="tooltip_text" translatable="yes">Add automation track</property>
165            <signal name="clicked" handler="on_add_track_clicked" object="AutomationTrackWidget" swapped="no"/>
166            <child>
167              <object class="GtkImage">
168                <property name="visible">True</property>
169                <property name="can_focus">False</property>
170                <property name="icon_name">plus</property>
171              </object>
172            </child>
173          </object>
174          <packing>
175            <property name="expand">False</property>
176            <property name="fill">True</property>
177            <property name="position">1</property>
178          </packing>
179        </child>
180        <child>
181          <placeholder/>
182        </child>
183      </object>
184      <packing>
185        <property name="left_attach">2</property>
186        <property name="top_attach">1</property>
187      </packing>
188    </child>
189  </template>
190</interface>
191