Difference between revisions of "XPDrawTrack"

From X-Plane SDK
Jump to: navigation, search
m (1 revision)
(No difference)

Latest revision as of 19:51, 20 April 2009


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.