DragonflightDesign
Resource contributor
- Messages
- 1,371
- Country

It was written for me as part of the sd2gau source codes, but I have no idea what the syntax is. I'm having a seriously bad day: absolutely nothing I code shows up in the sim (P3D) and it wouldn't surpsrise me to find this is FS9 format.
Thank you.
Code:
<Gauge Name="xml_switch" Version="1.0">
<Element>
<Select>
<Value>(L:xml_switch_var, bool)</Value>
<Case Value="0">
<Image Name="switch_off.bmp"/>
</Case>
<Case Value="1">
<Image Name="switch_on.bmp"/>
</Case>
</Select>
</Element>
<Mouse>
<Cursor Type="Hand"/>
<Click>
(L:xml_switch_var, bool) ! (>L:xml_switch_var, bool)
</Click>
</Mouse>
</Gauge>
