Commit graph

12 commits

Author SHA1 Message Date
Bill Kendrick
06a36c571e Clone: Support sizes; performance boost 2023-04-20 22:15:01 -07:00
Bill Kendrick
4d932f800b Add ATTRIBUTE_UNUSED back to MAGIC_set_color() funcs
Avoid compile time warnings
2023-02-12 13:17:49 -08:00
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
2083b66564 Various Magic tools: mend update_rect->h miscalc.
e.g. this "update_rect->h = (y + 16) - update_rect->h;"
should be "update_rect->h = (y + 16) - update_rect->y;"
2022-10-19 01:37:36 -07: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
Pere Pujal i Carabantes
b6b0636eb5 Merge branch 'master' into sdl2.0 2021-09-27 23:32:48 +02:00
Bill Kendrick
f381073d48 Putting more Magic tools into groups... 2021-09-21 00:24:26 -07:00
Pere Pujal i Carabantes
7b872a02df Adapting to SDL2 and Android.
SDL_ANYFORMAT is no more there and the flags field should be 0 in SDL2.
Double / that would be get in the paths poses problems in the emulated filesystem we use for Android assets.
2021-02-25 01:17:56 +01: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
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