home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!caen!hellgate.utah.edu!cc.usu.edu!sl8nl
- From: sl8nl@cc.usu.edu
- Newsgroups: comp.lang.c
- Subject: Re: programming graphics mouse ?
- Message-ID: <1992Jul24.113724.57488@cc.usu.edu>
- Date: 24 Jul 92 11:37:24 MDT
- References: <1992Jul24.133735.24837@uxa.ecn.bgu.edu>
- Organization: Utah State University
- Lines: 21
-
- In article <1992Jul24.133735.24837@uxa.ecn.bgu.edu>, csblm@uxa.ecn.bgu.edu (Brian Murphy) writes:
- > I had originally asked this question of comp.graphics (excuse the
- > redundancy). I am attempting to program my microsift compatible mouse
- > in graphics mode (VGA 640x480). I have initialized the mouse but am
- > having trouble in generating a descent looking (something besides a
- > multi-colored block) graphics cursor. The inadequate documentation I
- > have mentions a 16 x 16 bit array to be used for the screen and cursor
- > images and these are ANDed and ORed with the screen to create the cursor
- > image ? I need help in preparing this graphics cursor. If anyone has
- > information just how to do this or a good source of information.
- > Please let me know.
- >
-
- You could make your own mouse cursor...for instance, we use a routine called
- Keys that constantly polls the keyboard for input. We added mouse support to
- this that sensed if the mouse moved, the old background would be restored,
- the new background would be saved, and the mouse image put down. This way,
- it can be an actual graphics image.
-
- Josh
-
-