•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileGRAF_MOUSE(m_form,pattern_adr)

m_form, pattern_adr: iexp

This function allows the appearance of the mouse pointer to be changed. Eight
pre-defined pointers are available, or on may be defined by the user.
(However, the command DEFMOUSE is more convenient to use.)

Returns 0 if an error occurred.

    m_form      - Number of the mouse pointer shape:
                      0  : Arrow
                      1  : Text cursor
                      2  : Busy bee
                      3  : Pointing hand
                      4  : Open hand
                      5  : Thin cross-hair
                      6  : Thick cross-hair
                      7  : Outlined cross-hair
                      8  : Arrows pointing in all directions  NAES
                      9  : Arrows pointing left and right     NAES
                      10 : Arrows pointing up and down        NAES
                      255: User defined
                      256: Hide mouse pointer (HIDEM)
                      257: Show mouse pointer (SHOWM)
                      258: Save current mouse form            AES4
                      259: Restore saved mouse form           AES4
                      260: Restore previous mouse form        AES4
    pattern_adr - Address of bit information defining the mouse pointer as
                  desired. 37 word-sized values are expected, as follows:
                      1       : x-coordinate of the action point (i.e. the
                                point referred to by MOUSEX, MOUSEY etc.)
                      2       : y-coordinate of the action point
                      3       : Number of color levels, always 1
                      4       : Mask color, always 0
                      5       : Pointer color, always 1
                      6 to 21 : Mask definition (16 words, i.e. 16x16 bits)
                      22 to 37: Pointer definition (16 words, i.e. 16x16 bits)

graf_mouse()+