PDA

View Full Version : 4-bit Paint



Brain Cell
01-15-2005, 05:16 AM
Check this out , i made a console version of MS Paint :p . It's not as good ofcourse. In fact , it uses 4-bit colors only , dots look bulky (represented by cells) and its only capable of clearing the screen , drawing and erasing.

You can download it from here :
http://www.mashhoor.ws/downloads/mpaint.zip
(ZIP file contains source code and EXE)

For more info visit :
http://www.mashhoor.ws/pf.html


It's useless but kinda fun to mess with.

If you wanna learn Win32 console programming , i suggest reading Adrian's tutorial (http://www.adrianxw.dk/SoftwareSite/Consoles/Consoles1.html). I made this program once i finished reading it , and it was pretty simple. (thanks Adrian :))



Thanks for your time,
Mashhoor

SMurf
01-15-2005, 10:22 AM
For the 16th colour, you need to specify BACKGROUND_RED | BACKGROUND_GREEN | BACKGROUND_BLUE in SetConsoleTextAttribute. It should give you a light grey. ;)

Brain Cell
01-16-2005, 10:55 PM
well ... light gray doesn't seem so necessary :p