
-----------------------------------
chibitenshi_03
Sun Jan 04, 2004 4:13 pm

help with a paint program!
-----------------------------------
i'm trying to make a paint program but i don't know how to make buttons where the user can choose a color and then draw pictures. Please help!!

-----------------------------------
Homer_simpson
Sun Jan 04, 2004 4:32 pm


-----------------------------------
check out turing gui...

-----------------------------------
chibitenshi_03
Sun Jan 04, 2004 4:59 pm


-----------------------------------
i tried using GUI but i don't understand it

-----------------------------------
Tony
Sun Jan 04, 2004 7:12 pm


-----------------------------------
:? try harder? :think:

seriously though... Turing's GUI sux, but its alright for few simple buttons

-----------------------------------
DanShadow
Sun Jan 04, 2004 7:42 pm


-----------------------------------
If you want you 'could' use whatdotcolor, or boundaries. Like there could be several boxes, with several different colors in them. You could make it so it the player left clicks, and its within any of those boxes, it could use whatdotcolor to change the color, or  you could just make it: 

if mousex>red_box_boundary_x-100 and mousexred_box_boundary_y-100 and mousey