van Gogh

Top  Previous  Next

This month's plug and play application is a painting program that would have made quite a few companies jealous a few decades ago. You can use it as a base for your own painting program or (just an example) to draw real time graffiti to the walls from your levels. The application can be extended easily by adding new tools that are similar to those that can be found inside function paint_canvas( ).

 

aum91_pnp1

 

The program has got a simple user interface and allows you to choose the drawing color, as well as the size of the brush. Press the "Quit" button to exit; if you have drawn something on the white canvas, your work will be saved to a tga file named (what else?) masterpiece.tga. Practice with this application and after years of training you might be able to produce masterpieces that look like mine :)

 

aum91_pnp2

 

The code is very well commented, as always.