<plugin resizable="true">
	<vbox spacing="4">
		<grid rows="2" cols="5" transpose="true" hspacing="2" vspacing="2" expand="true">
			<!-- Time graph -->
			<vbox expand="true">
				<label />
				<graph width="560" height="280" expand="true">
					<!-- Gray grid -->
					<marker value="0.25119" color="g_gray" basis="1" parallel="0" />  <!-- -12 dB -->
					<marker value="0.01585" color="g_gray" basis="1" parallel="0" />  <!-- -36 dB -->
					<marker value="0.001" color="g_gray" basis="1" parallel="0" />    <!-- -60 dB -->
					<ui:for id="t" first="0" last="3">
						<marker value="${t}.5" color="g_gray" basis="0" parallel="1" />
					</ui:for>
					
					<!-- Yellow grid -->
					<marker value="0.06310" color="g_yellow" basis="1" parallel="0" /><!-- -24 dB -->
					<ui:for id="t" first="1" last="3">
						<marker value="${t}" color="g_yellow" basis="0" parallel="1" />
					</ui:for>
	
					<!-- Axises and boundaries -->
					<center hpos="1" vpos="-1" visible="false" />
					<axis min="0" max="4" color="g_white" angle="1.0" logarithmic="false" />
					<axis min="-48 db" max="0 db" color="g_white" angle="0.5" logarithmic="true" />
					<marker value="4" color="g_white" basis="0" parallel="1" />
					
					<!-- Baseline -->
					<marker value="0 db" color="g_white" basis="1" parallel="0" width="2" /> <!-- 0 dB -->
					
					<!-- Meshes -->
					<mesh id="ig_l" width="2" color="left_channel_in" visibility=":igv_l" />
					<mesh id="ig_r" width="2" color="right_channel_in" visibility=":igv_r" />
					<mesh id="og_l" width="2" color="left_channel" visibility=":ogv_l" />
					<mesh id="og_r" width="2" color="right_channel" visibility=":ogv_r" />
					<mesh id="scg_l" width="2" color="bright_green" visibility=":scgv_l" />
					<mesh id="scg_r" width="2" color="bright_green" visibility=":scgv_r" />
					<mesh id="grg_l" width="2" color="bright_blue" visibility=":grgv_l" />
					<mesh id="grg_r" width="2" color="bright_blue" visibility=":grgv_r" />
					
					<!-- Markers -->
					<marker id="th" color="g_magenta" basis="1" parallel="0" />
					
					<!-- Text -->
					<text text="graph.values.x:db" text:value="0" coord="4;1" halign="1" valign="-1" />
					<text text="-12" coord="4;0.25119" halign="1" valign="-1" />
					<text text="-24" coord="4;0.06310" halign="1" valign="-1" />
					<text text="-36" coord="4;0.01585" halign="1" valign="-1" />
				
					<text text="graph.units.s" coord="4;0.00398" halign="1" valign="1" />
					<ui:for id="t" first="0" last="3">
						<text text="${t}" coord="${t};0.00398" halign="-1" valign="1" color="white" />
						<text text="${t}.5" coord="${t}.5;0.00398" halign="-1" valign="1" color="white" />
					</ui:for>
				</graph>
				<label />
			</vbox>
			
			<!-- Graph buttons -->
			<hbox spacing="4">
				<button id="alr" size="16" color="yellow" led="true" />
				<label text="labels.alr" />
				<button id="pause" size="16" color="green" led="true" />
				<label text="labels.pause" />
				<button id="clear" size="16" color="red" led="true" />
				<label text="labels.clear" />
				<align hpos="0.5" expand="true">
					<hbox spacing="4" fill="false">
						<label text="labels.mode:" />
						<combo id="mode" />
						<label text="labels.Over_Sampling:" />
						<combo id="ovs" />
						<label text="labels.dither:" />
						<combo id="dith" />
					</hbox>
				</align>
				<label text="labels.graphs.time" />
			</hbox>
			
			<!-- Sidechain meters -->				
			<vbox>
				<grid rows="2" cols="2">
					<label text="labels.chan.L_eft" font_size="8" />
					<label text="labels.chan.R_ight" font_size="8" />
					<button id="scgv_l" size="10" color="bright_green" led="true" />
					<button id="scgv_r" size="10" color="bright_green" led="true" />
				</grid>
				<meter expand="true"
					id="sclm_l" id2="sclm_r" activity_id="scgv_l" activity2_id="scgv_r"
					stereo="true" angle="1" type="peak"
					min="0.00398" max="1.0" height="280"
					color="bright_green" color2="bright_green" />
			</vbox>
			<label text="labels.sc.SC" />
			
			<!-- Gain meters -->				
			<vbox>
				<grid rows="2" cols="2">
					<label text="labels.chan.L_eft" font_size="8" />
					<label text="labels.chan.R_ight" font_size="8" />
					<button id="grgv_l" size="10" color="bright_blue" led="true" />
					<button id="grgv_r" size="10" color="bright_blue" led="true" />
				</grid>
				<meter expand="true"
					id="grlm_l" id2="grlm_r" activity_id="grgv_l" activity2_id="grgv_r"
					stereo="true" angle="1" type="peak"
					min="0.00398" max="1.0" balance="1.0" height="280"
					color="bright_blue" color2="bright_blue" />
			</vbox>
			<label text="labels.gain_" />
			
			<!-- Input signal meters -->
			<vbox>
				<grid rows="2" cols="2">
					<label text="labels.chan.L_eft" font_size="8" />
					<label text="labels.chan.R_ight" font_size="8" />
					<button id="igv_l" size="10" color="left_channel" led="true" />
					<button id="igv_r" size="10" color="right_channel" led="true" />
				</grid>
				<meter expand="true"
					id="ilm_l" id2="ilm_r" activity_id="igv_l" activity2_id="igv_r"
					stereo="true" angle="1" type="rms_peak"
					min="0.00398" max="1.0f" height="280"
					color="left_channel" color2="right_channel" />
			</vbox>
			<label text="labels.chan.in" />
			
			<!-- Output signal meters -->
			<vbox>
				<grid rows="2" cols="2">
					<label text="labels.chan.L_eft" font_size="8" />
					<label text="labels.chan.R_ight" font_size="8" />
					<button id="ogv_l" size="10" color="left_channel" led="true" />
					<button id="ogv_r" size="10" color="right_channel" led="true" />
				</grid>
				<meter expand="true"
					id="olm_l" id2="olm_r" activity_id="ogv_l" activity2_id="ogv_r"
					stereo="true" angle="1" type="rms_peak"
					min="0.00398" max="1.0" height="280"
					color="left_channel" color2="right_channel" />
			</vbox>
			<label text="labels.chan.out" />
		</grid>
		<hbox spacing="4">
			<!-- ALR -->
			<group text="groups.alr">
				<grid rows="3" cols="3">
					<label text="labels.attack" />
					<label text="labels.release" />
					<label text="labels.knee" />
					
					<knob id="alr_at" />
					<knob id="alr_rt" />
					<knob id="knee" />
					
					<value id="alr_at" />
					<value id="alr_rt" />
					<value id="knee" />
				</grid>
			</group>
			
			<!-- Limiter setup -->
			<group text="groups.plug.limiter">
				<grid rows="3" cols="6">
					<label text="labels.sc.sc_preamp" />
					<label text="labels.sc.lookahead" />
					<label text="labels.threshold" />
					<label text="labels.attack" />
					<label text="labels.release" />
					<label text="labels.stereo_link" />
					
					<knob id="scp" />
					<knob id="lk" />
					<knob id="th" scale_color="magenta" />
					<knob id="at" />
					<knob id="rt" />
					<knob id="slink" scale_color="green" />
					
					<hbox fill="false">
						<vbox fill="false" visibility="ex :extsc">
							<button id="extsc" size="12" color="green" led="true" />
							<label text="labels.sc.Ext_ernal" font_size="8" />
						</vbox>
						<value id="scp" />
						<label text="  " visibility="ex :extsc"/>
					</hbox>
					<value id="lk" />
					<hbox fill="false">
						<vbox fill="false">
							<button id="boost" size="12" color="green" led="true" />
							<label text="labels.boost_" font_size="8" />
						</vbox>
						<value id="th" />
						<label text="  " />
					</hbox>
					<value id="at" />
					<value id="rt" />
					<value id="slink" />
				</grid>
			</group>
			
			<!-- Signal control -->
			<group text="groups.signal">
				<grid rows="3" cols="2">
					<label text="labels.input" />
					<label text="labels.output" />
					
					<knob id="g_in" />
					<knob id="g_out" />
					
					<value id="g_in" />
					<value id="g_out" />
				</grid>
			</group>
		</hbox>
	</vbox>
</plugin>