Download Adam/AMouse.txt from hschumann2/TempleOS-Source-Code: direct link, hf CLI and curl.
- Browser
- Download file 468 Bytes
-
https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Adam/AMouse.txt
- Command line
-
hf download hf://datasets/hschumann2/TempleOS-Source-Code/Adam/AMouse.txt
-
curl -L -o AMouse.txt https://huggingface.co/datasets/hschumann2/TempleOS-Source-Code/resolve/main/Adam/AMouse.txt
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; | |