Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!news.funet.fi!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi) Newsgroups: comp.lang.pascal Subject: Re: Graphics cursor handling in Turbo Pascal Message-ID: <1991Jan25.151052.16804@uwasa.fi> Date: 25 Jan 91 15:10:52 GMT References: <2829@oucsace.cs.OHIOU.EDU> Organization: University of Vaasa Lines: 18 In article <2829@oucsace.cs.OHIOU.EDU> tswingle@oucsace.cs.ohiou.edu (Tom Swingle) writes: >I am starting a graphics program using Turbo Pascal. The program will use a >mouse, if one is present, but I would also like to make the program run without >a mouse. This requires me to handle my own cursor if no mouse is detected. I >have been doing this with Putimage, in a way like the mouse driver handles the : One way of having a cursor in a graphics program is simply drawing it. It won't flash, though. In my own programs I have used the Bar procedure for the drawing. No fancy Xor'ings to complicate matters. Perhaps /pc/ts/tsdemo14.arc at our archives will give you some ideas about what it looks like, although it won't give you any code. ................................................................... Prof. Timo Salmi Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37 School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun