8 lines
510 B
Plaintext
8 lines
510 B
Plaintext
$WW,1$"Input Ptr" is the mouse at this point.
|
|
|
|
$LK,"ipx",A="MN:ipx"$ and $LK,"ipy",A="MN:ipy"$ can be used to access the x and y coordinates of the input ptr. They are relative to the screen, not window. These can be used if you don't want to use msg passing. $LK,"ipz",A="MN:ipz"$ is the wheel.
|
|
|
|
$LK,"iptx",A="MN:iptx"$ and $LK,"ipty",A="MN:ipty"$ are the text column and row of the input ptr. See $LK,"::/Demo/Games/Maze.CPP"$.
|
|
|
|
You can make the input ptr snap to a grid by adjusting $FG,4$Fs->snap$FG$.
|