Computer Science Canada Grade 11 Paint Program |
Author: | GeoBoy [ Thu Dec 07, 2006 9:30 pm ] |
Post subject: | 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*** |
Author: | ericfourfour [ Thu Dec 07, 2006 10:35 pm ] |
Post subject: | |
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. |
Author: | GeoBoy [ Fri Dec 08, 2006 6:47 pm ] |
Post subject: | hmm |
hmm i think some told me that View.UpdateArea is slower or something im gonna try it out and see. |
Author: | GeoBoy [ Fri Dec 08, 2006 6:56 pm ] |
Post subject: | 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 .. |
Author: | ericfourfour [ Sat Dec 09, 2006 11:34 pm ] |
Post subject: | |
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. |
Author: | Prince Pwn [ Sun Dec 10, 2006 9:49 pm ] |
Post subject: | |
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! |
Author: | BenLi [ Tue Dec 12, 2006 9:00 pm ] |
Post subject: | |
hey george, the program looks slick. your fill doesn't work though |