XPLMAvionicsCursor_f

Type Alias XPLMAvionicsCursor_f 

Source
pub type XPLMAvionicsCursor_f = Option<unsafe extern "C" fn(x: c_int, y: c_int, inRefcon: *mut c_void) -> XPLMCursorStatus>;
Expand description

XPLMAvionicsCursor_f

Cursor callback that decides which cursor to show when the mouse is over your screen or (2D-popup) bezel. Return xplm_CursorDefault to let X-Plane use which cursor to show, or other values to force the cursor to a particular one (see XPLMCursorStatus).

Aliased Type§

pub enum XPLMAvionicsCursor_f {
    None,
    Some(unsafe extern "C" fn(i32, i32, *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(i32, i32, *mut c_void) -> i32)

Some value of type T.