Computer Science Canada

help with a paint program!

Author:  chibitenshi_03 [ Sun Jan 04, 2004 4:13 pm ]
Post subject:  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!!

Author:  Homer_simpson [ Sun Jan 04, 2004 4:32 pm ]
Post subject: 

check out turing gui...

Author:  chibitenshi_03 [ Sun Jan 04, 2004 4:59 pm ]
Post subject: 

i tried using GUI but i don't understand it

Author:  Tony [ Sun Jan 04, 2004 7:12 pm ]
Post subject: 

Confused try harder? Thinking

seriously though... Turing's GUI sux, but its alright for few simple buttons

Author:  DanShadow [ Sun Jan 04, 2004 7:42 pm ]
Post subject: 

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:
code:

if mousex>red_box_boundary_x-100 and mousex<red_box_boundary_x+100 and mousey>red_box_boundary_y-100 and mousey<red_box_boundary_y+100 then
color:=12   %red=12
end if


: