Commit graph

1762 commits

Author SHA1 Message Date
Bill Kendrick
e67390cac1 Sync Japanese README
h/t Shin-ichi
2023-02-19 02:13:42 -08:00
Bill Kendrick
f8fd27402e Apply updated CSS; also Japanese OPTIONS txt sync 2023-02-19 01:42:53 -08:00
Bill Kendrick
152c35c50a Sync README docs; get updated Stamps section 2023-02-19 01:30:21 -08:00
Bill Kendrick
21a48e15f5 Sync Japanese OPTIONS docs; update CHANGES 2023-02-19 01:02:22 -08:00
Bill Kendrick
844a5aa554 Sync docs: joystick-btn-fill option 2023-02-18 14:24:37 -08:00
Bill Kendrick
95cc093b80 Joystick button can be config'd to activate Fill tool
https://sourceforge.net/p/tuxpaint/feature-requests/199/
2023-02-18 14:17:55 -08:00
Bill Kendrick
7af85524d7 Icon for Fur magic 2023-02-16 01:26:30 -08:00
Bill Kendrick
ed6e3da74f Change most printfs to DEBUG_PRINTF()
Avoids need to wrap tons of things in #ifdef DEBUG ... #endif
2023-02-16 01:08:41 -08:00
Bill Kendrick
eaeebdc7a6 Starter scale option support; set some options 2023-02-16 00:29:51 -08:00
Bill Kendrick
d164b7e297 Sync docs after more template/starters options work 2023-02-12 13:47:01 -08:00
Bill Kendrick
6e15c46006 Forgot to remove "document" from TODO list...
...for new Starters/Template options support.
2023-02-12 12:53:37 -08:00
Bill Kendrick
82d5c0c4e7 Sync'ing docs & adding images for Starter/Template options files 2023-02-12 12:45:28 -08:00
Bill Kendrick
17eb62e554 Template/Starter options: Ability to specify gravity
e.g. if the aspect ratio of the template/starter is wider than
that of the canvas, and "autoscale=vertical" (or "=both")
is specified, before it would chop the top and bottom of the
image off, displaying the vertical center of it on the canvas.
Now you can ask it to gravitate towards the top or bottom, if they
have content that's of higher significance than the opposite side.

h/t Pere & Albert for the suggestion.

TODO - Document, set some suitable defaults for images we ship.
2023-02-12 10:39:58 -08:00
Bill Kendrick
9b93805ef6 [WIP] Starter/Template scale/smear/bkgd color options
Now possible to set scaling and smearing options for
each starter or template image.  A ".dat" file can be
created which describes whether it's okay to scale and crop
the image's top/bottom and/or left/right, and if not both,
whether to smear the sides of the starter/template to the
edges of the canvas (the prior behavior, and the default),
or use a specific solid color background.

Once finished, will close
https://sourceforge.net/p/tuxpaint/feature-requests/190/

Still to do:
 + Document
 + Remove debugging printf()s (change to DEBUG_PRINTF()?)
 + Add files for starters & templates that ship with Tux Paint
 + Test!
2023-02-10 01:58:49 -08:00
Pere Pujal i Carabantes
f530236f86 New starter space_draw.svg by Ingrid Illa Terrier. 2023-02-09 00:48:18 +01:00
Bill Kendrick
996b09e508 Magic Bloom: Add sound effect
Source https://freesound.org/people/kentnelson64/sounds/647221/
("This work is licensed under the Creative Commons 0 License.")
2023-02-07 01:42:52 -08:00
Bill Kendrick
948158c1fd WIP "Bloom" magic effect. Mend crash in "perspective.c" 2023-02-06 02:22:21 -08:00
Bill Kendrick
1687fd4de1 Magic Fur: Sound effect 2023-01-30 00:35:19 -08:00
Bill Kendrick
6161ebe59a Doc'ing Fur magic tool in CHANGES & AUTHORS
Also, moving to "Paint" group (the other two remain in "Distorts")
2023-01-29 22:18:59 -08:00
Bill Kendrick
b9e5d59dad New magic tools: Circles, and Rays
Convert the image into circular or ray brushstrokes.

Inspired by "Night Sky Scene [Pen Parallax]" Scratch Project
by -HexaScape- <https://scratch.mit.edu/users/-HexaScape->

Sound effects based on Richard Wagner's "Ride of the Valkyries"
licensed as Creative Commons Attribution 3.0 Unported (CC BY 3.0)
by https://pmmusic.pro/; conducted by Philip Milman.

h/t my son William for pointing out the Scratch project
2023-01-28 23:12:28 -08:00
Bill Kendrick
29a2d148b2 Maze magic tool - sound effect 2023-01-26 21:57:56 -08:00
Bill Kendrick
49f70c60d8 Magic Maze: Icon 2023-01-26 01:08:22 -08:00
Bill Kendrick
c7b0c78fb9 Sync docs: Grab Magic API set_color() change 2023-01-25 02:25:43 -08:00
Bill Kendrick
34de8311db Zoom/Perspective: Support background color changes
When in the middle of adjusting a drawing with Zoom or Perspective,
you could change the color.  However, the background would not
relfect this until you further adjusted the zoom/perspective.

Now, a color change causes the background to update immediately.

This involved updating the Tux Paint Magic API to send more
arguments to each Magic tool's "XYZ_set_color()" function,
which means a bump in the API version.

(Forthcoming, all other Magic tools will have their set_color()
functions updated.)
2023-01-25 02:12:57 -08:00
Bill Kendrick
999e0c873e Maze magic: Got contiguous-or-not working right 2023-01-25 01:12:18 -08:00
Bill Kendrick
bf7e8897d6 Remove unfinished "Label" text on New or Open
Text from unfinished "Label" tool input would appear after
creating a New image or Opening an existing one.  Mended.
Closes https://sourceforge.net/p/tuxpaint/bugs/246/

Mostly by Pere.
2023-01-23 22:04:00 -08:00
Bill Kendrick
dbb9157ca7 Doc'ing what's needed for current WIP Magic tools 2023-01-21 03:24:55 -08:00
Bill Kendrick
c15b6a176c WIP: "Maze" magic tool 2023-01-21 03:05:24 -08:00
Bill Kendrick
51c270b519 Avoid window larger than sole display size is capable of
If only one display is available, when running in windowed mode
and asking for Tux Paint to appear in a width and/or height larger
than the display's dimensions, Tux Paint will fall back to
the maximum(s) the display is capable of.

e.g., on my laptop with 1920x1080, running "tuxpaint --2048x2048"
will fall back to 1920x1080 (and display a warning to stdout).
However, if I have my external monitor (also 1920x1080) attached,
it will happily open a 2048x2048 window.  Not perfect, but an
improvement.

Closes https://sourceforge.net/p/tuxpaint/feature-requests/113/
2023-01-19 00:56:07 -08:00
Bill Kendrick
949438e2fb Bring back support for SDL_VIDEO_WINDOW_POS envvar
SDL1.2 supported "SDL_VIDEO_WINDOW_POS" environment variable,
but SDL2 does not; so reimplemented it ourselves. (See ENVARS docs.)
2023-01-19 00:18:52 -08:00
Bill Kendrick
fc95baa98b WIP: Rivulet magic tool 2023-01-16 16:27:12 -08:00
Bill Kendrick
65852f2534 Corrected 'keep aspect ration' option in zoom()
Scaling of button labels often caused them to stretch wider
than they should have.  (e.g., "tuxpaint --1024x768 --buttonsize=78")
2023-01-11 00:46:31 -08:00
Bill Kendrick
8df7650f82 Credit Bulgarian translation update 2023-01-07 01:22:29 -08:00
Bill Kendrick
d132f96075 Changing default UI font to DejaVu Sans
Per discussion over in
https://sourceforge.net/p/tuxpaint/mailman/tuxpaint-devel/thread/CADZCvhDRn174fTc0e3K6Qxa8pHjXCvwmUr9p3frdzh7YksiS7A@mail.gmail.com/
2023-01-06 00:59:56 -08:00
Bill Kendrick
71ee416210 README: Bump date
It's 2023!
2023-01-04 21:51:23 -08:00
Bill Kendrick
35dbd40bf6 Disallow Ctrl-Z in certain situations
Closes https://sourceforge.net/p/tuxpaint/bugs/239/
2023-01-03 22:30:45 -08:00
Bill Kendrick
7ecd0ab075 Crediting Philipp Rösner for make --shuffle help 2023-01-02 22:00:29 -08:00
Bill Kendrick
798ac772c2 Sync docs; catch new 2023-01-02 date 2023-01-02 11:58:49 -08:00
b'William Kendrick
cbc9bcbb97 Merge /u/rndxelement/tuxpaint/ branch master into master
https://sourceforge.net/p/tuxpaint/tuxpaint/merge-requests/15/
2023-01-02 19:38:22 +00:00
Bill Kendrick
7a1c90031c Disabling anniversary confetti animation on title screen 2022-12-28 21:03:39 -08:00
Bill Kendrick
866c5f6483 Adding Google Eyes sound effect
Updating credits & changelog, too.
2022-12-24 12:33:52 -08:00
Bill Kendrick
b4f63f17ff POT/PO rebuild & RELEASE change re: appdata file
(org.tuxpaint.Tuxpaint.appdata.xml.in)
2022-12-24 11:16:30 -08:00
Bill Kendrick
c13c6e1dcb Fill: Paint & Radial; bounds check for touched[]
Avoid reading outside of the bounds of the `touched[]` array,
to help prevent crashes.

h/t Miyagi Andel for reporting,
Shin-ichi TOYAMA for pinpointing the issue,
and Pere Pujal i Carabantes for providing a solution

Closes https://sourceforge.net/p/tuxpaint/bugs/269
2022-12-23 00:08:52 -08:00
Philipp Rösner
33d94454a8
Add support for --shuffle GNU make flag
Add missing dependecies without which build
failures occur while using the --shuffle flag for GNU make.
2022-12-21 23:53:46 +01:00
Bill Kendrick
440d2f369a Googly Eyes imagery; doc'd "<N>spare-Nx" font scorer 2022-12-21 02:08:37 -08:00
Bill Kendrick
0e70c7696c Refresh DOCS after Japanese quickstart update
Also capturing README date bumps in plaintext alternatives.
2022-12-11 15:24:10 -08:00
dolphin6k
0a21abd918 It does not affect UI font so far. 2022-12-11 20:49:54 +09:00
Bill Kendrick
0f40eb2c9a Removing outdated docs
The newest appeared to be for versions up through 0.9.21
(11 years ago).  Some were even older!

Please update PO files in `tuxpaint-docs` repository to
translated the current docs!
2022-12-11 01:51:29 -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
3e6415e408 Bump date in README doc 2022-12-09 21:38:10 -08:00