forsyth20121205-174063a80cc13 years agoHistory
38 lines · 695 B · Text
RawDownload
.TH DRAW-POINTER 2.SH NAMEPointer \-state of a pointer device such as a mouse.SH SYNOPSIS.EXinclude	"draw.m";draw := load Draw Draw->PATH; Pointer: adt{    buttons:  int;    xy:       Point;};.EE.SH DESCRIPTION.TP 10.B buttonsEach button on the device corresponds to a bit in.BR buttons ;zero bits indicate released (or non-existent), and one bits indicate pressed.The bits, from least to most significant positions,represent the buttons from left to right..TP.B xyThe pointer's screen coordinates..PP.IR Mux (1)uses the.B cptrmember of the.B Draw->Contextadt to pass pointer events through to applications..SH SEE ALSO.IR devpointer (2),.B mousein.IR tk (2)