WIP - Text/Label tools: Ability to paste text clipboard

Lots still to do, but the basic functionality is there
(thanks to SDL2's clipboard functions).

For https://sourceforge.net/p/tuxpaint/feature-requests/95/
This commit is contained in:
Bill Kendrick 2024-12-20 00:45:39 -08:00
parent 199f11ce31
commit 4de111df25
2 changed files with 137 additions and 40 deletions

View file

@ -7,6 +7,18 @@ Various contributors (see below, and AUTHORS.txt)
https://tuxpaint.org/
2024.December.20 (0.9.35)
* Text & Label Tool Improvements:
-------------------------------
+ WIP It is now possible to paste text from the copy/paste clipboard
into Tux Paint. If text goes beyond the right of the canvas,
a new line is created. If text goes beyond the bottom of the
canvas, the text is truncated there.
- TODO: Add a "paste" button to the On Screen Keyboards
- TODO: Improve word-wrapping (word-based, not character)
- TODO: Mention the feature in documentation
Closes https://sourceforge.net/p/tuxpaint/feature-requests/95/
Bill Kendrick <bill@newbreedsoftware.com>
* Other Improvements:
-------------------
+ Improved color picker: better behavior when clicking/tapping and