Commit graph

24 commits

Author SHA1 Message Date
Bill Kendrick
18f9cad6fe Adding "indent.sh" to re-indent code; ran it!!! 2023-04-23 23:26:00 -07:00
Bill Kendrick
9085328eb2 Mend stars breakage; clean up shapes.h 2023-04-09 22:52:25 -07:00
Bill Kendrick
649cde39ed Shapes: Octagon: Allow stretching
No real reason to lock to 1:1 aspect ratio; the others do not
(except circle and square).
2023-04-09 21:53:23 -07:00
Bill Kendrick
0517b4392c Update URL to https://tuxpaint.org/ everywhere
Also, add other social media accounts to list of places to
announce Tux Paint in RELEASE docs.

Also, list a ton more options missing from default example config file
"src/tuxpaint.conf"
2022-12-11 01:29:25 -08:00
Bill Kendrick
cc05925d9e Re-ran indent on all .c & .h source code files
Like so --
  find . -name "*.c" -or -name "*.h" -exec  indent -nbfda -npcs -npsl -bli0 --no-tabs {} \;

The `indent` invocation differs from the last one noted in
CHANGES.txt (from 2006!?), in that I've added "--no-tabs",
to ensure indents are all space-based.
2022-09-15 00:14:20 -07: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
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
8a97e83a7b Always show the appropriate tips for Fill/Shapes
Always show the appropriate instructions at the bottom when the
"Fill" (depends on which sub-tool chosen) and "Shapes" (depends
on whether "simpleshapes" option is set) tools are selected
(e.g., when returning from the "Open" dialog).

Closes https://sourceforge.net/p/tuxpaint/feature-requests/186/
2021-09-06 22:07:37 -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
4aabc2da43 indent some .h files
`indent shapes.h sounds.h tip_tux.h titles.h tools.h`, resulted
in some changes to shapes.h, sounds.h, and tools.h
2017-10-15 11:07:09 -07:00
Pere Pujal i Carabantes
a11ed9e4fe simplifying shapes stars text. 2015-03-14 21:46:45 +00:00
Pere Pujal i Carabantes
5b916a900b Icons for shape stars 2014-10-28 23:39:45 +00:00
Pere Pujal i Carabantes
bc1fe2d6fe Adding Star definitions to shapes. 2014-10-19 23:33:51 +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
21ea42f38f Attempting to debug/fix SDL_Pango stuff.
Added icon for Kalidescope magic tool.
Added Canada map starter.
Added Japan map starter.
Improved comments near gettext() calls to improve POT and PO files.
Regenerated PO files and POT file.
Added .cvsignore to make sure tp_magic_api.h (which is generated) isn't noticed.
2007-07-17 18:41:16 +00:00
William Kendrick
73b5ef324e Ran update-po.sh. 2007-07-05 06:05:58 +00:00
William Kendrick
7716a05281 Ran source code through "indent -nbfda -npcs -npsl -bli0". 2006-08-27 21:00:52 +00:00
William Kendrick
27c35cdf23 Made sure GPL notice was included in all other source files. 2006-02-18 07:07:47 +00:00
Mark K. Kim
8a896438a1 CVS Id tags added to several files for easier version tracking. 2005-11-27 08:09:37 +00:00
Karl Ove Hufthammer
177be1bbf4 Made shape definitions more correct. 2005-01-12 20:27:48 +00:00
Albert Cahalan
01acda723a get the math correct (rhombus is NOT a square turned on end) 2005-01-09 00:05:24 +00:00
Albert Cahalan
dc6ae1a5b8 use const keyword --> fewer warnings 2004-11-23 01:28:44 +00:00
William Kendrick
365fe3e5b6 Initial revision 2003-02-24 01:46:52 +00:00