home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!darwin.sura.net!dtix!mimsy!nmrdc1!frmug!lill!vanney.raphael
- From: vanney.raphael@lill.frmug.fr.mugnet.org (Vanney Raphael)
- Newsgroups: comp.lang.pascal
- Subject: GRAPHIC MOUSE CURSOR IN T
- Message-ID: <932.6.uupcb@lill.frmug.fr.mugnet.org>
- Date: 18 Dec 92 01:29:00 GMT
- Reply-To: vanney.raphael@lill.frmug.fr.mugnet.org (Vanney Raphael)
- Organization: Li'LL BBS - Paris, France
- Lines: 66
-
- MC}From: currin@unpsun1.cc.unp.ac.za (Michael Currin)
- MC}Newsgroups: comp.lang.pascal
- MC}Subject: Graphic Mouse cursor in TP6
- MC}Keywords: mouse,cursor,pascal
- MC}Date: 2 Dec 92 09:16:27 GMT
- MC}Organization: Univeristy of Natal, Pietermaritzburg, RSA
-
- MC}Hello all pascal enthusiasts,
-
- MC}I am currently using Borlands Turbo Pascal v6.0 and have been writing
- a text
- MC}based application that uses the mouse as the primary input device.
-
- MC}I have recently seen the emergence of a few programs ( Norton
- Utilities /
- MC}Desktop for DOS, PCTools v7.x, CompuShow v8.50a and other ) that use
- an arrow
- MC}or some other mouse cursor on VGA systems. Does anyone have any idea
- on how
- MC}to do this ? I have thought of redefining a character in the VGA
- character
- MC}set and then setting this as the mouse cursor but this would still
- only make
- MC}the mouse cursor move in jumps of one character at a time ( unlike
- the afore
- MC}mentioned programs, and not very smooth !! ). Maybe the routine
- would have
- MC}to be written in assembly to get it fast enough ?
-
- MC}I would appreciate it if anyone can offer any help / source code /
- references
- MC}in this regard.
-
- MC}Many thanks
- MC}Michael
- MC} - currin@unpsun1.cc.unp.ac.za
-
-
- MC}--- GEcho 1.00
- MC} * Origin: Li'LL BBS - Paris France - (33-1) 43.07.40.97 (2:320/7)
-
- Hello !
-
- I extremely highly suspect this is, say, easily, done by dynamically
- (i.e.
- whenever you move the mouse) redefining the character set :
- When showing the mouse, replace the (up to) four characters (partially)
- covered by the mouse cursor by, say #255 #254
- #253 #252
- then redefine the characters #252 to #255 to display... those characters
- that where under the mouse... PLUS a mouse cursor !
- That of course implies that you've got no other #252..#255 characters on
- the screen (try #0..#3).
- If you have never seen one thousand of mouse cursors moving
- simultaneously
- on your screen, just try to edit a binary file with PC-Tools 7....!!!
-
- Actually, I have not tried to that myself, but will sure come to it
- somday...
-
- Raphael.
- * OLX 2.1 TD * Please, user, stop expanding your phone bill with tag
- lin
- --- FMail 0.92
- * Origin: ICEBERG - La Garenne * FRANCE * Tel:(33)-1-47699261 (2:320/1)
-
-