Commit graph

1074 commits

Author SHA1 Message Date
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
aee93b1713 tuxpaint-import shell script now examines Tux Paint's configuration
file (first in /usr/local/etc/tuxpaint, then /etc/tuxpaint, then $HOME)
for the window size settings and saved-file directory options
(rather than assuming a 640x480 screen and images saved in
$HOME/.tuxpaint/saved/).

Discovered (or assumed) window size and directory settings are shown
when tuxpaint-import is first run (even with no arguments).
2006-02-18 07:35:40 +00:00
William Kendrick
27c35cdf23 Made sure GPL notice was included in all other source files. 2006-02-18 07:07:47 +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
Jakub Friedl
79d8931484 Czech po file update. 2006-02-11 18:39:31 +00:00
William Kendrick
4a86ac0ef5 Updated Brazilian Portuguese. 2006-02-06 07:02:15 +00:00
William Kendrick
917d93f145 German update. 2006-02-04 04:57:56 +00:00
William Kendrick
838f128eac Updated Swedish, via Translation Project. 2006-02-04 04:42:50 +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
Ben Armstrong
9241a0f507 Fix single-quote at beginning of line (special column). 2006-01-10 19:14:10 +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
Karl Ove Hufthammer
b9fdccaf2c Updated Norwegian translations, and regenerated various translation files. 2006-01-04 22:22:54 +00:00
William Kendrick
0ed50904ab Updated POT. 2005-12-31 21:01:23 +00:00
William Kendrick
2081034a37 Added "for children" to the (English) 'generic name' for Tux Paint. 2005-12-31 20:58:05 +00:00
William Kendrick
1bc07e9811 Vietnamese updates. 2005-12-06 08:44:21 +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
William Kendrick
ed85a6c8f1 Added missing "--buttondistinction" command-line option.
Documented "no button distinction" feature in --usage and man page.
2005-11-23 21:48:16 +00:00
Song Huang
289f8b1fba refine the translation. 2005-11-22 14:16:19 +00:00
Song Huang
4d775b8ac0 refine the translation. 2005-11-22 14:13:58 +00:00
John Popplewell
972cbb525e Larger audio buffer size on Windows to stop clicks/pops/crackling. 2005-11-22 12:42:07 +00:00
William Kendrick
9a18224e21 Removed some unused variables. 2005-11-21 00:43:37 +00:00
William Kendrick
dfffbab70d Portuguese updates from Translation Project. 2005-11-21 00:40:16 +00:00
William Kendrick
5b2debb4c7 Made font loading thread/fork interruptible via Escape key.
Improved cartoon effect.
2005-11-16 07:00:30 +00:00
William Kendrick
c6728e08bf German update. New translator. 2005-11-14 08:04:53 +00:00
William Kendrick
688f4d24fb Added [Alt]+[S] key sequence to mute/unmute sound effects.
(Does not override "--nosound" option!)
2005-11-12 09:22:11 +00:00
William Kendrick
d5930c6874 Swedish update. 2005-11-09 11:01:59 +00:00