Computer Science Canada

Extreme Paint

Author:  Superskull85 [ Mon Feb 25, 2008 4:08 pm ]
Post subject:  Extreme Paint

This is a paint program that I coded from scratch for my computer science class. I called it Extreme Paint, as it was the first title that I though of, and I couldn't think of any other titles. To run the program open Extreme Paint.t in Turing and press "Run" or F1.

The program lets you draw several different shapes (ovals, circles, squares, rectangles, triangles, stars etc.), has three different freelance drawing modes (oval shaped brush, rectangle shaped brush, and a pencil), an eraser, text, file IO, Undo/Redo, Cut/Copy/Paste and a bunch of other features.

The code can be optimized, however, I didn't have time to optimize the code before my assignment deadline. I am going to keep working on the program in my free time so I should be able to complete all the items in To Do.txt and try to fix all the bugs in KnownBugs.txt. Some of the features I still want to implement are:
    Layering
    Multi-File support
    Animation tools, such as frames, animation preview, time line etc.
    Introductory screen
    Program preferences, being able to separate the toolbars from the main window, hide/show toolbars, customization of the toolbars etc.
I would recommend using Turing 4.1.1a as I think (though I am not sure) that the Draw.DashedLine () procedure is not present in older versions. Also by default the program will not run unless you have your screen resolution set to 1024x768 or above (though it is possible to disable this I wouldn't recommend it, as the program uses most of the 1024x768 screen).

If you find any bugs please post them in this thread or PM me,

Superskull85.

Edit: If anyone can compile this code with any version of Turing I would appreciate if they could post the EXE because whenever I compile the code with 4.1.1a (the version I have) the EXE file does not run, but instead windows outputs an error.

Author:  BigBear [ Mon Feb 25, 2008 4:34 pm ]
Post subject:  Re: Extreme Paint

When I run Extreme Paint.t I receive the error ResetQuit is not in the export list of GUI and 21 other errors like this one. Is this because I am running 4.0.3 ? Well I still want to see your program

Author:  Superskull85 [ Mon Feb 25, 2008 4:38 pm ]
Post subject:  RE:Extreme Paint

It may be, I know that I had this problem when my school was using an older version then the one I had at home. I am not sure which version of Turing first had the support for GUI.ResetQuit () (the procedure in question) but I know that Turing version 4.1.1a has it (which is free from holtsoft.com). I would compile the code but whenever I do my EXE file will not run (I have tried re-downloading Turing 4.1.1a and it still doesn't work).

Author:  BigBear [ Mon Feb 25, 2008 5:04 pm ]
Post subject:  Re: Extreme Paint

Yeah compiling with the free version doesn't work ok I will run it later with a newer version. Thanks

Author:  BigBear [ Mon Feb 25, 2008 5:24 pm ]
Post subject:  Re: Extreme Paint

What are the chance your teachers has the newest copy or knows about the free one from Holt Software?? I guess he will either think it is broken or ask you and if he asks you, you can just tell him and not get a zero.

Author:  Superskull85 [ Mon Feb 25, 2008 5:30 pm ]
Post subject:  RE:Extreme Paint

Well actually my school updated to the latest version already. I had this problem last year when I was trying to create a Turing syntax highlighting (which I will not post, as it has some bugs left to be fixed), the code works on my computer and at school now.

Edit: If you really wanted to test the program you could find all the GUI.ResetQuit () lines and comment them out, however, whenever you exit a window other then the main window the program will finish executing. You can still use the drawing features by accessing them from the main menu.

Author:  Superskull85 [ Wed Apr 23, 2008 7:09 pm ]
Post subject:  Re: Extreme Paint

I was able to compile the code for this program into an EXE file. If anyone stills wants to try out the program but you don't have Turing you can download the EXE (attached file).

Author:  repsoccer16 [ Thu Apr 24, 2008 8:22 am ]
Post subject:  RE:Extreme Paint

this is a really cool program Smile +10 bits

Author:  TripleBla [ Thu Apr 24, 2008 9:50 am ]
Post subject:  RE:Extreme Paint

That is an extremely well written program.

Much props, very well done. If I had a lot of bits, I'd throw a lot of them at you.

Very professional use of Turing's native GUI.

I like!


: