Commit graph

819 commits

Author SHA1 Message Date
William Kendrick
4f902a3397 Added "startblank" option, to cause Tux Paint to always start with a blank canvas. 2006-09-09 21:50:52 +00:00
William Kendrick
ddf4738df2 Was always using the first brush when drawing shapes.
Now forcing it to always use "round_03.png", since brushes are
sorted alphabetically, and some new brushes appear before round ones!
2006-09-06 23:09:12 +00:00
William Kendrick
d08b50e36f If brush is too big, it would play an incorrect sound. Now clipping array index. 2006-09-05 18:15:09 +00:00
William Kendrick
5cfe84153c Improved spacing on squirrel brush.
Added spacing value to kuro neko brush.
Fixed bug with directional/animated brush display in toolbox.
Corrected counter bug when cycling animated brush frames.
2006-09-05 18:09:37 +00:00
William Kendrick
b5a3d6a6d8 Brushes can include spacing information.
Added an animated, directional, colored, spaced 'squirrel' brush, as an
example of all new brush features.
----------------------------------------------------------------------
2006-09-04 11:06:23 +00:00
William Kendrick
1f5665437e Brushes can include directional variations. (Implements RFE #1522694)
New brush: Angle Lines (directional)
2006-09-04 09:58:57 +00:00
William Kendrick
609a8d5104 Added support for animated brushes. 2006-09-04 06:26:12 +00:00
William Kendrick
44f0d728ed Beginning to add animated brushes. 2006-09-04 04:29:59 +00:00
William Kendrick
99b56759cf Was not looking in personal folder for starters (e.g., "~/.tuxpaint/starters/"
on Linux).  Fixed.  Adds a new boolean to the save image's ".dat" file,
denoting whether the starter is from the personal folder (1) or not
(0, or no data, as in prev. version).
2006-08-28 08:53:57 +00:00
William Kendrick
302223ce79 Forcing color toolbar to reappear after exiting slideshow. 2006-08-28 00:09:41 +00:00
William Kendrick
53ce047918 Added sliding scale for slideshow speed adjustement.
Note: Use slowest (leftmost) speed setting to disable automatic slide advancement.
2006-08-27 23:57:04 +00:00
William Kendrick
20f1da1afd Disabled some debugging noise. 2006-08-27 22:41:24 +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
7716a05281 Ran source code through "indent -nbfda -npcs -npsl -bli0". 2006-08-27 21:00: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
d12bef8753 Supporting both WAV and OGG for sound effects.
Supporting "_desc" and "_desc_ll" (localized) descriptive sound effects
(see recent Catalan OGGs added to tuxpaint-stamps!)
2006-08-26 23:45:29 +00:00
William Kendrick
e26fb7b879 Improved handling of scroll button state to prevent it from getting into
an infinite loop.  (Fixes bug #1396706)
2006-06-03 07:18:48 +00:00
William Kendrick
9fae1a8a25 Fixing bug #1480977: Defining _GNU_SOURCE before including any headers,
then checking if __USE_GNU was set, in which case strcasestr() is almost
definitely available, otherwise we define it in tuxpaint.c

For non-GNU systems which DO have strcasestr() defined, HAVE_STRCASESTR
can be set to prevent redefinition within tuxpaint.c.
2006-06-03 06:24:55 +00:00
William Kendrick
8edb9cdf0b Added Faroese translation.
Updated Vietnamese translation.
Added missing (newly-added) supported languages to OPTIONS docs.
2006-04-05 07:28:42 +00:00
William Kendrick
f9b5f0b4bf Began trying to describe "tinter" modes.
Noted tinter seems broken! (Always falls back to vector). Added debug printfs.
2006-03-12 22:55:22 +00:00
William Kendrick
dbd91a4029 Simplified stamp sound-loading logic. 2006-03-09 07:38:22 +00:00
Albert Cahalan
cdd121d5d2 less-taunting (and faster) sound choices 2006-02-26 02:34:45 +00:00
Karl Ove Hufthammer
6871a91561 Fixed punctuation. 2006-02-25 08:32:50 +00:00
William Kendrick
c544d42145 Added sound effect for grass magic tool.
Sound effects are now in stereo.
2006-02-20 09:54:51 +00:00
John Popplewell
2982961f38 Various fixes for win32, mostly as a result of the splits. 2006-02-20 04:12:27 +00:00
William Kendrick
50cd5c5240 Improved some dialogs and Yes/No prompts (as per SF.net RFE #1411205).
Updated POTFILES.in to include recently created (split-off) source files.
Regenerated "tuxpaint.pot".
2006-02-19 22:21:30 +00:00
William Kendrick
b9d287992d Tux Paint tries to open its window in the center. 2006-02-19 21:15:13 +00:00
William Kendrick
e964eb17a0 More splits from "tuxpaint.c":
+ "debug.h": Defines whether debugging printf() calls should be enabled.
  + "dirwalk.c/h": Callback functions for recursive directory traversal.
  + "fonts.c/h": Font loading/grouping/discarding variables and functions.
  + "get_fname.c/h": Functions for constructing preferred file paths.
2006-02-19 08:02:39 +00:00
William Kendrick
ce30f735f1 Moved some more compiler/OS-specific stuff to compiler.h 2006-02-19 06:22:26 +00:00
William Kendrick
fff8512815 Round erasers added. 2006-02-18 10:45:14 +00:00
William Kendrick
79141902ee Negative, Fade, Darken, Tint and Cartoon all now apply with a circular shape, rather than a square. 2006-02-18 09:53:02 +00:00
William Kendrick
7448cd879d Consolodating description of source extraction in CHANGES.txt.
Extracted do_floodfill, playsound, draw_progressbar and RGB-to-linear functions.
2006-02-18 09:32:12 +00:00
William Kendrick
a9511eda41 * Added comments/copyright/license-notes to top of compiler.h.
* Moved more compiler-specific stuff to compiler.h
2006-02-18 08:49:16 +00:00
William Kendrick
3b5f10c4fe Split out some compiler-version-specific definitions into "compiler.h".
Split out 'getpixel' and 'putpixel' family of functions into "pixels.c" and "pixels.h" source files.
2006-02-18 08:42:23 +00:00
William Kendrick
410c156d16 Split XBM cursor #includes and set/free functions into "cursor.h" and
"cursor.c" source files.
2006-02-18 08:14:52 +00:00
William Kendrick
2af7785454 Split language-related variables, enumerations, arrays and helper
functions in to "i18n.c" and "i18n.h" source files.
2006-02-18 06:54:50 +00:00
Albert Cahalan
983d273e95 document font stuff for translators 2006-02-15 08:45:16 +00:00
Albert Cahalan
3908b5c886 document font stuff for translators and make it a bit more powerful 2006-02-15 08:42:52 +00:00
William Kendrick
2f29e8aef1 Sparkles can now be different colors. 2006-02-13 08:18:53 +00:00
William Kendrick
445a32230d Increased magic surface update area to prevent clipping with Grass tool. 2006-02-13 07:58:53 +00:00
William Kendrick
e08837815a Logic was off by one! 2006-02-12 23:08:07 +00:00
William Kendrick
6cbf434429 Fixed crash when clicking to right of rightmost color. 2006-02-12 23:06:52 +00:00
William Kendrick
680a8c314f Properly handles a variety of PNG formats when loading Starter images
and turning them into thumbnails.  (Tested with indexed PNGs, and
PNGs where RGB colors were stored, even where pixels were
fully transparent.)
2006-01-30 01:24:50 +00:00
John Popplewell
c401d9ff3c Fix to remove the blinking text cursor. I may have missed some places. 2006-01-22 03:08:25 +00:00
John Popplewell
27f71ab1cc Fix for string length when mallocing space for copy. 2006-01-17 21:25:59 +00:00
John Popplewell
bdde218bfa Fix missing string copy in uppercase_w(). 2006-01-17 21:20:20 +00:00
William Kendrick
d6b2349f70 Hacking around troubles targetting Mac OS X 10.2.8 (not successful yet!) 2006-01-15 08:24:54 +00:00
William Kendrick
19743f3ec1 No "wcsdup()" in Mac OS X; replacing with malloc.
Testing for failed malloc.
2006-01-15 07:14:46 +00:00
Ben Armstrong
c3d4244b9e Made lock message clearer thanks to Ludovic Rousseau 2006-01-13 14:47:41 +00:00
John Popplewell
304f49672b Added GetSystemFontDir() and amended WIN32 code so that the system fonts
option work correctly on Windows.
Modified the text gadget so that it correctly handles the 16-bit unicode
characters that SDL sends. The text buffer is held internally as an array
of wchar_t, and makes uses of various wide-character functions.
It is converted back into 16-bit unicode characters to satisfy SDL_ttf.
Tested on Windows and Linux.
2006-01-11 23:23:34 +00:00