Simple Paint program question
I'm trying to make a simple paint program. I already have the canvas and the menubar, and I have the options for rectangles and ovals.
Right now I check the mouse and get x,y position data and then draw the corresponding rectangle or oval, depending on which shape is selected.
But the problem is, I want to be able to select my rectangle or oval shape and then move it around the canvas.
What would I need to do in order to do that? Can anyone give me examples?
I would post my code but it's pretty long. :eek: