Page 1 of 1

PostPosted: Tue Apr 25, 2006 6:49 pm
by mgreen
I'm trying to get a crosshair over an image and have the following fragment:


When this executes, I get a white crosshair, not a black one as expected.
I checked the foreground color and it is set to black in the current depth
(using SetFore and PickColor for testing). What am I missing?

PostPosted: Tue Apr 25, 2006 11:09 pm
by jstadolnik
The first arg of your Line function call should be (1<<16)+1, rather than 1<<16+1. The later is actualy equivalent to 1<<17 as the "+" has higher operator precedence than "<<".


The PToolboxLib guy.

PostPosted: Wed Apr 26, 2006 2:25 pm
by mgreen
Thank you. That worked great. I was sure it was something simple I missed. Mike