•  Back 
  •  VDI Input 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Filegraf_mouse()
vsc_form()                                                              VDI

Syntax

VOID vsc_form( handle, newform )
MFORM *newform;

Function      vsc_form() alters the appearance of the mouse pointer.

Opcode        111

Availability  Supported by all screen drivers.

Parameters    handle specifies a valid workstation handle. newform points
              to a MFORM structure defined as follows:

              typedef struct
              {

               WORD mf_xhot;      /* X 'hot spot' */
               WORD mf_yhot;      /* Y 'hot spot' */
               WORD mf_nplanes;   /* Number of planes (must be 1) */
               WORD mf_fg;        /* Foreground color (should be 0) */
               WORD mf_bg;        /* Background color (should be 1) */
               WORD mf_mask[16];  /* 16 WORDs of mask*/
               WORD mf_data[16];  /* 16 WORDs of data */

              } MFORM;

Binding       WORD i;

              contrl[0] = 111;
              contrl[1] = 0;
              contrl[3] = 37;
              contrl[6] = handle;

              for(i = 0;i < 37;i++)
               intin[i] = ((WORD *)newform)[i];

              vdi();

See Also      graf_mouse()

Group         VDI Input