Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Paint Program.
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Frost35




PostPosted: Tue Apr 25, 2006 8:20 pm   Post subject: 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 Smile



paint 1.1VU.t
 Description:
Um... yay :D

Download
 Filename:  paint 1.1VU.t
 Filesize:  15.22 KB
 Downloaded:  267 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
zylum




PostPosted: Tue Apr 25, 2006 9:00 pm   Post subject: (No subject)

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




PostPosted: Tue Apr 25, 2006 9:38 pm   Post subject: (No subject)

zylum wrote:
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




PostPosted: Wed Apr 26, 2006 10:51 am   Post subject: (No subject)

learn how to search

http://www.compsci.ca/v2/viewtopic.php?t=8001&highlight=drawfill
upthescale




PostPosted: Wed Apr 26, 2006 3:32 pm   Post subject: (No subject)

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




PostPosted: Thu Apr 27, 2006 4:18 pm   Post subject: (No subject)

I updated the program with a few things, and cleaned up the code some more.


Andy wrote:


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 Smile
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: