Type Definition flipperzero_sys::ViewDrawCallback

source ·
pub type ViewDrawCallback = Option<unsafe extern "C" fn(canvas: *mut Canvas, model: *mut c_void)>;
Expand description

View Draw callback

Warning!

  • called from GUI thread

Arguments

  • canvas, - pointer to canvas
  • view_model, - pointer to context