Computer Science Canada

Help regarding my paint program!

Author:  MysticVegeta [ Mon Dec 20, 2004 9:54 pm ]
Post subject:  Help regarding my paint program!

Can someone help me with this->
I have a paint program and when i select a paint brush and start to paint and then if i wanna switch to the other color, when i click over a button, it colors the button!!! Pleas help me

Author:  Neo [ Mon Dec 20, 2004 9:57 pm ]
Post subject: 

Post your code.

Author:  Carino [ Tue Dec 21, 2004 12:09 pm ]
Post subject: 

Just use boundaries for the cursor.

if mx > blah and my > blah then
draw
end if

Just make it so it can't colour on the buttons yet still able to select them. Shouldn't be too hard.

Author:  MysticVegeta [ Tue Dec 21, 2004 12:46 pm ]
Post subject:  ok...

ok... then do what like u said "draw" so draw what? Any more details? Thx

Author:  Carino [ Tue Dec 21, 2004 1:03 pm ]
Post subject: 

Draw w/e the person wants to draw. Have a procedure call draw. I havent seen your code so i cant really say much. The important part is the boundaries.


: