From X-Plane SDK
Revision as of 13:15, 15 April 2009 by Bsupnik
WIDGET_API void XPDrawTrack( int inX1, int inY1, int inX2, int inY2, int inMin, int inMax, int inValue, XPTrackStyle inTrackStyle, int inLit);This routine draws a track. You pass in the track dimensions and size; the track picks the optimal orientation for these dimensions. Pass in the track's minimum current and maximum values; the indicator will be positioned appropriately. You can also specify whether the track is lit or not.