
-----------------------------------
GeoBoy
Thu Dec 07, 2006 9:30 pm

Grade 11 Paint Program
-----------------------------------
Here is my paint program I did for my grade 11 project. Make sure you read the comments if you need help understanding something.

Any helpful tips would be nice since this will be due soon.

***1024 by 768  Is the minimum resolution required***

-----------------------------------
ericfourfour
Thu Dec 07, 2006 10:35 pm


-----------------------------------
Before running your program I noticed you had over 50 globals variables. I'd recommend having less than 1. There must be a way you can work around declaring a bunch of variables at the top of your program by maybe using parameters.

Note: I'll edit some more suggestions in when I feel like it.

Edit: I also found that you were updating the entire screen every frame. You only need to update the middle box and that side colour box. There is a procedure called View.UpdateArea which only updates a given area.

-----------------------------------
GeoBoy
Fri Dec 08, 2006 6:47 pm

hmm
-----------------------------------
hmm i think some told me that View.UpdateArea is slower or something im gonna try it out and see. :)  :)

-----------------------------------
GeoBoy
Fri Dec 08, 2006 6:56 pm

hmm
-----------------------------------
Ok i tried to do view.updatearea but it seems i have an older version of turing and its not available in this version.

its like verion 4.04 or something .. :oops:

-----------------------------------
ericfourfour
Sat Dec 09, 2006 11:34 pm


-----------------------------------
Yeah that's fine. Maybe you should work on keeping track of actions to allow more than one undo. I actually find it pretty cool that you had one.

-----------------------------------
Prince Pwn
Sun Dec 10, 2006 9:49 pm


-----------------------------------
Small suggestions for loading a picture. Make the default directory "C:/Doucments and Settings/"+Sys.GetUserName+"/My Documents/My Pictures/" and take off the adding of the ".bmp" so the user has to type that in. And add a :* after your get statment so it can read spaces :)

This is a sweet paint program!

-----------------------------------
BenLi
Tue Dec 12, 2006 9:00 pm


-----------------------------------
hey george, the program looks slick. your fill doesn't work though
