Skip to main content

IconHook

Type Alias IconHook 

Source
pub type IconHook = Rc<dyn Fn(&mut Gfx<'_>, u32, i32, i32, i32, u32) -> bool>;
Expand description

icon_hook: f(g, cp, x, y, size_fx, argb) -> true when it drew icon cp itself (x, y = target pixels with the origin applied), false = the icon font draws it

Aliased Typeยง

pub struct IconHook { /* private fields */ }