From X-Plane SDK
Revision as of 13:15, 15 April 2009 by Bsupnik
WIDGET_API void XPDrawElement( int inX1, int inY1, int inX2, int inY2, XPElementStyle inStyle, int inLit);XPDrawElement draws a given element at an offset on the virtual screen in set dimensions. EVEN if the element is not scalable, it will be scaled if the width and height do not match the preferred dimensions; it'll just look ugly. Pass inLit to see the lit version of the element; if the element cannot be lit this is ignored.