Commit graph

3972 commits

Author SHA1 Message Date
Pere Pujal i Carabantes
c8963a3f1f Merge branch 'master' into sdl2.0 2022-03-04 23:23:54 +01:00
Bill Kendrick
9328dfcb79 Sync docs re: HSV color picker 2022-03-02 01:40:45 -08:00
Bill Kendrick
adec3666f0 Color picker -> Back; don't 'forget' old crosshair positions 2022-03-02 01:38:04 -08:00
Bill Kendrick
0c858122b5 Color picker now offers full HSV selection
Added a slider to choose value, which re-renders the rainbow-colored
box on the left (which now only displays hue/saturation).
2022-03-02 01:30:36 -08:00
Bill Kendrick
128f73f731 Refresh docs; grab Magic rainbow "see also"s 2022-03-01 01:12:37 -08:00
Bill Kendrick
cb4c0a9da4 Bring back missing Text/Label in README 2022-03-01 01:03:30 -08:00
Bill Kendrick
77e13d8d23 Sync up README with latest tweaks, 2022-03-01 2022-03-01 00:55:07 -08:00
Bill Kendrick
eab3e70843 Refresh DOCs 2022-02-27 2022-02-27 23:42:03 -08:00
Bill Kendrick
9ba8302ddb Regen docs
README format tweaks; also link to AUTHORS.txt at the top
2022-02-24 23:05:26 -08:00
Bill Kendrick
8f9b6f52a9 Regen README docs after formatting updates 2022-02-24 17:35:10 -08:00
Bill Kendrick
6e98230a33 Ensure color mixer works in New dialog
and sync README docs to capture that it, and rainbow palette,
may be used.
2022-02-23 23:22:59 -08:00
Bill Kendrick
ed30295004 Syncing docs to grab color mixer/etc. updates 2022-02-23 23:05:22 -08:00
Pere Pujal i Carabantes
a9661efe2b Merge branch 'master' into sdl2.0 2022-02-22 23:14:10 +01:00
Bill Kendrick
697253a4bd Fixed label position/render bug when selecting via keyboard
Bugfix: Positioning and rendering of labels selected for editing
via [Tab] cycling & the [Enter] key now works as expected.
2022-02-22 00:33:51 -08:00
Bill Kendrick
380e5455f9 Label->Apply->final label: Update screen correctly 2022-02-22 00:00:22 -08:00
Bill Kendrick
a095d89ff2 Updating README to capture Label doc updates 2022-02-21 23:38:56 -08:00
Bill Kendrick
3e385f6a68 More work on Label apply feature
h/t Pere for adding the missing pieces.

WIP b/c there's one minor side effect that needs addressing
(final label, highlighted red, does not lose its highlight)
2022-02-21 23:23:32 -08:00
Pere Pujal i Carabantes
27dd0f4db5 Merge branch 'master' into sdl2.0 2022-02-21 00:57:59 +01:00
Pere Pujal i Carabantes
b62a5f1094 Less flickering when selecting a label.
If you selected a label and the cursor was in another place, the label was displayed flashy in that another place.
2022-02-21 00:50:16 +01:00
Mark Kim
ef70ddada6 minor fixes for macOS
Minor fixes from merging the master (SDL1) branch:

- KMOD_META in SDL1 is KMOD_GUI in SDL2. Changed.
- loadfonts() requires additional arguments in the SDL2 branch. Added.
2022-02-19 11:47:12 -05:00
Pere Pujal i Carabantes
7b53d1583e Making Android compile again, a curly brace displaced and still some problem with labels in Android. 2022-02-19 00:04:00 +01:00
Pere Pujal i Carabantes
701e033a58 Merge branch 'master' into sdl2.0 2022-02-18 22:31:59 +01:00
Bill Kendrick
5c2bcd44a2 OSK: Reposition if cursor overlap zone via [Enter]
Onscreen keyboard repositions itself to the top if you use [Enter]
to move the cursor down, and it begins overlapping the keyboard.

Also, play "carriage return" sound effect, even when entering
a blank 'line' of text.
2022-02-17 22:19:57 -08:00
Bill Kendrick
dfb36d7ef8 Mend OSK sizing bug in SDL 2.0 branch
s/screen/canvas/ in calls to osk_create()
2022-02-17 22:05:48 -08:00
Pere Pujal i Carabantes
b7414433cb Merge branch 'master' into sdl2.0
Catching up with latest devel
Still things to solve/do:
Apply label seems to not work, neither in master
Onscreen keyboard size doesn't perform as in master
Test on other OSs, Windows, Android, ...
2022-02-18 00:29:40 +01:00
Pere Pujal i Carabantes
eb7f55e289 Merge branch 'master' into sdl2.0
Some things are still WIP, they need to be tested and addressed later.
2022-02-17 23:57:28 +01:00
Bill Kendrick
278513979a Compress doc JPEG images 2022-02-16 14:02:03 -08:00
Bill Kendrick
a304460d6d Compressed PNGs in docs folder
Used `pngout`
2022-02-16 01:48:30 -08:00
Bill Kendrick
9702fcae1b Icelandic update
h/t Sveinn í Felli
2022-02-14 23:43:30 -08:00
Mark Kim
c126eb92b5 macOS fix for backspace in text/label tools in some languages
Fixed the issue with the backspace not working in text and label tools
when in certain language modes in macOS.  Mac keyboards have the DELETE
key where PC keyboards have the BACKSPACE key, and the two keys have
different keycodes, so the backspace requires special handling on the
macOS in programs writtens for the PC.
2022-02-13 17:16:12 -05:00
dolphin6k
3d4dd494b5 WIN32: Use WideCharToMultiByte() insted of iconv() for label embeddiing. 2022-02-13 18:51:08 +09:00
Bill Kendrick
afc76bc20a Refreshed zh_TW subset font based on current PO files
It had been ~14 years!
2022-02-13 01:34:47 -08:00
Bill Kendrick
e31f4991d9 Update helper script for zh_TW font regen. 2022-02-13 01:30:36 -08:00
Bill Kendrick
0c6c5fd4b9 Doc'ing Santali translation update 2022-02-12 22:30:01 -08:00
b'William Kendrick
04aae49077 Merge /u/prasantahembram/tuxpaint12/ branch master into master
https://sourceforge.net/p/tuxpaint/tuxpaint/merge-requests/11/
2022-02-13 06:27:22 +00:00
Mark Kim
d47ed30f5c Document the macOS fonts search path addition 2022-02-12 22:16:17 -05:00
Mark Kim
671fba1b44 Merge branch 'master' of ssh://git.code.sf.net/p/tuxpaint/tuxpaint 2022-02-12 22:14:38 -05:00
Mark Kim
2cc4217a0c macOS check for locale fonts in Tux Paint system preferences location 2022-02-12 22:13:26 -05:00
Mark Kim
cf06258947 Fix recent macOS changes to be macOS 10.10 compatible
* macOS language detection has been updated to be backward compatible to macOS
  10.10 Yosemite.

It appears older version(s?) of macOS can just return "en" instead of "en-US"
when queried for the preferred locale.  Updated code to account for this.
2022-02-12 22:03:12 -05:00
Pere Pujal i Carabantes
63fbd45cd1 Merge branch 'master' into sdl2.0 2022-02-13 01:44:39 +01:00
dolphin6k
f4cc875861 Finally fixed space bug with labels on windows correctly 2022-02-12 10:20:18 +09:00
dolphin6k
599e616d13 Fixed space bug with labels also on windows. 2022-02-11 23:26:58 +09:00
prasantahembram
4810d41be7 Added Santali translation. 2022-02-11 18:46:46 +05:30
Bill Kendrick
851f5ffbb7 Win32, loading Label text from drawings: Avoid leak
Avoid leaking memory when loading Label text strings from a saved drawing.

Also, a heck of a lot of comments to explain (as best I understand)
what load_info_about_label_surface() is doing.
2022-02-11 01:18:51 -08:00
dolphin6k
907c739679 Removed mtw() for windows.
Instead, defined windows native functions for mbstowcs()/wcstombs().
2022-02-11 09:40:59 +09:00
dolphin6k
7305768d38 Revert "Removed "#ifdef WIN32" block around label embedding."
This reverts commit c0da1f0e94.
2022-02-11 08:52:37 +09:00
dolphin6k
c0da1f0e94 Removed "#ifdef WIN32" block around label embedding.
It has likely become unneccessary by recent fix for the common part.

Also backported a fix for uppercase issue from sdl2.0 branch (Define Windows native
function for mbstowcs/wcstombs).
2022-02-11 08:33:29 +09:00
Pere Pujal i Carabantes
18c6835a2d Adapting latest cherry-pick to SDL2. I am later 2022-02-11 00:28:11 +01:00
Bill Kendrick
dc6a7f2244 Color mixer working okay now!
I'd like to add undo/redo, and the trash button needs a label,
but it's usable!
2022-02-11 00:09:08 +01:00
Bill Kendrick
59965e83fe WIP More work on color mixer
Tweaks to icon. Further modularized how color button rendering works,
so it can handle selector (pipette) and mixer overlay icons.
Mixer function is basically identical to color picker (rainbow palette)
as a placeholder. WORK IN PROGRESS.
2022-02-11 00:08:45 +01:00