Commit graph

82 commits

Author SHA1 Message Date
Bill Kendrick
39264d3545 More icon PNGs -> grayscale to address alpha issue 2022-09-02 02:26:57 -07:00
Bill Kendrick
366863fad3 Mend stamp Flip button image
Flip icon had been converted to an indexed PNG, which breaks alpha
blending in SDL, and hence made the icon not appear on the control button.
2022-09-02 01:59:45 -07:00
Bill Kendrick
11ca37c8b4 Replace some icon PNGs w/ un-interlaced versions
Avoid STDERR messages on launch:

  libpng warning: Interlace handling should be turned on when using png_read_image

(Except the fact that Tux Paint _itself_ saves drawings with
interlace enabled. :-/)

With this, closes https://sourceforge.net/p/tuxpaint/bugs/252/
2022-07-03 19:53:43 -07:00
Bill Kendrick
f56acbe34d Processed PNG images through pngout
Increase some compression

Also corrects some warnings being reported by libpng (via SDL_image);
h/t Tim Dickson, closes https://sourceforge.net/p/tuxpaint/bugs/252/
2022-07-03 17:45:21 -07: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
f787cb0f75 WIP Label "apply" option
Starting work towards
https://sourceforge.net/p/tuxpaint/feature-requests/213/

The ability to 'apply' a label to the canvas, making it permanent
(as if added using the "Text" tool instead).

Removed unused "label rotate" option's code (and hence addressed
a bug we didn't relalize when choosing the "Label" tool while in
in "--nostampcontrols" mode; the unused "rotate" button would appear).
2022-02-09 22:41:13 -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
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
Bill Kendrick
dcdebe9882 New Fill tool mode: Brush
Similar to solid fill (classic mode), but allows freehand
filling of an area.

Closes https://sourceforge.net/p/tuxpaint/feature-requests/207/
2021-10-19 00:26:26 -07:00
Bill Kendrick
2ee0080ffd Icons denoting animated/directional on brushes
Closes https://sourceforge.net/p/tuxpaint/bugs/183/
2021-09-05 23:16:20 -07:00
Bill Kendrick
c63b86c8fa Adding sub-tool support to Fill tool
Currently only one sub-tool (Solid) shown, as no code for new
tools has been added yet.  (Plans for linear & radial gradients.)
2021-02-20 16:42:35 -08: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
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
Bill Kendrick
b0a2b4dacc Completed single image export function
From "Open" dialog, select an image (single click, or use
arrow keys / etc., to highlight the image), then select the
"Export" button at the lower right.

The image will be saved in the export directory.  By default
this will be based on the config found via the XDG_CONFIG_HOME
environment variable, which is scanned for a "XDG_PICTURES_DIR"
setting.  If none is found, "Pictures" in the directory specified
by the HOME env. var. will be used.  In both cases, a new
"TuxPaint" subdirectory will be created, and exports will be placed
there.

The export location may be overridden using the "--exportdir"
command-line option or "exportdir" config file option
(e.g., "--exportdir /path/to/dir" or "exportdir=/path/to/dir",
respectively).  In this case, the directory is assumed to preexist,
and no "TuxPaint" subdirectory will be made.

There's currently no way to disable the export feature altogether.
If there's demand, we can add it as a simplification option.

Finally, this feature simply copies the PNG file (but no extra
data files) from Tux Paint's "saved" directory to the export dir.

Closes https://sourceforge.net/p/tuxpaint/feature-requests/192/
2020-07-26 14:10:03 -07:00
Bill Kendrick
8c3a07294b Beginning GIF export
Beginning addition of an option to export animated GIFs
from the Open -> Slideshow dialog, after choosing the images.

Non-operable at this time, but a button has been added (and will
provide a hint to select 2 or more images, when clicked).
2020-07-25 00:18:46 -07:00
Bill Kendrick
2911b35a50 Elevate "Fill" from Magic Tool to real Tool
Replace the somewhat-recently-added "nothing" item in the tool bar
with the "Fill" tool, which has been converted back from a Magic tool
to a regular tool.

Also, change bash "==" to sh "=" in "if [ ... ]" tests in Makefile.

Also, link to math library (via "-lm") to make sure "max()" is available to
magic tools.

Also, add missing mention of "--newcolorslast" and "--newcolorsfirst" to manpage.
2019-09-12 23:04:13 -07:00
Pere Pujal i Carabantes
071ccfb9d3 Improved icon for color selector. 2016-07-04 18:36:21 +00:00
Pere Pujal i Carabantes
54179955b6 Color selector to pick a color from the draw. 2016-06-14 22:18:01 +00:00
Pere Pujal i Carabantes
5b916a900b Icons for shape stars 2014-10-28 23:39:45 +00:00
Karl Ove Hufthammer
79f6325f7e Optimised PNG files using TruePNG and PNGZopfli. 2014-06-29 11:08:36 +00:00
Pere Pujal i Carabantes
1dbe751b4e Using PNGs as symbols in some onscreen keyboard keys. 2014-03-31 13:50:23 +00:00
Pere Pujal i Carabantes
010f81cca3 Showing the letters/symbols that will be produced in the onscreen keyboard. 2011-11-09 12:23:39 +00:00
Pere Pujal i Carabantes
ca6d9ce760 Buttons to change the onscreen keyboard layout now are purple. 2011-09-05 23:11:09 +00:00
William Kendrick
20f6c8165d Left/Right Stamp navigation buttons are purple, like the other (up/down) scroll buttons found in Tux Paint. (SourceForge Bug #2918289) 2011-04-27 20:38:24 +00:00
Pere Pujal i Carabantes
ccc38f6c96 Image needed by the onscreen keyboard. 2010-08-16 21:31:04 +00:00
William Kendrick
56205ba9c8 Inserting a dead tool button to get ones after Text and Label to line up nice.
Improved Label tool icon.
Improved Label tool "Select mode" button icon.
2009-10-10 06:54:37 +00:00
William Kendrick
a90f2548dc Initial integration of Bruno's Label tool, with tons of help from Pere. 2009-10-04 05:49:47 +00:00
William Kendrick
472692fbab Magic tools can now be both painted and full-image.
Negative tool now does this.
2008-07-09 02:46:54 +00:00
William Kendrick
aa902c36e3 Recreated "Tux Paint" title art using Inkscape (traced original bitmap).
Larger "Tux Paint" title art displayed on larger screens.
2008-02-26 06:02:52 +00:00
William Kendrick
10881623cf Added Octagon shape. (Also means shape tool selector needed to scroll
in 640x480, which has been done, too.)
2007-07-27 02:22:24 +00:00
William Kendrick
803c2f7d9b Adding color picker bitmap. 2007-07-25 06:12:27 +00:00
William Kendrick
183b751810 Added a 'color picker' entry to the color palette; allows choosing
from over 50,000 colors.  Used by drawing and Magic tools, as well
as the new 'New' dialog.
Documented Martin's Mac OS X printing update.
Improved colors in Starter browser buttons.
2007-07-25 06:11:46 +00:00
William Kendrick
74cdb0f66f Removing UI elements (sparkle now a brush, not Magic; blocks handled by Magic plugins). 2007-07-06 19:33:00 +00:00
William Kendrick
47e44cb80f Completed Negative Magic tool as a plugin (except sound).
Created Mirror and Flip Magic tools as plugins (except sound); hooks
added to Magic plugin API to allow starter and starter-undo mirror/flip.
Created Fade and Darken Magic tools as plugins.
Moved magic tool sounds to 'magic'.
Added flip and mirror icons to main Tux Paint UI (used to share magic tools')
Created 'tp-magic-config.sh' to get CFLAGS for compiling magic tool plugins.
Improved magic tool plugin API.
Committed some documentation on magic tool plugin API.
2007-07-05 19:20:58 +00:00
William Kendrick
73fde83197 Magic icons moved to magic plugin folder. 2007-07-04 05:49:33 +00:00
William Kendrick
20a6120080 Added UI images for Stamp sfx buttons. 2007-06-07 23:50:52 +00:00
William Kendrick
176a8b0407 Created 'previous' and 'next' control button icons, for forthcoming stamp group UI. 2007-05-03 16:40:09 +00:00
William Kendrick
cf72e0759c New slideshow tool! ("Slides", available in "Open" dialog.)
(Select each image to play, in the order you want them, then click "Play".
Space, Enter, Right and mouseclicks advance manually.
Left goes to the previous image. Escape or "Back" button at lower right ends
playback.)
2006-08-27 22:14:52 +00:00
William Kendrick
51355bce43 Created skeleton of "Slides" slideshow image picker interface
(accessible via "Open").
2006-08-27 09:37:58 +00:00
William Kendrick
8834202c1b Altered SVG to try and prevent Gnome panel crashes.
(As per: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=349415 ; 2006/01/22)
2006-01-23 00:11:01 +00:00
John Popplewell
8f643692f5 Updated tuxpaint-installer icon/images 2005-11-23 02:21:32 +00:00
Karl Ove Hufthammer
94716c6d85 Optimised PNG files (losslessly, using optipng). 2005-10-07 13:53:16 +00:00
William Kendrick
97122bb650 Splash screen scales to different window sizes. 2005-10-06 07:34:06 +00:00
Albert Cahalan
a8fbdf503f add an image to replace missing ones, avoiding crashes when images do not load 2005-01-20 06:35:57 +00:00
Karl Ove Hufthammer
718e7c27b8 Removed some dirt on the right side of the image (visible in higher resolutions). 2005-01-16 15:29:43 +00:00
William Kendrick
36dec903db Created 'down arrow' for pop-up prompt windows. (Stop abusing 'shrink' tool
icon.)
2005-01-14 10:13:23 +00:00
William Kendrick
cdcb9627fe Adding mouse images. 2005-01-14 10:10:43 +00:00
William Kendrick
ecb05da4ea Adding icon for "Save Over?" prompt. 2005-01-09 13:15:17 +00:00