Commit graph

3699 commits

Author SHA1 Message Date
Bill Kendrick
ed3baefc77 Syncing docs, re: pipette shortcut (Ctrl+Click) 2022-01-26 01:18:21 -08:00
Bill Kendrick
83d316a166 Ctrl+click to pick colors immediately
A keyboard shortcut is now available for picking colors from
the canvas more quickly.  Hold either (left or right) [Ctrl] key
while clicking, and the color selector option will appear.
Release the mouse button over a color on the canvas to choose it
(or outside the canvas to abort).
Closes https://sourceforge.net/p/tuxpaint/feature-requests/209/

Also,
 * Don't play 'bubble' paint sound when color picker or selector
   are aborted (e.g., via their "Back" buttons).
 * Replace many instances of "NUM_COLOR - 1" and "NUM_COLOR - 2"
   (which correspond to color chose via picker (palette) and
   selector (canvas), respectively) with #define's that
   represent them. (Avoid magic numbers.)
2022-01-26 01:07:11 -08:00
Bill Kendrick
269f0cfe3a Rigging up do_color_sel() to offer immediate mode
The pick-a-color-from-the-canvas color selection feature
(the option in the color palette showing a pipette icon)
has been extended to support an immediate mode (return on
"mouse-up" event, don't show a "Back" button, and don't animate
the appearance of the color dialog at the bottom),
which will be used by a forthcoming feature that will offer
a keyboard shortcut to bring up this color selection option.
2022-01-26 00:20:14 -08:00
Bill Kendrick
e0d7e0728b Show "pipette"-shaped pointer when selecting colors 2022-01-25 23:57:31 -08:00
Bill Kendrick
6735340566 Stamp performance improvements
+ Stamps are scaled before they are colorized or tinted,
   to increase performance.
 + The current stamp (in its current form: size, orientation,
   and color) is cached, so it may be applied to the canvas
   many times without having to re-render.
   (No longer scaling and tinting every time you click.)

Closes https://sourceforge.net/p/tuxpaint/bugs/147/
(h/t Andre Anckaert)
2022-01-25 22:21:55 -08:00
Bill Kendrick
3518433808 Better onscreen keyboard button sizing
No longer restricted to "the same as other UI buttons"
(e.g., 48x48 default) or "1/4th that size" (e.g., 24x24).
Will scale, allowing for larger buttons when appropriate.
h/t Anat Caspi for pointing out the continuing issue.

Closes https://sourceforge.net/p/tuxpaint/feature-requests/212/
2022-01-25 00:52:14 -08:00
Bill Kendrick
3b027b9a4c Sync INSTALL docs after Mark's macOS updates 2022-01-24 23:44:23 -08:00
Mark Kim
0175773efc macOS build tweaks
1. Building the DMG file now requires explicitly calling the 'make
   TuxPaint.dmg' target.

2. Messages output after completing a Makefile target has been
   customized on macOS.

The motivation here is Apple Silicon.  With the instruction of Apple
Silicon, the porting developer may need to sign the app bundle and/or
create the app bundle as universal before creating the DMG file, so the
Makefile no longer auto-creates the DMG file.  Instead, macOS-specific
messages have been added so the developer knows what to do next.
2022-01-22 14:46:34 -05:00
Bill Kendrick
a0231223d5 Doc sync to include macOS CMD (⌘) key support 2022-01-21 02:00:50 -08:00
Bill Kendrick
14dd0446cf Syncing INSTALL docs; grab Mark's macOS updates 2022-01-21 01:53:08 -08:00
Bill Kendrick
dffa3d8dd6 Sync docs to get Shapes aspect ratio text 2022-01-21 01:48:33 -08:00
Bill Kendrick
be7d33fa23 Mend broken star shape fill
Was missing some array elements (but no warnings!?)
h/t Shin-ichi for catching it
2022-01-21 01:38:25 -08:00
Bill Kendrick
251259ab13 PO/POT update after adding shape + aspect ratio tip 2022-01-21 01:33:45 -08:00
Bill Kendrick
16e7cb1f59 Showing aspect ratio of shapes when stretching them
...in the Tux tips area
2022-01-21 01:33:23 -08:00
Bill Kendrick
9f5769855b PO/POT update after adding heptagon 2022-01-21 00:34:33 -08:00
Bill Kendrick
71c2404838 Added heptagon (7-sided) shape
Also, using floats more, allowing for proper heptagon support, as
well as a non-skewed starting angle for octagons (22.5 degrees).
2022-01-21 00:34:10 -08:00
Bill Kendrick
1050e74336 PO/POT refresh after adding hexagon shape tool 2022-01-21 00:02:44 -08:00
Bill Kendrick
e210f5592c Add "hexagon" to shapes tool
How'd we last so long without one!?
2022-01-21 00:01:50 -08:00
Mark Kim
e5faf36d5d macOS script to build the universal app bundle.
1. Build TuxPaint.app on Intel macOS, rename it TuxPaint-x86_64.app.
2. Build TuxPaint.app on Apple Silicon macOS, rename it TuxPaint-arm64.app.
3. Copy TuxPaint-x86_64.app to the same directory as TuxPaint-arm64.app
   on the Apple Silicon macOS, then run:

     macos/build-universal.sh TuxPaint-x86_64.app TuxPaint-arm64.app

   ... to produce TuxPaint.app that's universal.
4. `make TuxPaint.dmg` to produce TuxPaint.dmg from the universal
   TuxPaint.app.
2022-01-20 21:28:59 -05:00
Mark Kim
c239e849cb Correct comment 2022-01-20 20:46:18 -05:00
Mark Kim
3b03467d62 On macOS use the CMD key wherever CTRL is used on other OS 2022-01-20 20:44:07 -05:00
Bill Kendrick
f078120108 Regen all docs after updating website URL 2022-01-20 00:36:40 -08:00
Bill Kendrick
32bcba3a92 Syncing docs to capture Brush Spacing info in README 2022-01-20 00:26:50 -08:00
Bill Kendrick
e8446d2902 Brush spacing controls work 2022-01-20 00:09:03 -08:00
Bill Kendrick
ccfe3bc074 FIXME about hand cursor over selector controls 2022-01-19 02:12:59 -08:00
Bill Kendrick
29eec0dcb7 Brush spacing ctrl proper position when no scrollbar
(e.g., when running in ~860px tall window with 32px buttonsize)
2022-01-19 02:04:47 -08:00
Bill Kendrick
145c35a95d Get brush selector down-scroll to grok brush spacing 2022-01-19 01:46:44 -08:00
Bill Kendrick
0b18aac985 Decided how brush spacing choice relates to spacing
Max option in the spacing widget will correspond to 2x the maximum
dimension of the brush.
2022-01-19 01:30:08 -08:00
Bill Kendrick
ce9e264713 Initial work to render brush spacing widget
Doesn't do anything yet, and click-detecting code is unaware of it
(so scrollbar click happens in the old location).  WIP! :-)
2022-01-19 00:38:03 -08:00
Bill Kendrick
176749ba9c Grok "[no]brushspacing" commandline/config option
For forthcoming feature
2022-01-19 00:29:05 -08:00
Bill Kendrick
e217094f78 Add some more default brush spacings
Closes https://sourceforge.net/p/tuxpaint/bugs/243/
2022-01-19 00:13:12 -08:00
Bill Kendrick
09f33f7035 Logging forthcoming brush spacing feature / defaults
(Marked as WIP, because nothing has been done to support it yet!)
Adding one new brush spacing.
2022-01-19 00:07:03 -08:00
Bill Kendrick
ddd3e737b9 Sync INSTALL after Mark's macOS updates 2022-01-19 00:01:52 -08:00
Bill Kendrick
774954f9fc Sync docs & update bash completion re: brushspacing 2022-01-19 00:00:57 -08:00
Bill Kendrick
e1a721fb9d Outline for circle-shaped erasers is now also circular
Closes https://sourceforge.net/p/tuxpaint/bugs/244/
2022-01-18 23:28:53 -08:00
Bill Kendrick
636a2fc911 Doc'ing recent tweaks by Mark & Shin-ichi 2022-01-18 22:52:29 -08:00
Mark Kim
e8bb5c80a6 Remove install stages not needed on macOS 2022-01-17 21:44:04 -05:00
Mark Kim
91c7b7357f Use character class in macOS build script
It appears \t is not compatible with certain versions of grep.
2022-01-16 22:26:01 -05:00
Bill Kendrick
95a6202b67 Tweak to CHANGES re: /VERYSILENT Windows install 2022-01-11 22:22:10 -08:00
dolphin6k
bb7d51d31a Documented changes for the windows installer. 2022-01-11 19:04:43 +09:00
dolphin6k
4a70b008c1 Do not show message box to confirm uninstallation of old install when /VERYSILENT switch specified. 2022-01-11 15:47:59 +09:00
dolphin6k
c67dfbc562 Fixed abnormal exit of threaded font scan which prevented enabling text/label tools on some environment such as Rocky Linux 8. 2021-12-22 22:24:53 +09:00
Bill Kendrick
78e0a4f08d Update src/po/check_translations.sh to work again 2021-12-02 00:30:03 -08:00
Bill Kendrick
ac6aee7a43 Update src/po/check_translations.sh to work again
Docs shuffled around & gettext'ing a string in Tux Paint Config.
changed, which caused it to not find things.
2021-12-02 00:28:26 -08:00
Bill Kendrick
200df10456 Albanian translation update
h/t Besnik Bleta
2021-12-01 23:52:12 -08:00
Bill Kendrick
d6792e97c1 Bump to 0.9.28 in Makefile! 2021-12-01 22:49:12 -08:00
Bill Kendrick
41a04d93b7 Bump version to 0.9.28 lots of other places
(Some doc-generation Makefiles need help, apparently.)
2021-12-01 22:42:38 -08:00
Bill Kendrick
0997078479 Bump version # to 0.9.28 in all Magic docs 2021-12-01 22:32:08 -08:00
Bill Kendrick
f21bdeb8fa Bump version to 0.9.28 in all docs 2021-12-01 22:29:12 -08:00
Bill Kendrick
1c61f1b7f8 Doc'ing Slovak l10n update & adding contributor
Welcome Jozef!

(Also bump project-id-version in sk.po)
2021-12-01 22:28:35 -08:00