#help_index "Graphics/Misc;Mouse/Ptr" <1>/* Graphics Not Rendered in HTML */ gr.empty_sprite = <1>; <2>/* Graphics Not Rendered in HTML */ <3>/* Graphics Not Rendered in HTML */ <4>/* Graphics Not Rendered in HTML */ public U0 DrawGrabMouse(CDC *dc, I64 x, I64 y, Bool closed) {//This is a callback. See ::/Demo/Graphics/Grid.CC. dc->flags &= ~(DCF_TRANSFORMATION | DCF_SYMMETRY); dc->color = ROP_EQU; if (closed) Sprite3(dc, x, y, 0, <2>); else Sprite3(dc, x, y, 0, <3>); } gr.fp_draw_grab_mouse = &DrawGrabMouse; public U0 DrawStdMouse(CDC *dc, I64 x, I64 y) {//This is a callback. See ::/Demo/Graphics/Grid.CC. //Called by DrawMouse() which is //called by WinFinalUpdate(). dc->flags &= ~(DCF_TRANSFORMATION | DCF_SYMMETRY); Sprite3(dc, x, y, 0, <4>); } gr.fp_draw_mouse = &DrawStdMouse;