Skip to main content

apply

Function apply 

Source
pub fn apply(ctx: &Context, painter: &Painter, pos: Pos2, shown: &Shown) -> bool
Expand description

Shows a cursor for this frame at pos: sets the system cursor, hands a bitmap to the integration, or paints an outline with painter. Returns whether a bitmap was set: the caller clears it (clear_image) once the pointer leaves, as egui keeps it from frame to frame.