Commit graph

354 commits

Author SHA1 Message Date
Bill Kendrick
930b19ae64 Adding "Stretch" magic tool's docs 2021-10-20 22:36:37 -07:00
Bill Kendrick
1135225691 New "Stretch" magic tool
Docs/etc. to be updated in a separate commit.
2021-10-20 22:32:34 -07:00
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
79437733f2 Add Magic tool doc translations; install them
Adding snapshot of (basically untranslated) Magic tool docs
in the other locales currently supported by 'tuxpaint-docs'.

Update Makefile to install them.
2021-09-28 21:25:37 -07:00
Bill Kendrick
80ae9cc1a4 Magic tool docs are now coming from tuxpaint-docs
Rebuilt the English ones.
2021-09-28 21:19:05 -07:00
Bill Kendrick
097ec15ebf Grouping Magic tools within Magic tool docs 2021-09-28 20:06:27 -07:00
Bill Kendrick
74f5748da5 Adding Lightning to Magic tool docs 2021-09-27 10:29:14 -07: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
0ed588521f Add missing Fretwork magic tool docs 2021-09-20 22:55:41 -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
e9151cbe36 Adding Halftone docs the RIGHT way
I'm forgetful!
2021-09-20 21:28:19 -07:00
Bill Kendrick
d64b7edf30 Add missing docs for Halftone magic tool
Also a couple TXT versions of Magic tool docs didn't get
committed.
2021-09-20 21:22:49 -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
11eb1b48e6 Icon for "Halftone" magic tool
It somehow had the same icon as "Zoom" (!?!)
2021-09-04 23:32:23 -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
4b7715940d Fix weird artifacting in "Zoom" magic tool icon 2021-09-04 14:36:27 -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
7cd547e746 "xorpixel()" function added to Magic Tools API 2021-02-20 15:19:40 -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
ab8a170839 Changing clone tool to a sheep
...because the first mammal cloned from an adult somatic cell was
Dolly the sheep (1996).
2021-02-11 00:10:43 -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
Pere Pujal i Carabantes
01bfcb5846 Merge branch 'master' of ssh://git.code.sf.net/p/tuxpaint/tuxpaint 2021-01-16 01:21:50 +01:00
Bill Kendrick
8406ee701b Adding icon for Clone tool 2021-01-11 09:34:21 -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
Pere Pujal i Carabantes
000658a154 Resaving blind, emboss, fretwork, halftone, mosaic, rails, tornado, tv, xor and zoom PNGs so they don't display all black when scaled. 2020-09-25 00:44:45 +02: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
cb8c885433 Ran indent on tp_magic_example.c
See https://sourceforge.net/p/tuxpaint/mailman/message/36077409/
from Oct. 2017 for more.
2019-04-13 12:13:28 -07:00
Bill Kendrick
6633b40d7f New file-naming convention for magic docs
Anything non-A-to-Z (including spaces) convert to "_".
(Before, spaces were just eaten)
2018-08-30 02:14:43 -07:00
Bill Kendrick
762d02788d Working to regen magic tool docs 2018-08-30 02:11:56 -07:00
Bill Kendrick
e5d59e6f58 Moving magic docs (end user) into en subdir, too
Make "Makefile" that generates magic doc TXT files
from HTML work.
2018-08-30 01:33:04 -07:00
Bill Kendrick
ecfb336b5c Get magic docs HTML/TXT generator working
Needs "<?php" not "<?".
2018-08-30 01:31:36 -07:00
Bill Kendrick
232176025d Moved magic docs to 'en' subdir, so make works
Makefile for docs (used also by magic tool docs) expects
things to live in localized subdirectories now, so moved
things there.

Also, rebuilt README.txt (now en/README.txt) using the updated
README.html source.
2018-08-30 01:26:14 -07:00
Bill Kendrick
5f08467c83 Added new MODE_...'s to magic tool docs
Added documentation for "MODE_ONECLICK" and "MODE_PAINT_WITH_PREVIEW",
which were added to Tux Paint magic API 0x00000003 in Tux Paint 0.9.22)
to Tux Paint magic tool development docs.
2018-08-30 01:23:31 -07:00