frank@odetics.com (Frank Merrow) (05/17/91)
Hi, I am still writting my first Xview program. It is going pretty well actually. I want a custom cursor on my canvas. (simple crosshairs actually - I was surprized none of the image files had a set.) I have used iconedit to create a 16x16 image, converted it to as Server_image, created the icon and WIN_CURSORed it into the Canvas. Works GREAT! My problem is that because of the contents of the canvas the cursor is often "washed out" in the data. I think all I need to do is to inform the server somehow to use Xor on the image (rather than Or that it seems to be using) and I will be in like fint. How do I specify that though? Frank frank@odetics.com or uunet!odetics!frank
bradst@laguna.ai.sri.com (John Bradstreet) (05/23/91)
In response to: > I think all I need to do is to inform the server > somehow to use (an) Xor (Cursor) ... Humm... there is supposedly some company out there which holds the patent on Xor cursors which of nothing but a secretary and a lawyer who do nothing all day but sue people who use them. I don't think you want them calling you. Seriously, Xor cursors tend to wash away in noisy images too. I think what you really want is a cursor that has both white and black data in it (say a 1 pixel wide white X on top of a 3 pixel wide black one). I know this is possible - my trivial little paint system (yes I'm also writing one too as my first X program) uses the XC_CROSS, cursor which does this. How, I'm not sure - it certainly isn't a 1-bit cursor. My question is how do you create such 2-bit cursors (?) - Or is it two 1-bit cursors, one of which is being used to mask the other one? (and which I remember reading somewhere you arn't suppose to use because some window managers are too stupid to use). If so, how do you create/manage these guys? (: John Bradstreet :)