Commit graph

807 commits

Author SHA1 Message Date
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
Christian Hammond
645e6b6eb1 Use the low quality versions of some things on the Nokia 770. Enable USE_HWSURFACE, and disable the Text tool, as it's essentially useless on this. 2006-01-08 02:44:23 +00:00
Christian Hammond
0a466d36af Commit the initial support for the Nokia 770. This does not include packaging (which should be done outside this tree, imho), and is not finished yet, but it works. 2006-01-08 02:16:29 +00:00
John Popplewell
40e907f6b3 Fix for isspace() on (some?) win98 installations. Stops crash when clicking on Stamps button. 2005-12-02 05:27:37 +00:00
Martin Fuhrer
1387f56e5e Changed font sizes for Mac-specific builds. 2005-11-30 03:54:08 +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
William Kendrick
8f93611954 Japanese font rendered incorrectly (SDL_ttf or FreeType bug???); increased
size to compensate.
2005-11-27 06:45:07 +00:00
William Kendrick
b3f7dfe862 Began work on shapes that pull out from the corner, rather than center;
incomplete, will wait for next version.
2005-11-26 00:43:36 +00:00
William Kendrick
444cdf2a34 Made UI fonts a little smaller. Adjusted position of icons and text
in tool buttons.
2005-11-26 00:25:34 +00:00
William Kendrick
0d0e0a7cb7 Made UI fonts smaller. 2005-11-26 00:13:18 +00:00
William Kendrick
d8f1564ecb Keeping thumbnails small in prompts; image thumbnails in Open's "Delete?"
prompt were too large on >640x480 screen sizes, pushing arrow & trash icons
out of the dialog window.

Wasn't correctly turning mouse to hand-shape when hovering over "no" button
in prompts.  Fixed.
2005-11-23 22:48:50 +00:00
William Kendrick
980715dea6 Mouse scroll wheel now scrolls in Open dialog.
Cursor was disappearing if at far left scrolling up in Open dialog. Fixed.
2005-11-23 22:25:41 +00:00
William Kendrick
6c67a6e8da Allowing middle/right-click on Print button even if nobuttondistinction isn't
set.  (Gets around Mac OS X causing [Alt]+click to appear as middle-click.)

Only allowing valid buttons (1, or 1,2,3 if nobuttondistinction is set)
when clicking thumbnails in Open dialog.  (Scrollwheel was acting as clicks!)
2005-11-23 22:14:58 +00:00