pub type XPLMDrawWindow_f = Option<unsafe extern "C" fn(inWindowID: XPLMWindowID, inRefcon: *mut c_void)>;Expand description
XPLMDrawWindow_f
A callback to handle 2-D drawing of your window. You are passed in your window and its refcon. Draw the window. You can use other XPLM functions from this header to find the current dimensions of your window, etc. When this callback is called, the OpenGL context will be set properly for 2-D window drawing.
Note: Because you are drawing your window over a background, you can make a translucent window easily by simply not filling in your entire window’s bounds.
Aliased Type§
pub enum XPLMDrawWindow_f {
None,
Some(unsafe extern "C" fn(*mut c_void, *mut c_void)),
}