
-----------------------------------
Frost35
Tue Apr 25, 2006 8:20 pm

Paint Program.
-----------------------------------
Hello all. Here's a paint program I've been working on for a little bit for school. I tried to get the offscreenonly/View.Update to work, but it just kept lagging the program :S. 

It's semi-big (495 lines), so I've added it as an attachment.

Anyway, suggestions/comments appreciated  :)

-----------------------------------
zylum
Tue Apr 25, 2006 9:00 pm


-----------------------------------
not bad at all  :wink: 

a couple of suggestions:

-make the fill command only fill in the colour that you clicked on instead of the whole screen.
-when youre drawing lines, it should have a preview of where you're drawing it instead of having to guess
-same as above to your "bonus" features such as star and box.

other than that it was pretty good. whould be nice if you could fix that flickering too.

+Bits

-----------------------------------
Frost35
Tue Apr 25, 2006 9:38 pm


-----------------------------------
not bad at all  :wink: 

a couple of suggestions:

-make the fill command only fill in the colour that you clicked on instead of the whole screen.
-when youre drawing lines, it should have a preview of where you're drawing it instead of having to guess
-same as above to your "bonus" features such as star and box.

other than that it was pretty good. whould be nice if you could fix that flickering too.

+Bits

thx. I saw some code on here that had the "preview" but I couldn't quite understand it, and  I didn't want to use it unless I did. Also for all the previewing, it flickers like mad, and I'm still working on where to put the View.Updates.

The fill screen thing is doable, not exactly sure how though.

-----------------------------------
Andy
Wed Apr 26, 2006 10:51 am


-----------------------------------
learn how to search

http://www.compsci.ca/v2/viewtopic.php?t=8001&highlight=drawfill

-----------------------------------
upthescale
Wed Apr 26, 2006 3:32 pm


-----------------------------------
yeh, i no wut u meen....u sed that when u use view up date, it lags....at my skool when ever i used offscrenonly, it will slow my computer down, i guess its only skool computers because they suck:)

-----------------------------------
Frost35
Thu Apr 27, 2006 4:18 pm


-----------------------------------
I updated the program with a few things, and cleaned up the code some more.


learn how to search

http://www.compsci.ca/v2/viewtopic.php?t=8001&highlight=drawfill

thx, but I know how to search. If I wanted to search for an answer I would have. I never asked how, and wasn't expecting someone to tell me. Thx though  :)
