Commit graph

4680 commits

Author SHA1 Message Date
Bill Kendrick
fcb392aec3 Re-sync docs to get updated INSTALL (Haiku + more) 2023-05-07 01:06:36 -07:00
Bill Kendrick
b89bc3644b Sync docs to grab WIP Haiku install docs
Will format them nicely later.  h/t Luc.
2023-05-06 18:48:58 -07:00
Bill Kendrick
7247d58f09 Sync docs to catch updated revision dates 2023-05-05 00:35:02 -07:00
Bill Kendrick
c22a328a4e Final Magic tool example screenshots ("Artistic" group) 2023-05-05 00:29:27 -07:00
Bill Kendrick
b4edefa64b More Magic tool example screenshots ("Pict. Decorations" group) 2023-05-05 00:20:08 -07:00
Bill Kendrick
a162802af8 More Magic tool example screenshots ("Pattern Painting" group) 2023-05-05 00:15:31 -07:00
Bill Kendrick
1dd21607fa More Magic tool example screenshots ("Painting" group) 2023-05-05 00:09:51 -07:00
Bill Kendrick
3ae4517a08 Mend compiler warning (don't cast ceil() to (int)) 2023-05-04 23:36:04 -07:00
Bill Kendrick
3f5bc2b554 thumbnail2() - ceil() the new_x & new_y calculations
I noticed that buttonsize=90 or =91 would end up with UI buttons
images ere one pixel smaller (89x89 or 90x90, respectively) than
expected, hence they layout would end up with one row and one
column of unused pixels between them.  Any button content (e.g.
stamp thumbnails) that might render into the full size would end
up leaving garbage pixels behind.

Applying ceil() to the new_x and new_y (but then making sure they do
not exceed the requested max_x and max_y) calculated sizes inside the
thumbnail2() function.  (We do not simply use max_x and max_y directly,
because we are usually trying to maintain the original image's aspect
ratio.)
2023-05-04 23:29:39 -07:00
Bill Kendrick
aa2235c8ba Reduce max button size; account for new stamp control row
...for rotation button added in 0.9.29
2023-05-04 22:43:59 -07:00
dolphin6k
11b6dc1b27 Updated Japanese
Many magic label to be word-wrapped
2023-05-04 09:05:21 +09:00
Pere Pujal i Carabantes
3743a15673 printf -> DEBUG_PRINTF Shapes tool output filled my terminal. 2023-05-03 20:41:34 +02:00
Bill Kendrick
de7b8dd51b After Ctrl+click pipette, color selector showed old color
Was redrawing color toolbar _before_ changing the chosen color
to be the pipette tool.

Reproducing the bug - Select a built-in color, Ctrl+click in the canvas,
observe built-in color still appears chosen [the bug], paint with e.g.,
paint brush, observe it's using the correct, pipette-selected color,
not the one that appears chosen [this is correct].
2023-05-03 10:11:56 -07:00
Bill Kendrick
173ab9203a Magic docs: Picture Warps: Add screenshots 2023-05-03 00:19:57 -07:00
Bill Kendrick
8123ad03ed Doc'ing the WIP Magic tool doc screenshot update 2023-05-03 00:00:40 -07:00
Bill Kendrick
0d917ab89d Magic Tools docs: Color Filters: Example screenshots 2023-05-02 23:59:09 -07:00
Bill Kendrick
902bd1489f Regen Magic docs w/ screenshots moved
Also, mend glass_tile.png filename
2023-05-02 23:41:38 -07:00
Bill Kendrick
e8ca6118d6 Magic docs screenshots 2023-05-02 23:37:40 -07:00
Bill Kendrick
04c2d2569c Screenshots of many Magic tools
WIP...many more to go!
2023-05-02 23:35:40 -07:00
Bill Kendrick
40273cad23 Magic Blocks: example 2023-05-02 23:06:53 -07:00
Bill Kendrick
5f594d6929 Sync README: Magic sizing added in 0.9.30 note 2023-05-02 22:53:29 -07:00
Bill Kendrick
7cd85e5a5a Sync docs - README: Screenshot of Magic tool control buttons 2023-05-02 22:40:23 -07:00
Bill Kendrick
0b891ff4c6 Sync docs to grab Japanese updates
h/t Shin-ichi

Also, comment added to Makefile about how Japanese TXT alternatives
come out poor (due to lack of word-wrapping in many cases).
2023-05-02 22:26:32 -07:00
dolphin6k
d318a44a45 Updated Japanese 2023-05-03 11:47:24 +09:00
Bill Kendrick
e987371656 Sync Magic docs (grab feature capabilities) 2023-05-02 00:45:12 -07:00
Bill Kendrick
a10a756734 Syncing docs to grab Rainbow Cycle magic tool docs 2023-05-02 00:09:42 -07:00
Bill Kendrick
d6940cc8b8 New Magic tool: Rainbow Cycle
Changes colors each time you use it (similar to Rainbow and
Smooth Rainbow, but only changes between strokes).
2023-05-02 00:01:05 -07:00
Bill Kendrick
73de4a66c1 RELEASE: Add info about Softonic 2023-05-01 14:23:20 -07:00
Bill Kendrick
ef5d6ae751 Remove dangling func prototype
... anti_carriage_return() no longer exists, now that we don't
need it since we always require SDL2_Pango
2023-05-01 14:00:05 -07:00
Bill Kendrick
2327fc58e7 "rm -f" after failed starter/template thumbnail
If `convert` fails, and didn't generate a file at all, `make` would
abort due to `rm` being unable to delete the non-existent broken
thumbnail.  Using `rm -f` now, so it doesn't abort if the thumbnail
file didn't get created AT ALL.

h/t Luc
2023-05-01 13:56:43 -07:00
Bill Kendrick
fa9a0c5955 Blind: Drop fullscreen mode
h/t Pere
2023-04-30 22:58:45 -07:00
Bill Kendrick
e14992d8af Sync INSTALL docs: SDL2_Pango no longer optional 2023-04-30 16:23:17 -07:00
Bill Kendrick
cef773a694 Now REQUIRING SDL2_Pango; no NO_SDLPANGO option
Motivation - Without SDL2_Pango, languages like Japanese,
Arabic, and Thai do not render properly.  Currently, Debian
(and hence Ubuntu) do not have SDL2_Pango, so Tux Paint 0.9.28
is adversely affected.  Fedora DOES have SDL2_Pango, so works well.
This also allows us to delete a lot of ancient cruft code.

Closes https://sourceforge.net/p/tuxpaint/bugs/268/
h/t Pere

(INSTALL docs to be updated momentarily)
2023-04-30 16:10:29 -07:00
Bill Kendrick
1ee0af18f7 Doc'ing Japanese translation update 2023-04-30 00:27:37 -07:00
dolphin6k
84ba2e9665 Updated Japanese 2023-04-30 09:01:06 +09:00
Bill Kendrick
378b2acca6 Accept SDL_VIDEO_WINDOW_POS in --fullscreen too
This seems to allow me to specify which display (monitor) to make
Tux Paint appear on my two-monitor set-up (laptop + external monitor)!

Closes https://sourceforge.net/p/tuxpaint/bugs/277/
2023-04-28 00:13:32 -07:00
Bill Kendrick
3d1efe8661 Doc'ing Shaped Mosaic tweak 2023-04-27 23:54:12 -07:00
Bill Kendrick
08a3040111 Shaped Mosaic: Add some progressbar feedback 2023-04-27 23:53:16 -07:00
Bill Kendrick
98b22a7296 Call Magic tool's set_size() on mode switch
Some tools would get stuck unable to draw in MODE_PAINT mode,
when switching from MODE_FULLSCREEN.
2023-04-27 23:44:44 -07:00
Bill Kendrick
89a46feb58 More starters avoid smearing 2023-04-26 22:53:57 -07:00
Bill Kendrick
f25fc539bf Regen POT/POs after re-indenting tons of .c & .h files 2023-04-23 23:27:37 -07:00
Bill Kendrick
18f9cad6fe Adding "indent.sh" to re-indent code; ran it!!! 2023-04-23 23:26:00 -07:00
Bill Kendrick
16336cc854 Alien: Add a missing function prototype 2023-04-23 23:15:47 -07:00
Bill Kendrick
fe19ccc176 Toothpaste sfx: tighten
Clip out some of the quieter bits from the beginning of the sound.
2023-04-23 17:14:26 -07:00
Bill Kendrick
1670f3f1ee Pixels: Mend canvas update glitch 2023-04-23 17:11:45 -07:00
Bill Kendrick
966d840126 Block, Chalk, Drip: Support sizes (really, intensity) 2023-04-23 17:02:26 -07:00
Bill Kendrick
7ab630c914 Smudge & Wet Paint: Support sizes 2023-04-23 16:37:52 -07:00
Bill Kendrick
17b23e19d0 Halftone: Update for new plugin API
(No size support at this time.)
2023-04-23 16:17:00 -07:00
Bill Kendrick
a1d3202754 Wrap up Flower size support; new flower_base.png 2023-04-23 15:45:18 -07:00
Bill Kendrick
3c3ba9a3b8 Flower: Redraw "flower_leaf.png"; better stalk color 2023-04-23 15:16:01 -07:00