Commit graph

2792 commits

Author SHA1 Message Date
Pere Pujal i Carabantes
aae22f0593 Correcting Devaganari to Devanagari 2020-11-06 21:47:42 +01:00
Pere Pujal i Carabantes
f9db53fe19 Correcting Devaganari to Devanagari 2020-11-05 03:38:42 +01:00
Pere Pujal i Carabantes
f8179faa0f Adding Sardinian translation. 2020-10-29 20:43:30 +01:00
Pere Pujal i Carabantes
ba26daa6c6 Adding Sardinian translation. 2020-10-29 20:35:44 +01:00
Pere Pujal i Carabantes
63e060afa3 Merge branch 'master' into sdl2.0 2020-10-28 17:03:05 +01:00
prasantahembram
5bd27953e5 Signed-off-by: prasantahembram <prasantahembram720@gmail.com> 2020-10-25 16:18:30 +05:30
prasantahembram
55eb44df76 Fixed some spelling mistake in Santali Language Ol Chiki.
Signed-off-by: prasantahembram <prasantahembram720@gmail.com>
2020-10-25 15:51:20 +05:30
prasantahembram
4c80d9d0cc Signed-off-by: prasantahembram <prasantahembram720@gmail.com> 2020-10-25 15:45:23 +05:30
dolphin6k
b7c312ed5e Re-enable scripted dll install (Sorry, pushed wrong file before) 2020-10-18 21:50:20 +09:00
dolphin6k
e260456270 Re-enabled scripted dll install 2020-10-18 21:22:52 +09:00
Bill Kendrick
f024a95a96 Avoid bogusly trying to mkdir sysdir in savedir
While we weren't attempting to save thumbnail PNG files of the
starter and templates that are scanned in the system-wide Tux Paint
directory, we WERE trying to incorrectly `mkdir` such directories
within the user's personal directory.
(e.g., "/home/kendrick/.tuxpaint//usr/local/share/tuxpaint/templates")

Mended.
2020-10-15 22:33:03 -07:00
Pere Pujal i Carabantes
8c8852c8db More on scaling the size of buttons. Also in dialogs like Open, color picker... 2020-10-15 04:19:06 +02:00
dolphin6k
18912ee8ea Find required dlls from .exe files. 2020-10-15 10:53:59 +09:00
Pere Pujal i Carabantes
7121c75c78 Option 'buttonsize' to change the size of the buttons. 2020-09-28 13:35:18 +02:00
Pere Pujal i Carabantes
82881a65f4 Not resizing buttons if not needed. First letters of text were under resized stamp sound buttons. 2020-09-25 08:58:23 +02:00
Bill Kendrick
860f43ff97 Galician translation updates
From Miguel Bouzada.
2020-09-16 22:29:20 -07:00
Pere Pujal i Carabantes
8a6ecec9ec Big changes to allow resizing the buttons of the interface.
Still to do:
Let the user choose the size of the buttons via config file and command line
Investigate why some of the magic icons displays all black.
2020-09-11 01:17:43 +02:00
Bill Kendrick
40033c7632 Shapes rotation improvement with centered too
Avoid shapes flipping upside-down during rotation step,
when stretching from right-to-left -- also when using the
original, center-based shape stretching mode.
2020-08-30 00:03:32 -07:00
Bill Kendrick
93f05af10d Ensure easy rotation of corner-stretched shapes
If corner-stretched shape is pulled to the left, make sure the
rotation step works properly.
2020-08-28 21:51:51 -07:00
Bill Kendrick
b88c8a9030 Refresh full canvas after drawing shape
Ensure that shape gets completely drawn and XOR outline gets
removed.
2020-08-28 21:27:04 -07:00
Bill Kendrick
8ef759a9a7 Keyboard max size didn't account for UI buttons
Keyboard's goal is to not be > 90% of the width of the drawing
canvas.  Was misinterpreting the incoming argument ('canvas'),
so have to account for the toolbar (left) and selector (right)
buttons in the UI.

So e.g., `tuxpaint --900x768 --onscreen-keyboard` will use the
small keyboard buttons, while `... --1024x768 ...` will use the large.
2020-08-25 22:09:02 -07:00
Bill Kendrick
61998e4d00 Larger OSK on larger windows; larger OSK font
On-screen keyboard (visible when the feature is enabled, while
using the "Text" and "Label" tools) now appears with larger
(48x48 pixel, vs 24x24 pixel) buttons, when Tux Paint's window
(or fullscreen) size is large enough to fit them with the
chosen layout.
(h/t Anat & Aviv, who suggested it to help with users of
eye-tracking systems)

Also, on-screen keyboard buttons use a slightly larger font
(16pt vs 12pt, previously seen on the small keyboard;
32pt on the large keyboard).
2020-08-25 22:00:43 -07:00
dolphin6
fef97c4a9f Updated Japanese translation 2020-08-19 21:40:52 +09:00
Pere Pujal i Carabantes
41bad90bb6 Merge branch 'master' into sdl2.0 2020-08-17 23:00:05 +02:00
Pere Pujal i Carabantes
726a6a8254 Updating catalan. 2020-08-17 22:46:55 +02:00
dolphin6k
921839cec4 Updated Japanese translation 2020-08-17 20:29:59 +09:00
dolphin6k
a2822142e6 Ooops! Mistook the logic for using result from liq_quantize_image() 2020-08-17 17:29:00 +09:00
dolphin6k
bfaca2c2cf Compile on libimagequant older than version 2.8.0 2020-08-17 17:20:05 +09:00
Bill Kendrick
d248c61498 Galician & Icelandic updates
After new corner vs center Shapes feature.
2020-08-16 13:54:52 -07:00
Bill Kendrick
0a853b280c "Eraser" tool now draws smoothly connected strokes 2020-08-16 12:31:53 -07:00
Bill Kendrick
a79a76f4c3 New, smaller sizes available in "Eraser" tool
(h/t Jackson Bray for the suggestion)

Also, slight improvements to how circular eraser size calculations
are handled, to allow for radius down to ERASER_MIN of 5.
2020-08-16 12:15:55 -07:00
Pere Pujal i Carabantes
2bc40bd9d0 Merge branch 'master' into sdl2.0 2020-08-16 11:36:52 +02:00
dolphin6k
31fa1af9a5 Get export directory for Windows 2020-08-16 17:00:58 +09:00
Bill Kendrick
bbf795209d POT/PO update after shape-from-corner feature 2020-08-15 16:43:02 -07:00
Bill Kendrick
d2d9b98291 Wrapping up "shapes from corner" option
Works well, or at least well enough, for our current batch of
shapes.
2020-08-15 16:20:51 -07:00
Bill Kendrick
f734d21fa4 Shapes from corner getting closer
Circle & ellipse working well.  Square and rectangle not, yet.
2020-08-15 15:08:19 -07:00
Bill Kendrick
c89daa1b37 Starting work to sort out corner-based shapes
Need to sleep on it and figure out the math.
2020-08-15 01:25:00 -07:00
Bill Kendrick
1bf15f2d27 Rename shape_*_x/y variables
Variables for pointer positions while drawing a shape were
center-centric ("shape_ctr_x/y" and "shape_outer_x/y").
Renamed them to be more general.
2020-08-15 00:58:44 -07:00
Bill Kendrick
2159f8616b WIP: Shape controls -- center vs corner
Adding control buttons to the Shapes tool, allowing for shapes
to be drawn from the center (as before) or from a corner
(more like other paint packages).  The controls do nothing
at this time, but are visible and can be clicked.  This is a
work in progress.

The controls may be removed using a configuration option.
2020-08-15 00:55:31 -07:00
Pere Pujal i Carabantes
436a535003 Merge branch 'master' with export features made by Bill and some updated translations into sdl2.0 2020-08-06 00:48:08 +02:00
Bill Kendrick
08b33d6d91 Icelandic translation update
h/t Sveinn í Felli
2020-07-31 21:44:48 -07:00
Bill Kendrick
f1f52da42d Galician translation update
h/t Miguel Bouzada
2020-07-30 23:39:29 -07:00
Bill Kendrick
c41395c091 Basque translation update
h/t Alexander Gabilondo
2020-07-30 23:34:28 -07:00
Bill Kendrick
5b55f7f2e3 Santali (Ol Chiki) update
Santali (Ol Chiki) translation update from new contributor
Prasanta Hembram.
2020-07-30 23:27:28 -07:00
Bill Kendrick
04d5ab3aeb Update POT & PO again (export feature done) 2020-07-29 23:01:55 -07:00
Bill Kendrick
c13c543cfe Wrap up GIF export; support speed
Different speed settings in slideshow dialog affect the speed
of the exported GIF.
2020-07-29 22:09:10 -07:00
Bill Kendrick
43edf9fe3e Animated GIF export basics working
Tux Paint can export an animated GIF to the export directory
(e.g., ~/Pictures/TuxPaint) from the Open->Slideshow dialog.

To do -- GIF's animated speed should be based on speed slider
in Slideshow dialog.

To do -- Document this new feature (and single image (PNG) export)
in the README documentation.
2020-07-27 00:29:53 -07:00
Bill Kendrick
4ba4c11911 Properly handling getenv() returning "" not NULL
i18n code was checking for local-related environment variables
(e.g., "getenv("LANGUAGE")") coming back as a NULL if unset.

However, on my laptop, under Kubuntu 20.04 with GLIBC 2.31, a
"LANGUAGE" env. var. is set, but it's blank.

Tux Paint failed to attempt any fallback (e.g., checking "LANG")
in that situation, which was causing the description text corruption
that was corrected in a previous commit.

That commit also mistakenly suggested that the issue might've been a
difference with GCC versions, but the problem was deeper in Tux Paint's
code (in i18n.c), and was triggered by an unexpected environment.
2020-07-26 17:17:14 -07:00
Bill Kendrick
ac755bf26c Removing loaddesc() debugging
Things look fine here. Not actually finding languages in i18n,
it seems!
2020-07-26 16:52:05 -07:00
Bill Kendrick
42512a67b0 Don't use extern for num_wished_langs
WORK IN PROGRESS -- Attempting to mend an issue where stamp descriptions
are not loading.

Also, making things safer when a problem occurs.

Using gcc 9.3.0 compiler, this was happening in 0.9.25 during
development, but also affected 0.9.24 and 0.9.23, which worked
fine under earlier versions of gcc.
2020-07-26 16:42:12 -07:00