home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / FOXPRO / VLIST110 / VMOUSE.HDR < prev   
Text File  |  1992-03-10  |  6KB  |  109 lines

  1. *******************************************************************************
  2. * VMouse_Init()                                                               *
  3. *                                                                             *
  4. * Initializes the mouse driver and returns the number of mouse buttons.       *
  5. * A return value of 0 indicates no mouse present.                             *
  6. *******************************************************************************
  7.  
  8. FUNCTION UINT VMouse_Init PROTOTYPE
  9.  
  10.  
  11. *******************************************************************************
  12. * VMouse_Cursor()                                                             *
  13. *                                                                             *
  14. * Turns the mouse cursor on when the parameter is .T., turns the cursor       *
  15. * off when the parameter is .F.                                               *
  16. *******************************************************************************
  17.  
  18. PROCEDURE VMouse_Cursor PROTOTYPE
  19.   PARAMETERS VALUE LOGICAL on_or_off
  20.  
  21.  
  22. *******************************************************************************
  23. * VMouse_Get_Position()                                                       *
  24. *                                                                             *
  25. * Returns the TEXT row and column of the mouse cursor in the REFERENCED       *
  26. * parameters.                                                                 *
  27. *******************************************************************************
  28.  
  29. PROCEDURE VMouse_Get_Position PROTOTYPE
  30.   PARAMETERS UINT row_position,;
  31.              UINT col_position
  32.  
  33.  
  34. *******************************************************************************
  35. * VMouse_Row()                                                                *
  36. *                                                                             *
  37. * Returns the TEXT row of the mouse cursor.                                   *
  38. *******************************************************************************
  39.  
  40. FUNCTION UINT VMouse_Row PROTOTYPE
  41.  
  42.  
  43. *******************************************************************************
  44. * VMouse_Col()                                                                *
  45. *                                                                             *
  46. * Returns the TEXT column of the mouse cursor.                                *
  47. *******************************************************************************
  48.  
  49. FUNCTION UINT VMouse_Col PROTOTYPE
  50.  
  51.  
  52. *******************************************************************************
  53. * VMouse_Set_RowCol)                                                          *
  54. *                                                                             *
  55. * Sets the mouse TEXT cursor position.                                        *
  56. *******************************************************************************
  57.  
  58. PROCEDURE Vmouse_Set_Rowcol PROTOTYPE
  59.   PARAMETERS VALUE UINT row_position,;
  60.              VALUE UINT col_position
  61.  
  62.  
  63. *******************************************************************************
  64. * VMouse_Left_Button()                                                        *
  65. *                                                                             *
  66. * Returns .T. if the left mouse button is pressed                             *
  67. *******************************************************************************
  68.  
  69. FUNCTION LOGICAL Vmouse_Left_Button PROTOTYPE
  70.  
  71.  
  72. *******************************************************************************
  73. * VMouse_Right_Button()                                                       *
  74. *                                                                             *
  75. * Returns .F. if the right mouse button is pressed                            *
  76. *******************************************************************************
  77.  
  78. FUNCTION LOGICAL Vmouse_Right_Button PROTOTYPE
  79.  
  80.  
  81. *******************************************************************************
  82. * VMouse_Save()                                                               *
  83. *                                                                             *
  84. * Saves the current mouse driver state in a buffer.                           *
  85. *******************************************************************************
  86.  
  87. PROCEDURE Vmouse_Save PROTOTYPE
  88.   PARAMETERS BYTE buffer[ 1024 ]
  89.  
  90.  
  91. *******************************************************************************
  92. * VMouse_Restore()                                                            *
  93. *                                                                             *
  94. * Restores the mouse driver state from a buffer.                              *
  95. *******************************************************************************
  96.  
  97. PROCEDURE Vmouse_Restore PROTOTYPE
  98.   PARAMETERS BYTE buffer[ 1024 ]
  99.  
  100.  
  101. *******************************************************************************
  102. * VMouse_Reset()                                                              *
  103. *                                                                             *
  104. * Resets the mouse driver state to standard default values.  The mouse        *
  105. * cursor position is set to the center of the screen.                         *
  106. *******************************************************************************
  107.  
  108. PROCEDURE Vmouse_Reset PROTOTYPE
  109.