home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
FOXPRO
/
VLIST110
/
VMOUSE.HDR
< prev
Wrap
Text File
|
1992-03-10
|
6KB
|
109 lines
*******************************************************************************
* VMouse_Init() *
* *
* Initializes the mouse driver and returns the number of mouse buttons. *
* A return value of 0 indicates no mouse present. *
*******************************************************************************
FUNCTION UINT VMouse_Init PROTOTYPE
*******************************************************************************
* VMouse_Cursor() *
* *
* Turns the mouse cursor on when the parameter is .T., turns the cursor *
* off when the parameter is .F. *
*******************************************************************************
PROCEDURE VMouse_Cursor PROTOTYPE
PARAMETERS VALUE LOGICAL on_or_off
*******************************************************************************
* VMouse_Get_Position() *
* *
* Returns the TEXT row and column of the mouse cursor in the REFERENCED *
* parameters. *
*******************************************************************************
PROCEDURE VMouse_Get_Position PROTOTYPE
PARAMETERS UINT row_position,;
UINT col_position
*******************************************************************************
* VMouse_Row() *
* *
* Returns the TEXT row of the mouse cursor. *
*******************************************************************************
FUNCTION UINT VMouse_Row PROTOTYPE
*******************************************************************************
* VMouse_Col() *
* *
* Returns the TEXT column of the mouse cursor. *
*******************************************************************************
FUNCTION UINT VMouse_Col PROTOTYPE
*******************************************************************************
* VMouse_Set_RowCol) *
* *
* Sets the mouse TEXT cursor position. *
*******************************************************************************
PROCEDURE Vmouse_Set_Rowcol PROTOTYPE
PARAMETERS VALUE UINT row_position,;
VALUE UINT col_position
*******************************************************************************
* VMouse_Left_Button() *
* *
* Returns .T. if the left mouse button is pressed *
*******************************************************************************
FUNCTION LOGICAL Vmouse_Left_Button PROTOTYPE
*******************************************************************************
* VMouse_Right_Button() *
* *
* Returns .F. if the right mouse button is pressed *
*******************************************************************************
FUNCTION LOGICAL Vmouse_Right_Button PROTOTYPE
*******************************************************************************
* VMouse_Save() *
* *
* Saves the current mouse driver state in a buffer. *
*******************************************************************************
PROCEDURE Vmouse_Save PROTOTYPE
PARAMETERS BYTE buffer[ 1024 ]
*******************************************************************************
* VMouse_Restore() *
* *
* Restores the mouse driver state from a buffer. *
*******************************************************************************
PROCEDURE Vmouse_Restore PROTOTYPE
PARAMETERS BYTE buffer[ 1024 ]
*******************************************************************************
* VMouse_Reset() *
* *
* Resets the mouse driver state to standard default values. The mouse *
* cursor position is set to the center of the screen. *
*******************************************************************************
PROCEDURE Vmouse_Reset PROTOTYPE