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
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
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
5b2debb4c7
Made font loading thread/fork interruptible via Escape key.
...
Improved cartoon effect.
2005-11-16 07:00:30 +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
John Popplewell
bbe6ddf81f
Added support for system and user configuration files on Windows. The
...
system 'tuxpaint.cfg' file is in the same directory as the executable, the
user 'tuxpaint.cfg' file is in the 'savedir' location e.g.
'C:\Documents and Settings\username\Application Data\TuxPaint'.
2005-11-08 03:14:59 +00:00
William Kendrick
9b5192ec4b
More tweaks to Cartoon effect.
2005-10-23 08:28:18 +00:00
William Kendrick
104fc0a9aa
Trying a newsprint effect in the "Cartoon" magic tool. Looks awful. :^/
2005-10-22 20:53:26 +00:00
William Kendrick
4b2b90ef1c
Stamp scaling is now controlled by a set of mini "slider"-like buttons.
...
(The "Shrink" and "Grow" buttons didn't give any feedback as to what the
current size was.)
2005-10-22 08:42:10 +00:00
William Kendrick
bb4f0efbbc
Sorting stamps directories again.
2005-10-22 07:42:34 +00:00
William Kendrick
9f7c7160fa
Got rid of unused variable (make compiler happy).
...
Reinstated some italics-related stuff. (Last SDL_ttf updated had to do
with corrupt memory when blitting italic; thought that could've caused probs.)
2005-10-22 07:30:08 +00:00
William Kendrick
83007087b0
Removed some debugging output.
...
Wrapped some debugging output in #ifdef DEBUG.
Cleaned up language of some debugging output. (Hey, it's a kids' program!)
2005-10-22 07:28:46 +00:00
William Kendrick
80334fae04
Temporary solution to crashing bug with --sysfonts: fail gracefully
...
(instead of "exit(42)"), and simply return to the previous tool.
2005-10-22 07:23:28 +00:00
William Kendrick
f6164dc9a4
Some debugging enabled.
...
Variable initialization.
Moved font thread startup back to whence it came... for now.
2005-10-22 06:05:44 +00:00
William Kendrick
ece68cbd42
Added some debugging output.
...
Switches cursor to 'watch' while dealing with system fonts.
ESCAPE during eat_sdl_events() no longer aborts app!
SDL_Quit() is called if app is quit during eat_sdl_events().
2005-10-15 08:04:11 +00:00
William Kendrick
9e8b176a47
Splash was set for a very long time, as a test. Reverting back to ~5sec.
2005-10-15 07:23:36 +00:00
William Kendrick
0cac60d300
No reason for font-loading thread to run if we're not running interactively!
2005-10-15 07:19:45 +00:00
William Kendrick
91cdab237a
Created 'release' Makefile target, which generates a .tar.gz.
...
Moved "VER_VERSION" to Makefile (where 'release' can pick it up),
and made "VER_DATE" a dynamically-generated Makefile variable.
2005-10-10 03:01:17 +00:00
William Kendrick
7e9bcce855
Noted that SDL large cursor on fullscreen bug is still around.
2005-10-09 21:03:27 +00:00
Karl Ove Hufthammer
81a80dd835
Improved splash screen.
2005-10-07 13:07:01 +00:00
William Kendrick
97122bb650
Splash screen scales to different window sizes.
2005-10-06 07:34:06 +00:00
William Kendrick
301c22dad7
Now defaults to 800x600 screen size.
2005-10-06 06:56:14 +00:00
William Kendrick
cfedd567df
Reduced number of warnings during compilation.
2005-10-06 06:46:47 +00:00
William Kendrick
78330e9ac0
Updated Japanese.
...
Fixed bug in language list that broke language support.
2005-10-06 06:17:17 +00:00
William Kendrick
6357df6d08
Added Mexican Spanish translation (via Linspire IRMA's Karla Uribe).
2005-10-02 21:44:19 +00:00
William Kendrick
a2b8ca5d3d
Made variable delcarations C90 compliant, so that older GCCs (e.g., on RH7)
...
can still compile Tux Paint.
2005-09-17 15:40:24 +00:00
John Popplewell
bcf9ac61c1
Added additional Windows-only search paths for stamps, fonts and brushes.
2005-09-16 00:52:24 +00:00
William Kendrick
4c61559aca
Added Ukrainian translation.
2005-09-13 03:01:25 +00:00
William Kendrick
49d4667bce
Made 'sysfonts' OFF by default.
2005-09-05 23:13:45 +00:00