Commit graph

528 commits

Author SHA1 Message Date
William Kendrick
f506097ac7 Making strcasestr more friendly. 2006-10-12 07:33:53 +00:00
William Kendrick
b02f0c3b68 Bad logic; fixed. Korean-translated stamp descriptions appear to work! 2006-10-12 07:26:19 +00:00
William Kendrick
43ee22d6f0 Making sure default UI font is used for untranslated strings where
gettext() isn't being used -- stamp descriptions.
2006-10-12 07:18:34 +00:00
William Kendrick
022c6ae49c Making sure default UI font is used for untranslated strings.
(Hindi font, for example, didn't seem to have roman characters.)
2006-10-11 18:20:41 +00:00
William Kendrick
b49e484403 Added new draw_color() action that greys colors w/o disabling them.
Fixed bug where colors would be unavailable after returning from slideshow.
2006-10-10 07:22:19 +00:00
William Kendrick
a52c4c3fe0 Animated brushes can be randomized. Use "random" in its ".dat" file.
Made newly-animated spray brush random.
2006-09-28 07:51:15 +00:00
William Kendrick
d30e67594e 3-digit hexadecimal color defintions act like CSS (e.g., #FFF is #FFFFFF now, not #F0F0F0). 2006-09-11 08:25:24 +00:00
William Kendrick
dc459535a7 Colors may now be overridden using the "colorfile" option. 2006-09-10 03:44:38 +00:00
William Kendrick
4da9ae7c25 Color data is dynamically stored. This will allow loading from another source (e.g., a file). By default, copies what's compiled in via colors.h. 2006-09-10 02:05:19 +00:00
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