delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/01/19:52:13

From: "Patrick Cheng" <patcheng AT cse DOT unsw DOT edu DOT au>
To: <djgpp AT delorie DOT com>
Date: Fri, 2 May 1997 09:45:36 +1000
Message-Id: <970501234440.24346@cse.unsw.edu.au>
Subject: Mouse functions source needed
MIME-Version: 1.0

Anyone kind enough to point me to the right direction of getting source for
the following functions (assumes they exists)?
Better still, interfaces to those provided by GRX20 ?

Many Thanks in advance.

Patrick Cheng
patcheng AT cse DOT unsw DOT edu DOT au

/* Mouse function */
/* CopyRight (c) CSA 1990 */

#define LB    1  /* Left button */
#define	RB    2  /* Right Button */
#define LRB   3   /* Left Right button together */
#define	MB    4   /* Middle button */
#define LMB   5   /* Left Middle button */
#define RMB   6   /* Right middle button */
#define LMRB  7   /* Left Middle Right button */

int MouseReset();
void ShowMouseCursor();
void HideMouseCursor();
void GetMousePosButton(int *button,int *x,int *y);
void SetMousePos(int x,int y);
void GetButtonPress(int *status,int *count,int *x,int *y);
void GetButtonRelease(int *status,int *count,int *x,int *y);
void SetMinMaxHorPos(int min,int max);
void SetMinMaxVertPos(int min,int max);
void SetMickeyRatio(int hor,int ver);
void SetGraphMouseCursor(int *shape);
void SetTextMouseCursor(char shape);


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019