Commit graph

261 commits

Author SHA1 Message Date
Pere Pujal i Carabantes
85bf1dc181 Panels do not use colors, new string for fullscreen mode Halftone. 2021-10-06 00:31:57 +02:00
Bill Kendrick
e7c7a51a00 Lightning Magic tool looking good
Could be better, but it's a start.
2021-09-27 00:53:01 -07:00
Bill Kendrick
4965cc95f1 Angle calculation for WIP Lightning effect 2021-09-26 23:34:49 -07:00
Bill Kendrick
2bd9b74dd6 WIP Lightning Magic tool
UI, icon, sfx working; not actually rendering the bolt yet.
2021-09-26 22:50:41 -07:00
Bill Kendrick
8b30a278c2 "Smooth Rainbow" magic tool (variant of "Rainbow")
Numerous people commented on Twitter that a piece of artwork
("Chromie Squiggle #7583", created in "ArtBlocks") looked like it
was made in Tux Paint.

However, the classic (2002-era) "Rainbow" tool cycled coarsely
through solid colors.  This adds a gradient.
2021-09-22 23:01:26 -07:00
Bill Kendrick
1d5dd8eb9f Finished organizing Magic tools; updated docs
Added group code to `tp_magic_example.c`, and documented
in the "Creating Tux Paint Magic Tool Plugins" docs.
2021-09-21 01:02:22 -07:00
Bill Kendrick
5882a48412 Even more Magic tools to their groups...
Nearly done.
2021-09-21 00:32:19 -07:00
Bill Kendrick
f381073d48 Putting more Magic tools into groups... 2021-09-21 00:24:26 -07:00
Bill Kendrick
448a4b4487 Put more Magic tools into their groups
...WIP
2021-09-21 00:07:14 -07:00
Bill Kendrick
12b503be9c Adding more Magic tools to their groups...
WIP
2021-09-20 23:47:31 -07:00
Bill Kendrick
3963d74f43 Show Magic tool group pagination buttons
Make room for them, but they don't do anything yet.
2021-09-20 23:36:19 -07:00
Bill Kendrick
3eece8635c WIP Working on Magic tool grouping
Fretwork is in one group; Blocks, Chalk, and Drip in another.
The rest do not currently report (so will not load!).
No UI change to the Magic tool interface yet.
2021-09-20 23:09:33 -07:00
Bill Kendrick
8f31459990 "TV" Magic Tool enhancement
"TV" now breaks pixels into red/green/blue components,
rather than merely adding a 'scanline' effect.

Reworked how it handles interaction (click/drag vs fullscreen).
2021-09-20 22:28:29 -07:00
Bill Kendrick
b82214c19c Emboss can now effect the entire canvas at once
h/t @jpeg2k on Twitter for reminding me!
2021-09-18 00:27:54 -07:00
Bill Kendrick
fa23c099f2 "Opposite" Magic tool: Complementary colors
Closes https://sourceforge.net/p/tuxpaint/feature-requests/136/
2021-09-06 01:36:08 -07:00
Bill Kendrick
f6c74f897e "Halftone" can now affect the entire image at once 2021-09-04 23:28:33 -07:00
Bill Kendrick
c5fd47b1af "Halftone" works much better 2021-09-04 16:25:19 -07:00
Bill Kendrick
82f1abb27f "Negative" magic tool: play sound in fullscreen
Was only playing in paint mode.
2021-09-04 14:33:59 -07:00
Bill Kendrick
8d67915b3e "Panels" magic tool; convert image to 2x2 repeat
Useful for making 4-panel comics; or repeat multiple times to
create a compound-eye effect.

Closes https://sourceforge.net/p/tuxpaint/feature-requests/204/
2021-09-04 14:28:01 -07:00
Bill Kendrick
485723d0e4 Clone tool: Displaying a crosshair at source
A crosshair appears when you first click, to show the source
position.  It then moves along with the source, as you drag
after the second click (moving relative to the mouse).
2021-02-20 15:33:56 -08:00
Bill Kendrick
d588e5d214 Halftone magic tool wasn't loading...
... due to a problem with its sound effect file.
2021-02-20 15:14:31 -08:00
Bill Kendrick
67b05a0579 Slight cleanup of blind.c; new Checkerboard tool
Use enums everywhere; credits/copyright clean-up.
2021-02-15 23:19:21 -08:00
Bill Kendrick
cea4c3f87e Adding sound effects to Clone tool
Source https://commons.wikimedia.org/wiki/File:Sheep_bleating.ogg
(Public domain)
2021-02-10 23:59:57 -08:00
Bill Kendrick
1cb04f1e0a "Clone" magic tool 2021-01-10 22:46:34 -08:00
Bill Kendrick
4049b6cbbc New magic tool: Pixels
Suitable for simple 'pixel art'.  Draws 8x8 pixel rectangles on
a grid across the canvas.

Sound effect created via a small Atari BASIC program sampled in
the open source 'Atari800' emulator (emulating the POKEY sound
chip), and trimmed in Audacity.
2021-01-06 23:02:11 -08:00
Bill Kendrick
2911b35a50 Elevate "Fill" from Magic Tool to real Tool
Replace the somewhat-recently-added "nothing" item in the tool bar
with the "Fill" tool, which has been converted back from a Magic tool
to a regular tool.

Also, change bash "==" to sh "=" in "if [ ... ]" tests in Makefile.

Also, link to math library (via "-lm") to make sure "max()" is available to
magic tools.

Also, add missing mention of "--newcolorslast" and "--newcolorsfirst" to manpage.
2019-09-12 23:04:13 -07:00
Bill Kendrick
7938480174 Clean up GCC warnings (2019-08-29 edition)
Updated most parts of the code that were throwing warnings in GCC.
2019-08-30 00:01:00 -07:00
Bill Kendrick
4ab8280bbe indent xor.c 2017-10-15 11:51:27 -07:00
Bill Kendrick
5a88d476c8 indent waves.c 2017-10-15 11:51:22 -07:00
Bill Kendrick
cc7dd8e3c9 indent tv.c 2017-10-15 11:51:18 -07:00
Bill Kendrick
011f7f27c1 indent tornado.c 2017-10-15 11:51:13 -07:00
Bill Kendrick
cf3173690d indent toothpaste.c 2017-10-15 11:51:10 -07:00
Bill Kendrick
5871ef9b3a indent tint.c 2017-10-15 11:51:06 -07:00
Bill Kendrick
d311aeb236 indent string.c 2017-10-15 11:51:02 -07:00
Bill Kendrick
29b25992ad indent snow.c 2017-10-15 11:50:59 -07:00
Bill Kendrick
6071c06c06 indent smudge.c 2017-10-15 11:50:37 -07:00
Bill Kendrick
e6a81956de indent shift.c 2017-10-15 11:50:00 -07:00
Bill Kendrick
fee4c7ca44 indent sharpen.c 2017-10-15 11:49:48 -07:00
Bill Kendrick
ac74e0ed51 indent rosette.c 2017-10-15 11:49:41 -07:00
Bill Kendrick
fea1b424ba indent ripples.c 2017-10-15 11:49:34 -07:00
Bill Kendrick
247be68e46 indent realrainbow.c 2017-10-15 11:49:17 -07:00
Bill Kendrick
408bb07151 indent rain.c 2017-10-15 11:49:06 -07:00
Bill Kendrick
b52cf2b0a5 indent rainbow.c 2017-10-15 11:49:01 -07:00
Bill Kendrick
b06b7e51b4 indent rails.c 2017-10-15 11:48:54 -07:00
Bill Kendrick
6a89ec2384 indent puzzle.c 2017-10-15 11:48:44 -07:00
Bill Kendrick
04580641df indent perspective.c 2017-10-15 11:48:38 -07:00
Bill Kendrick
88e9a3dfcf indent noise.c 2017-10-15 11:48:27 -07:00
Bill Kendrick
53a328e903 indent negative.c 2017-10-15 11:48:18 -07:00
Bill Kendrick
5e83b2408d indent mosaic_shaped.c 2017-10-15 11:48:08 -07:00
Bill Kendrick
bd18815216 indent mosaic.c 2017-10-15 11:48:02 -07:00