Commit graph

4392 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
94eed500f9 Stamp rotation step OFF by default 2023-02-19 01:43:19 -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
ee05855d50 Utilize stamp rotation control button! 2023-02-18 21:34:33 -08:00
Bill Kendrick
40e96b06b1 Merge branch 'master' of ssh://git.code.sf.net/p/tuxpaint/tuxpaint 2023-02-18 21:15:17 -08:00
Bill Kendrick
7a4ebb7795 Button for stamp rotation
(WIP)
2023-02-18 21:14:51 -08:00
dolphin6k
23b6dd3102 Updated Japanese 2023-02-19 11:38:46 +09:00
Bill Kendrick
06935cd9b6 Stamp rotation button: Make way 2023-02-18 17:22:22 -08:00
Bill Kendrick
97616a6852 Update POT/PO to grab updated stamp rotation tool tip 2023-02-18 14:25:17 -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
a4020ef8c5 Adding "rotate" icon to be used with Stamps tool
(WIP)
2023-02-18 14:08:38 -08:00
Bill Kendrick
1627e5a801 Stamp rotation: Show degrees as Tux tool tip 2023-02-18 14:01:21 -08:00
Bill Kendrick
6fd0517f1e Modifying stamp rotation process: easier 0 degree
Rotation off of zero (0) degrees only occurs when dragging outside
the bounding box (rectangle around the width/height) of the stamp.

No longer warping mouse to the right of the stamp, to cause it to
default to zero degrees.  (The mouse being at the center of the
stamp now causes this, per the above change.)

Motivation - Placing stamps on mobile (touchscreen) was difficult
and non-intuitive.  Now, you can at least double-tap the same
spot on the screen to position, and then place (without rotation)
the stamp.  It's still not perfect, and I think a UI option to
enable/disable stamp rotation (leaving it off by default) is needed.
2023-02-18 12:14:16 -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
e580ee279f Default scaling & gravity settings for shipped templates 2023-02-15 23:57:50 -08:00
Bill Kendrick
d164b7e297 Sync docs after more template/starters options work 2023-02-12 13:47:01 -08:00
Bill Kendrick
7e99b05510 Clean up more "unused variable" warnings 2023-02-12 13:25:59 -08: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
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
72914158dd Rocks template: bottom gravity 2023-02-12 10:50:26 -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
2066dc453e Googlyeyes: Different icon for small variation
h/t Pere
2023-02-11 21:33:57 -08:00
Bill Kendrick
03c57cc721 More WIP starter/template scaling
Need to actually scale, if we have no background.
2023-02-10 02:08:14 -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
102bb825aa Adding progressbar to the Rush magic tool. 2023-02-10 00:47:23 +01: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
319647a152 Docs: Magic: Flower: Mend typo 2023-02-08 12:10:42 -08: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
29d7d28614 Bloom: Show progress bar while working 2023-02-07 01:27:11 -08:00
Bill Kendrick
7d8cefe6d7 Sync'ing docs to get "Bloom" magic tool 2023-02-07 01:14:42 -08:00
Bill Kendrick
f4b8032d18 Magic Bloom: Descriptions & icon 2023-02-07 01:02:24 -08:00
Bill Kendrick
948158c1fd WIP "Bloom" magic effect. Mend crash in "perspective.c" 2023-02-06 02:22:21 -08:00
Bill Kendrick
65da4f4df4 Moving "Rivulet" magic src to a WIP subdir
Not ready for production.
2023-02-05 19:50:24 -08:00
Bill Kendrick
89b6df98a4 Maze magic: Increase iteration limit
h/t Pere
2023-02-05 00:06:37 -08:00
dolphin6k
254fe65b20 Updated Japanese for new magic tools 2023-02-04 12:24:40 +09:00
Pere Pujal i Carabantes
851ff2c884 Updating Catalan. 2023-01-30 13:41:19 +01: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
034cbf5b5a Refresh POT/PO for Circles, Rays, Fur magic tools 2023-01-29 21:55:29 -08:00
Bill Kendrick
0d8c69160d Adding Magic Fur docs 2023-01-29 21:54:26 -08:00
Bill Kendrick
2f8f52917c WIP Fur magic tool
Needs changelog, docs, authors, sound effect, icon.
2023-01-29 21:16:12 -08:00
Bill Kendrick
2a7b00da49 Circles/Rays magic: correct one-off bug in description arrays 2023-01-29 00:54:29 -08:00
Bill Kendrick
e8cd0fd726 Maze magic: Amplify sound effect 2023-01-28 23:25:02 -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