Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!jarthur!uunet!mcsun!ukc!edcastle!aipdc From: aipdc@castle.ed.ac.uk (Paul Crowley) Newsgroups: comp.windows.x Subject: Re: How do I make a cross-hair cursor in X windows? Message-ID: <10598@castle.ed.ac.uk> Date: 28 May 91 11:25:54 GMT References: <1359@sol.deakin.OZ.AU> Organization: Put your analyst on danger money, baby! Lines: 17 There are two ways of doing this I can think of. The standard technique is to XOR the lines you want onto the screen; when you want rid of them, XOR them again. You should be warned that this patented, despite being fairly damn obvious: I independently re-invented it when I was 12. The only alternative I can think of is to redraw the stuff behind the cursor when you remove them, or to draw the cursor as two windows arranged in a cross shape in the hope that backing store will do its stuff. Backing store is _also_ patented, in the US at least. I didn't mean to do this, but since I'm here I shall: if you think this is a little silly, talk to the League for Programming Freedom: league@prep.ai.mit.edu. ____ \/ o\ Paul Crowley aipdc@castle.ed.ac.uk \ / /\__/ Part straight. Part gay. All queer. \/ "I say we kill him and eat his brain." "That's not the solution to _every_ problem, you know!" -- Rudy Rucker