Commit graph

3342 commits

Author SHA1 Message Date
Bill Kendrick
b7e2aeca34 Remove printf() debugging left in fill.c 2021-03-08 01:39:47 -08:00
Bill Kendrick
f7e9fa2870 Fill antialiasing edges; Not perfect, but improved
Probably can still improve the ratio of
{old pixel's difference to initial color to be replaced}
to {new color being flood-filled}...
2021-03-08 01:36:07 -08:00
Bill Kendrick
866d5190bf Continuing to improve fill anti-aliasing 2021-03-08 01:18:00 -08:00
Bill Kendrick
3b5a0a1586 WIP: Fill tool improvement related to antialiasing
Fill tools do a better job at filling around
antialiased edges, and apply some blending.
(Blending does not yet occur with gradient tools.)
2021-03-07 01:00:53 -08:00
Bill Kendrick
f40dc07f37 Radial gradient fill improvement
Attempting to improve fading out to edges (so the
actual effect is more obvious).
2021-03-05 18:08:19 -08:00
Bill Kendrick
2b39f8cc03 Refresh docs 2021-03-05 10:18:32 -08:00
Bill Kendrick
3606e82cd5 Galician docs translation refresh
Should be complete! h/t Miguel Bouzada
2021-03-05 01:05:13 -08:00
Bill Kendrick
ddc972ddde Translated doc refresh; date format changes
h/t Shin-ichi for suggesting better localization method
2021-03-03 23:07:11 -08:00
Bill Kendrick
b55ea8cb33 Galician docs translation refresh 2021-03-03
h/t Miguel Bouzada
2021-03-03 22:42:21 -08:00
Bill Kendrick
6771f39908 Galician translation update 2021-03-03
h/t Miguel Bouzada
2021-03-03 22:31:00 -08:00
Bill Kendrick
b3c2f73c14 Mend unclosed </em> in Japanese README translation 2021-03-02 00:56:56 -08:00
Bill Kendrick
245539f293 Built Japanese doc translation 2021-03-02
Per https://sourceforge.net/p/tuxpaint/tuxpaint-docs/ci/6196f1ed2b53f5903cda6221862c478223cfe4fe/
2021-03-02 00:51:03 -08:00
Bill Kendrick
39cfa8d6fb Update Makefile to build in ja_JP.UTF_8 not ja 2021-03-02 00:48:36 -08:00
Bill Kendrick
8225ea3762 Renaming doc/ja to doc/ja_JP.UTF-8
In preparation for pulling in Shin-Ichi's translation.
2021-03-02 00:43:34 -08:00
Bill Kendrick
76cb1c5446 Linear gradient fill mode 2021-02-20 21:35:46 -08:00
Bill Kendrick
0dfe96f291 Fill tool docs & ensuring PO translations
And also grabbing txt versions of recent fr_FR updates.
2021-02-20 20:40:58 -08:00
Bill Kendrick
058191bd04 Radial gradient fill tool added
Note: Need to add to docs.
2021-02-20 18:08:06 -08:00
Bill Kendrick
ecf6953f5f French docs update (2021-02-19 commit)
h/t Jacques Chion
2021-02-20 17:22:19 -08:00
Bill Kendrick
c63b86c8fa Adding sub-tool support to Fill tool
Currently only one sub-tool (Solid) shown, as no code for new
tools has been added yet.  (Plans for linear & radial gradients.)
2021-02-20 16:42:35 -08: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
a8a4001fe9 Squelch some debugging printf() ("most ...") 2021-02-20 15:27:10 -08:00
Bill Kendrick
7cd547e746 "xorpixel()" function added to Magic Tools API 2021-02-20 15:19:40 -08:00
Bill Kendrick
d588e5d214 Halftone magic tool wasn't loading...
... due to a problem with its sound effect file.
2021-02-20 15:14:31 -08:00
Bill Kendrick
5208b8ac6d Merge branch 'master' of ssh://git.code.sf.net/p/tuxpaint/tuxpaint 2021-02-15 23:20:20 -08:00
Bill Kendrick
67b05a0579 Slight cleanup of blind.c; new Checkerboard tool
Use enums everywhere; credits/copyright clean-up.
2021-02-15 23:19:21 -08:00
Bill Kendrick
79a75dbd1e Slight cleanup of blind.c
Use enums everywhere; credits/copyright clean-up.
2021-02-15 22:06:29 -08:00
Bill Kendrick
5fa952c460 French docs update 2021-02-14 2021-02-14 00:58:21 -08:00
Bill Kendrick
e932f72974 Regenerated French docs 2021-02-12
Jacques Chion in tuxpaint-docs: Beginning translation
2021-02-12 09:34:47 -08:00
Bill Kendrick
ab8a170839 Changing clone tool to a sheep
...because the first mammal cloned from an adult somatic cell was
Dolly the sheep (1996).
2021-02-11 00:10:43 -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
5f7a1c68e6 Rebuilt Galician translation of docs 2021-02-10 2021-02-10 23:28:15 -08:00
Bill Kendrick
b6297e2f5d Updating RELEASE.txt per new tuxpaint-docs repo 2021-02-05 18:19:09 -08:00
Bill Kendrick
852ec5a0c9 Noting that colorsrows can only be between 1 & 3 2021-02-05 18:05:25 -08:00
Bill Kendrick
85356473e4 Doc'ing new "colorsrows" option
In manpage, and (via 'tuxpaint-docs' update) in OPTIONS docs.
Also, added a bash tab-completion entry for it.
(h/t Pere for enabling the feature.)
2021-02-05 17:56:20 -08:00
Bill Kendrick
fde5ab0966 Doc'ing gl translation of docs in CHANGES 2021-02-05 16:13:23 -08:00
Bill Kendrick
82ea621acf Committing re-/new-translation of docs to Galician
Miguel Anxo Bouzada
2021-02-05 16:12:13 -08:00
Bill Kendrick
cb50065919 Mend a few minor issues 2021-02-05 16:10:53 -08:00
Bill Kendrick
d43323be64 Rename docs/gl to docs/gl_ES.UTF-8; preparing
Fresh translations being worked on via new tuxpaint-docs system.
2021-02-05 16:01:08 -08:00
Pere Pujal i Carabantes
43d4f8b494 Activating the ability to have more than one colors row.
Usefull for people with coarse input devices that need bigger buttons but got color buttons too narrow.
Just added the option, all the support code where already in place.
2021-02-05 22:14:39 +01:00
Bill Kendrick
81ef0aa10b Replaced Spanish w/ new content from tuxpaint-docs
Some already-translated (but very out-of-date) content
has been replaced with not-yet-translated (i.e., English) content.

Translators may want to look at the previous revisions of these
files when translating the new 'tuxpaint-docs' gettext catalog.
Sorry to cause extra work here, if I've done so.
2021-02-05 00:54:42 -08:00
Bill Kendrick
54b59c96c8 Renaming Spanish doc filenames
For simplicity, sticking to English in the filenames for now,
sorry!  (e.g., "LEEME" -> "README", and "OPCIONES" -> "OPTIONS")

We can consider a method of localizing the _filenames_ again,
if there's demand.
2021-02-05 00:50:42 -08:00
Bill Kendrick
5cb7d2c277 Replacing French w/ new content from tuxpaint-docs
Some already-translated (but very out-of-date) content
has been replaced with not-yet-translated (i.e., English) content.

Translators may want to look at the previous revisions of these
files when translating the new 'tuxpaint-docs' gettext catalog.
Sorry to cause extra work here, if I've done so.
2021-02-05 00:47:45 -08:00
Bill Kendrick
72019b15d1 Pulling in initial English from tuxpaint-docs
Documentation is now maintained in a separate source repository,
'tuxpaint-docs', which allows for easier and more consisten
translation of the documentation.  Pulling in initial version of
these docs, which contain a variety of minor updates (and also a
few which had previously only been available as plain TXT are now
available as HTML).

Pulling in the English stuff.
2021-02-05 00:40:17 -08:00
Bill Kendrick
9dd4dcf4aa Renaming Spanish/Fresh doc dirs to match newstyle
About to drop in generated docs from the new 'tuxpaint-docs' repository.

As the directories will have more explicit names (e.g., "fr_FR.UTF-8"
rather than just "fr") and Spanish ("es") and French ("fr") already
exist (though they are very basic samples, 99+% untranslated so far),
renaming the current directories to match.
2021-02-05 00:29:46 -08:00
Bill Kendrick
19e5e735cc Scale brushes when rendering in buttos
Allows for larger brushes without UI bugs, but more importantly,
smaller buttons (via --buttonsize less than "48") without UI bugs.
2021-01-27 00:13:42 -08:00
Bill Kendrick
73eef80068 Avoid using HUGE font for button labels
They were rendering very large, and shorter strings were
being shrunk down less horizontally, so appearing stretched out
(and touching the edges of the button needlessly).
2021-01-26 23:33:45 -08:00
Bill Kendrick
3ebb76e7bb Mend backward logic in font picking for buttons
Was choosing largest font (and scaling down) for medium-sized
buttons, and medium font for large-sized buttons.
2021-01-26 23:10:05 -08:00
Bill Kendrick
726aa0897e Disallow window+button size cause overlap in Open
Need room for 3 buttons on left and right, with scroll-down
arrow in the middle.  (Helps both Open and Open->Slides dialogs.)
2021-01-26 23:00:27 -08:00
Bill Kendrick
4d9bd3945d Ensure buttonsize + window size sufficiently tall
Need space for 5 buttons' worth of height, for situations such as

 * Stamps
   1. up/down scroll arrows (1 button height, total)
   2. actually show some stamps
   3. left/right paging buttons
   4. flip/mirror toggles
   5. scale 'slider'

 * Label
   1. up/down scroll arrows (1 button height, total)
   2. actually show some fonts
   3. label picker button
   4. bold/italic toggles
   5. shrink/grow font size buttons
2021-01-26 22:47:36 -08:00
Pere Pujal i Carabantes
41e4e80e4b Bottom scroll button, set arrow cursor when scrolling by clicking button. 2021-01-26 23:49:54 +01:00