
-----------------------------------
chibitenshi_03
Mon Jan 05, 2004 6:03 pm

Help with using Gui!!
-----------------------------------
I'm trying to make a paint program. I created a canvas using GUI but I don't know how to set a limit to it so that when I draw something it can't go out of the border.   :cry:

-----------------------------------
Tony
Mon Jan 05, 2004 6:50 pm


-----------------------------------
before you process mouse click to draw the pixels, make sure that the mouse is inside the box.

such as

if mouseX >0 and mouseX 0 and mouseY 