Code: Select all
volume = false
sliders = false
font = xyz
Code: Select all
<Config>
<Param
id="font"
default="default"
description="Font"/>
<Param
id="volume"
default="true"
description="If true, show volume control, else don't"/>
<Param
id="sliders"
default="true"
description="If true, show sliders, else show buttons for volume/>
</Config>
Code: Select all
<If param="font" value="default">
<Font id="default" .../>
</If>
<If param="font" value="xyz">
<Font id="xyz" .../>
</If>
<If param="volume" value="true">
<If param="sliders" value="true">
<Slider .../>
</If>
<If param="sliders" value="false">
<Button id="volumeUp" .../>
<Button id="volumeDown" .../>
</If>
</If>