pub type ViewDrawCallback = Option<unsafe extern "C" fn(*mut Canvas, *mut c_void)>;
View Draw callback @param canvas, pointer to canvas @param view_model, pointer to context @warning called from GUI thread