TempleOS-Source-Code / Adam /AMouse.txt
hschumann2's picture
Upload folder using huggingface_hub
806d4b5 verified
Raw History Blame Contribute Delete
468 Bytes
#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 */
public U0 DrawGrabMs(CDC *dc,I64 x,I64 y,Bool closed)
{//This is a callback. See ::/Demo/Graphics/Grid.HC.
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_ms=&DrawGrabMs;