linn_linndrum.lay, oberheim_dmx.lay: Warn when scripting is disabled. (#13504)
This commit is contained in:
parent
17cd39bb4c
commit
a2adba2984
@ -257,6 +257,12 @@ copyright-holders:m1macrophage
|
|||||||
<element ref="display_digit" name="~display_output~1"><bounds x="44" y="5" width="30" height="38"/></element>
|
<element ref="display_digit" name="~display_output~1"><bounds x="44" y="5" width="30" height="38"/></element>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
<element name="script_warning" defstate="1">
|
||||||
|
<text state="1" string="*** to control sliders and knobs with a mouse, enable the layout plugin ***">
|
||||||
|
<color red="0.82" green="0.43" blue="0.31"/>
|
||||||
|
</text>
|
||||||
|
</element>
|
||||||
|
|
||||||
<view name="Default Layout">
|
<view name="Default Layout">
|
||||||
<bounds x="53" y="49" width="2113" height="1112"/>
|
<bounds x="53" y="49" width="2113" height="1112"/>
|
||||||
|
|
||||||
@ -268,6 +274,9 @@ copyright-holders:m1macrophage
|
|||||||
<element ref="wood"><bounds x="2092" y="50" width="72" height="1104"/></element>
|
<element ref="wood"><bounds x="2092" y="50" width="72" height="1104"/></element>
|
||||||
<element ref="dark_line"><bounds x="160" y="283" width="1897" height="3"/></element>
|
<element ref="dark_line"><bounds x="160" y="283" width="1897" height="3"/></element>
|
||||||
<element ref="dark_line"><bounds x="160" y="321" width="1897" height="3"/></element>
|
<element ref="dark_line"><bounds x="160" y="321" width="1897" height="3"/></element>
|
||||||
|
<collection name="script warning">
|
||||||
|
<element ref="script_warning" id="warning"><bounds x="160" y="355" width="1897" height="30"/></element>
|
||||||
|
</collection>
|
||||||
|
|
||||||
<!-- I/O -->
|
<!-- I/O -->
|
||||||
<element ref="jack"><bounds x="655" y="64" width="18" height="6"/></element>
|
<element ref="jack"><bounds x="655" y="64" width="18" height="6"/></element>
|
||||||
@ -610,6 +619,8 @@ copyright-holders:m1macrophage
|
|||||||
local gain_input = "pot_gain_" .. i
|
local gain_input = "pot_gain_" .. i
|
||||||
add_vertical_slider(view, "slider_" .. gain_input, "slider_knob_" .. gain_input, gain_input)
|
add_vertical_slider(view, "slider_" .. gain_input, "slider_knob_" .. gain_input, gain_input)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
view.items["warning"]:set_state(0)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
|
@ -133,6 +133,12 @@ copyright-holders:m1macrophage
|
|||||||
</element>
|
</element>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
<element name="script_warning" defstate="1">
|
||||||
|
<text state="1" string="To control sliders and knobs with a mouse, enable the layout plugin.">
|
||||||
|
<color red="0.65" green="0.65" blue="0.65"/>
|
||||||
|
</text>
|
||||||
|
</element>
|
||||||
|
|
||||||
<element name="text-tune">
|
<element name="text-tune">
|
||||||
<text string="TUNE:"><color red="0.8" green="0.8" blue="0.8"/></text>
|
<text string="TUNE:"><color red="0.8" green="0.8" blue="0.8"/></text>
|
||||||
</element>
|
</element>
|
||||||
@ -368,6 +374,11 @@ copyright-holders:m1macrophage
|
|||||||
</group>
|
</group>
|
||||||
</repeat>
|
</repeat>
|
||||||
</collection>
|
</collection>
|
||||||
|
<collection name="script warning">
|
||||||
|
<element ref="script_warning" id="warning">
|
||||||
|
<bounds x="600" y="105" width="300" height="20"/>
|
||||||
|
</element>
|
||||||
|
</collection>
|
||||||
|
|
||||||
<!-- Mixer -->
|
<!-- Mixer -->
|
||||||
<repeat count="9">
|
<repeat count="9">
|
||||||
@ -553,6 +564,8 @@ copyright-holders:m1macrophage
|
|||||||
for i = 1, 8 do
|
for i = 1, 8 do
|
||||||
add_vertical_slider(view, "trimmer_" .. i, "trimmer_knob_" .. i, "pitch_adj_" .. i)
|
add_vertical_slider(view, "trimmer_" .. i, "trimmer_knob_" .. i, "pitch_adj_" .. i)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
view.items["warning"]:set_state(0)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user