Commit graph

1530 commits

Author SHA1 Message Date
Pere Pujal i Carabantes
63fbd45cd1 Merge branch 'master' into sdl2.0 2022-02-13 01:44:39 +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
Bill Kendrick
0a8f18050c WIP Starting to make a color mixer tool
Also, modularize color picker's & color selector's method of
generating a fresh version of their active/inactive buttons,
after a color has been chosen by their tool.
2022-02-11 00:07:15 +01:00
Bill Kendrick
ad5ab713dd Syncing docs, re: pipette shortcut (Ctrl+Click) 2022-02-10 23:45:48 +01:00
Bill Kendrick
3b4d2fc8f2 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-02-10 23:42:23 +01:00
Bill Kendrick
076b15fd20 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-02-01 00:36:11 +01:00
Bill Kendrick
a927f7287b Show "pipette"-shaped pointer when selecting colors 2022-02-01 00:32:26 +01:00
Bill Kendrick
20c0db88c3 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-02-01 00:31:59 +01:00
Pere Pujal i Carabantes
c49d2a6f68 Step 2 of Merge branch 'master' into sdl2.0 2022-02-01 00:19:27 +01:00
Bill Kendrick
c1a5ca7fb8 New Magic tool: "Tile Zoom" 2022-01-30 02:23:01 -08:00
Pere Pujal i Carabantes
4107ae3ecd Step 1 of Merging branch 'master' into sdl2.0 in a try to minimize conflicts 2022-01-28 22:50:04 +01:00
Bill Kendrick
c50fddd604 Color mixer: Undo/Redo seems to be working! 2022-01-28 01:32:29 -08:00
Bill Kendrick
3e28289db2 Color mixer: WIP: Undo/Redo feature 2022-01-28 00:55:23 -08:00
Bill Kendrick
793ee8fd50 Color mixer working okay now!
I'd like to add undo/redo, and the trash button needs a label,
but it's usable!
2022-01-27 02:39:46 -08:00
Bill Kendrick
92499d9a70 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-01-27 00:08:56 -08:00
Bill Kendrick
db7a8c0124 WIP Starting to make a color mixer tool
Also, modularize color picker's & color selector's method of
generating a fresh version of their active/inactive buttons,
after a color has been chosen by their tool.
2022-01-26 22:43:06 -08:00
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
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
16e7cb1f59 Showing aspect ratio of shapes when stretching them
...in the Tux tips area
2022-01-21 01:33:23 -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
e210f5592c Add "hexagon" to shapes tool
How'd we last so long without one!?
2022-01-21 00:01:50 -08:00
Pere Pujal i Carabantes
e9ebd54db9 Merging brush spacing work into sdl2.0 2022-01-20 21:33:57 +01: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
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
Bill Kendrick
95a6202b67 Tweak to CHANGES re: /VERYSILENT Windows install 2022-01-11 22:22:10 -08:00
dolphin6k
829263840d Documented the change of Windows installer. 2022-01-11 21:27:39 +09:00
dolphin6k
bb7d51d31a Documented changes for the windows installer. 2022-01-11 19:04:43 +09:00
Pere Pujal i Carabantes
7e9990a6d6 Merge branch 'master' into sdl2.0 2021-12-10 11:29:59 +01:00
Bill Kendrick
78e0a4f08d Update src/po/check_translations.sh to work again 2021-12-02 00:30:03 -08:00
Bill Kendrick
200df10456 Albanian translation update
h/t Besnik Bleta
2021-12-01 23:52: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
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
Pere Pujal i Carabantes
fa071f85b8 Merge master 0.9.27 commit into sdl2.0 2021-11-25 20:03:30 +01:00