- Messages
- 132
- Country

I'm probably trying something that's not possible but I need a fuel gauge that is a piece of clear plastic pipe that shows the fuel tank level. (max 7 gallons)
I have a background of just the pipe (20x370pixels) and an element of a black bitmap with alpha that should move down as the tank empties so it should show a darker area for the fuel level.
Have I got something wrong here? I get nothing at all at the moment.
(bmp's are the correct format)
I have a background of just the pipe (20x370pixels) and an element of a black bitmap with alpha that should move down as the tank empties so it should show a darker area for the fuel level.
Have I got something wrong here? I get nothing at all at the moment.
(bmp's are the correct format)
Code:
<Gauge Name="la4fuel_gauge" Version="1.0">
<Image Name="la4fuelfull.bmp" />
<!-- ======================= Fuel tube =======================
-->
<Element>
<Position X="0" Y="12" />
<Image Name="la4fuellevel.bmp" Alpha="Yes">
<Nonlinearity>
<Item Value="0" X="0" Y="350" />
<Item Value="7" X="0" Y="0" />
</Nonlinearity>
</Image>
<Shift>
<Value>(A:Fuel Tank Center Quantity,gallons)</Value>
</Shift>
</Element>
<Mouse>
<Help ID="HELPID_GAUGE_FUEL" />
</Mouse>
</Gauge>



