Commit graph

30 commits

Author SHA1 Message Date
Bill Kendrick
3b1c26c93d Update all other Magic tools' "set_color()"
FIXME: This loses "ATTRIBUTE_UNUSED" where they existed, and also
all of the files committed here need that compiler hint added to
all of the new arguments ('canvas', 'last', etc.) since they
obviously don't use them either.
2023-01-25 02:15:19 -08:00
Bill Kendrick
0517b4392c Update URL to https://tuxpaint.org/ everywhere
Also, add other social media accounts to list of places to
announce Tux Paint in RELEASE docs.

Also, list a ton more options missing from default example config file
"src/tuxpaint.conf"
2022-12-11 01:29:25 -08:00
Bill Kendrick
cc05925d9e Re-ran indent on all .c & .h source code files
Like so --
  find . -name "*.c" -or -name "*.h" -exec  indent -nbfda -npcs -npsl -bli0 --no-tabs {} \;

The `indent` invocation differs from the last one noted in
CHANGES.txt (from 2006!?), in that I've added "--no-tabs",
to ensure indents are all space-based.
2022-09-15 00:14:20 -07:00
Bill Kendrick
60120b763c Merge branch 'master' into sdl2.0 2022-07-03 19:58:34 -07:00
Bill Kendrick
844db56ab9 Drip - Better full-canvas effect; proper description
h/t Karl, code by Pere (w/ some clean-up by me)

Closes https://sourceforge.net/p/tuxpaint/bugs/256/
2022-07-03 16:39:50 -07:00
Pere Pujal i Carabantes
75ca9dd66e Merge branch 'master' into sdl2.0 2021-11-09 23:23:28 +01:00
Bill Kendrick
cde0941509 Blocks/Chalk fullscreen; play sound, add prog bar 2021-11-08 20:33:57 -08:00
Pere Pujal i Carabantes
1afe9e155c Merge branch 'master' into sdl2.0
Tons of bugfixes and improvements for Windows by Toyama Shin-Ichi
Angle rotation and some magic tools by Bill.
2021-11-06 08:59:22 +01:00
Bill Kendrick
27b89d0dba Blocks/Chalk: Full-image descriptive text 2021-10-27 22:24:13 -07:00
Bill Kendrick
3fad8fc75b Blocks & Chalk can now affect entire image at once 2021-10-27 22:18:09 -07:00
Pere Pujal i Carabantes
b6b0636eb5 Merge branch 'master' into sdl2.0 2021-09-27 23:32:48 +02: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
Pere Pujal i Carabantes
f836cc775a Magic tools: Inline->static for android, corrected paths to avoid double slash which makes SDL2 not loading the stuff from assets.
Thoose changes were already in the SDL2 and android versions, they were reverted somehow...
2018-02-28 00:23:15 +01:00
Bill Kendrick
5ada032452 indent blocks_chalk_drip.c 2017-10-15 11:37:56 -07:00
Joe Hansen
88a49ccfb2 Click and move -> Click and drag 2015-05-02 09:11:09 +00:00
Pere Pujal i Carabantes
0a2072e334 Removing warnings in half of magic tools by some GCI students. 2011-11-26 22:04:50 +00:00
William Kendrick
f556b503b9 switchin() and switchout() now accept mode. 2008-07-10 20:26:38 +00:00
William Kendrick
2e5508842f get_description() gets mode, so tools can provide diff. instructions. 2008-07-09 04:37:08 +00:00
William Kendrick
472692fbab Magic tools can now be both painted and full-image.
Negative tool now does this.
2008-07-09 02:46:54 +00:00
William Kendrick
b4ed444f0f Beginning to implement switchin() and switchout() Magic tool plugin API. 2008-07-08 00:21:31 +00:00
Shin-ichi TOYAMA
14063f43b9 Fixed rendering problem with NO_SDL_PANGO. 2008-06-26 15:13:57 +00:00
William Kendrick
ddc7bab3d5 Making Magic Tool source throw less compiler warnings. 2008-05-06 15:29:46 +00:00
Albert Cahalan
3252287d30 mark internal functions static 2008-05-04 18:29:28 +00:00
William Kendrick
24db799109 <stdlib.h> to reduce warnings. 2007-08-22 06:27:42 +00:00
William Kendrick
20fb6056c0 Misordered descriptions. 2007-08-08 17:57:30 +00:00
William Kendrick
0d6c2cf1b9 Magic tools (and tp-magic-config) supports local (user) plugins.
Added copyright & credit info to new Magic tool plugin .c files.
Updated Magic plugin doc API.
2007-08-08 06:56:04 +00:00
William Kendrick
6e827f67fe Improved 'New' and 'Open' interfaces. ('Open' dialog no longer includes
Starter images; 'New' now brings up a selection dialog showing 'Starter'
images and color choices.)
New images can be given solid background colors (which the 'Eraser' tool
erases to).
Improved --usage output.
Added support for "--papersize help" to list papersizes available via libpaper.
Some Magic tools that apply an affect once per click-and-drag no longer
recalculate the effect on pixels that have already been affected (until mouse
button is released and clicked again).
2007-07-24 18:20:17 +00:00
William Kendrick
c44cf54033 Added dirty rect to magic api.
Added 'release' event to magic api.
2007-07-08 23:17:18 +00:00
William Kendrick
73b8464b75 Added Magic tool API version API. 2007-07-08 07:53:39 +00:00
William Kendrick
2d4eee798f Converted Blocks, Chalk, Drip, Blur, Bricks, Cartoon, Drip, Fill, Grass,
Rainbow, Smudge and Tint Magic tools to plugins.
2007-07-06 19:35:32 +00:00