Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ attachcursor(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



attachcursor(3G)                                              attachcursor(3G)



NAME
     attachcursor - attaches the cursor to two valuators

C SPECIFICATION
     void attachcursor(Device vx, Device vy)

PARAMETERS
     vx   expects the valuator device number for the device that controls the
          horizontal location of the cursor. By default, vx is MOUSEX.

     vy   expects the valuator device number for the device that controls the
          vertical location of the cursor. By default, vy is MOUSEY.

DESCRIPTION
     attachcursor attaches the cursor to the movement of two valuators.  Both
     vx and vy are valuator device numbers.  (See Appendix A, Valuators, for a
     list of device numbers.)  The values at vx and vy determine the cursor
     position in screen coordinates.  Every time the values at vx or vy
     change, the system redraws the cursor at the new coordinates.

SEE ALSO
     noise, tie

NOTE
     This routine is available only in immediate mode.






























                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026