Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] a hacked up drawing program

Author
Message
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 1st Aug 2010 03:39 Edited at: 1st Aug 2010 03:41
Well, I was bored, so I made this:


it uses a lot of code from the codebase. Namely:
phalaex's multi-line tooltips (mouseover the box in the upper left hand corner for random info used during debugging... though the info isn't too useful), phalaex's line with thickness, phalaex's circle function, some heavily modded code from syncaidus's image manipulation functions, and aaron millers rgba function (renamed).

After I made that, I made this. enjoy.


[edit]
oh, I should also explain the controls o.O
numbers 1 through 6 to change the drawing color, ctrl+num to change the background color, shift+drag to draw a line of color, and ctrl+click to erase.


Is't life, I ask, is't even prudence, to bore thyself and bore thy students?
Syncaidius
19
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 9th Aug 2010 18:06
Nice little paint program.

ghostkrashers
14
Years of Service
User Offline
Joined: 19th Jul 2010
Location:
Posted: 12th Aug 2010 06:41
I suggest you make a text instruction like


Oh, and if you don't want to add it yourself, I added the function in to the code:



Just a little suggestion.

Login to post a reply

Server time is: 2024-11-21 21:11:43
Your offset time is: 2024-11-21 21:11:43