<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" width="2" color="middle_channel_in" visibility=":igv" />
					<mesh id="og" width="2" color="middle_channel" visibility=":ogv" />
					<mesh id="scg" width="2" color="bright_green" visibility=":scgv" />
					<mesh id="grg" width="2" color="bright_blue" visibility=":grgv" />
					
					<!-- 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>
				<button id="scgv" size="16" color="bright_green" led="true" />
				<meter expand="true"
					id="sclm" angle="1" logarithmic="true" min="0.00398" max="1.0"
					height="280" color="bright_green" activity_id="scgv" />
			</vbox>
			<label text="labels.sc.SC" />
			
			<!-- Gain meters -->				
			<vbox>
				<button id="grgv" size="16" color="bright_blue" led="true" />
				<meter expand="true"
					id="grlm" activity_id="grgv" color="bright_blue"  
					angle="1" logarithmic="true" type="peak"
					min="0.00398" max="1.0" balance="1.0" height="280" />
			</vbox>
			<label text="labels.gain_" />
			
			<!-- Input signal meters -->
			<vbox>
				<button id="igv" size="16" color="middle_channel" led="true" />
				<meter expand="true"
					id="ilm" angle="1" type="rms_peak" min="0.00398" max="1.0"
					height="280" color="middle_channel" activity_id="igv" />
			</vbox>
			<label text="labels.chan.in" />
			
			<!-- Output signal meters -->
			<vbox>
				<button id="ogv" size="16" color="middle_channel" led="true" />
				<meter expand="true"
					id="olm" angle="1" type="rms_peak" min="0.00398" max="1.0"
					height="280" color="middle_channel" activity_id="ogv" />
			</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="5">
					<label text="labels.sc.sc_preamp" />
					<label text="labels.sc.lookahead" />
					<label text="labels.threshold" />
					<label text="labels.attack" />
					<label text="labels.release" />
					
					<knob id="scp" />
					<knob id="lk" />
					<knob id="th" scale_color="magenta" />
					<knob id="at" />
					<knob id="rt" />
					
					<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" />
				</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>