Commit graph

671 commits

Author SHA1 Message Date
William Kendrick
7a98f224fe Not calling magic_switchin() if we're about to quit... 2009-02-23 00:13:37 +00:00
William Kendrick
ded6cd0d29 Fixed palette offset bug introduced when moving white to beginning of
colors in "New" dialog. (AKA: I was only half done implementing it.)
Cleaned up and greyscaled a bunch of Magic Tool icons (for consistency).
2009-01-31 00:32:26 +00:00
William Kendrick
da7e52cd47 Shai Ayal says: "It looks like the line should be:
FriBidiCharType baseDir = FRIBIDI_TYPE_WL;
after compilation (on linux) it looks to be working -- both Latin and
Hebrew look right.
I think the "weak" baseDir means fribidi assumes a LTR paragraph
unless it's only RTL characters, in which case it assumes RTL
paragraph. So if writing in Latin only there should be no problems,
and if writing in Hebrew only, also no problems, and if mixing than
you get the behavior that current cvs has, which is also OK."
2009-01-14 19:09:45 +00:00
Karl Ove Hufthammer
0c16e08d96 Updated copyright year. 2009-01-02 11:50:10 +00:00
William Kendrick
a1e0cf75ba Preferred way of checking for FriBidi. 2009-01-02 09:24:05 +00:00
Karl Ove Hufthammer
05bfdd0b7c Use proper quotation marks. 2009-01-01 00:11:28 +00:00
William Kendrick
c349189b2c On systems that use postscript_print (Linux and other Unix-likes),
errors when attempting to issue a print command (e.g., trying to use
"lpr", but that command is not available) should appear in Tux Paint.
(SourceForge bug #2205528)
2008-12-07 09:03:40 +00:00
William Kendrick
05077e6907 Adding FriBidi support. 2008-12-04 00:14:02 +00:00
William Kendrick
d9068fe797 White appears first in New dialog. 2008-12-01 21:08:52 +00:00
William Kendrick
6d493bf958 Doing auto-starter-transparency more intelligently. 2008-10-27 07:13:24 +00:00
William Kendrick
91eeb8b700 Starter images no longer need to be created with alpha transparency.
Any solid white will be removed automatically by Tux Paint.
2008-10-27 07:07:35 +00:00
William Kendrick
34b41a3f31 printcommand env var parsing will need add'l work. 2008-10-14 06:13:57 +00:00
William Kendrick
cdb3659086 Comment fixup 2008-10-08 19:37:37 +00:00
William Kendrick
a44e103f5a Using wordexp() instead of replace_tilde(), to pick up homedir and other
enviornment variables (under Linux only).
All C++-style comments replaced with C-style.
2008-10-08 19:35:26 +00:00
William Kendrick
77388a8c1b Improved support for localized Stamp sound effects (e.g., "en_GB" for
British English now works; only "en" would have worked before).
2008-09-23 00:06:42 +00:00
William Kendrick
1765e36292 Paint brush tool improvement. 2008-08-14 15:06:52 +00:00
William Kendrick
c54d6b31a7 Redrawing tux text after Magic switchin() in case plugin called update_progress_bar(). 2008-07-20 07:19:54 +00:00
John Popplewell
b878e9646e Added code to hook low-level keyboard events on 2K/XP/Vista.
The hook is only installed if in full-screen mode.
Filters out the left and right Windows keys to avoid accidentally dropping
out of full-screen mode.
If Tux Paint is deliberately switched to the background (using ALT-TAB, say)
the Windows keys function as normal until Tux Paint is the active
application again.
2008-07-10 20:57:25 +00:00
William Kendrick
f556b503b9 switchin() and switchout() now accept mode. 2008-07-10 20:26:38 +00:00
William Kendrick
6bd9586fd6 Flow correction. 2008-07-09 22:49:57 +00:00
William Kendrick
2e5508842f get_description() gets mode, so tools can provide diff. instructions. 2008-07-09 04:37:08 +00:00
William Kendrick
c9dfc4d1d8 Not sending drag or release to Magic tools when in MODE_FULLSCREEN.
Added missing arg to usage output.
2008-07-09 04:10:52 +00:00
William Kendrick
472692fbab Magic tools can now be both painted and full-image.
Negative tool now does this.
2008-07-09 02:46:54 +00:00
William Kendrick
8c6fbb8cf5 [Ctrl]+[P] keyboard shortcut for printing was not complying with option to
disable printing capability (e.g., "--noprint"). Fixed.
Regenerated killed docs.
2008-07-08 18:31:51 +00:00
William Kendrick
2e61076718 switchin() and switchout() Magic functions now used.
Documented new switchin() and switchout() functions.
2008-07-08 01:54:00 +00:00
William Kendrick
b4ed444f0f Beginning to implement switchin() and switchout() Magic tool plugin API. 2008-07-08 00:21:31 +00:00
Martin Fuhrer
1c94c5e5d8 Rename global variables defined in SDL_Pango.h to avoid errors during linking on Mac OS X. 2008-06-30 22:15:27 +00:00
Luc Schrijvers
c47ed8808a small BeOS fix in regards of Uppercase isseus 2008-06-25 16:27:11 +00:00
Albert Cahalan
4e7a41831d group printing stuff together 2008-06-02 00:49:01 +00:00
William Kendrick
e4e06ad2a4 Getting --uppercase working (mostly) without Pango, too.
No longer aborting build when Pango is disabled or not found.
2008-05-29 16:06:07 +00:00
William Kendrick
5d1204f83c "Uppercase only" option support for builds that use Pango to render text. 2008-05-29 15:51:28 +00:00
William Kendrick
4aa7703811 Removed "OLD_UPPERCASE_CODE" 2008-05-29 15:28:26 +00:00
Albert Cahalan
2687b4efd1 uppercasing now faster and safer 2008-05-29 07:02:45 +00:00
Albert Cahalan
1093d74230 wchar.h need not be repeated 2008-05-29 06:08:27 +00:00
William Kendrick
0668cd3b47 Removed _APPLE_10_2_8_-related stuff. 2008-05-28 14:43:25 +00:00
William Kendrick
4a4aa92cc0 BeOS tweaks from Begasus. 2008-05-27 21:10:31 +00:00
Albert Cahalan
ac23d23a1c forgot "shell" in $(shell... 2008-05-25 17:49:32 +00:00
Mark K. Kim
4cabed88a6 Improved support for detecting missing dependencies:
- Added libpaper-dev package checking.

- Previously, SDL_Pango's bug forced Tux Paint to include a customized
  version of SDL_Pango.h in its distribution, so we couldn't tell if
  SDL_Pango was installed in the system by including SDL_Pango.h.  We made
  a new workaround for SDL_Pango's bug that does not require Tux Paint to
  include SDL_Pango.h, so now we can check for SDL_Pango installation.

- Makefile now includes a check for gettext installation and will not
  fail when attempting to generate .mo files or install .mo files.  Instead,
  Makefile will now display a warning and skip the .mo file generation and
  installation steps.

Many thanks to Arunodai Vudem for the patches.
2008-05-25 02:30:45 +00:00
Albert Cahalan
767c8ce395 eliminate a useless array 2008-04-27 18:33:17 +00:00
secretlondon
2ec565722f Nyad's fix for Sourceforge #1934883 for directional brushes 2008-04-17 20:11:03 +00:00
Martin Fuhrer
3674ace83d Allow Tux Paint to interpret ~ in save and data directory paths as home directory. 2008-03-31 00:14:57 +00:00
William Kendrick
7b651c97b2 * Fixed bug when zooming stamps in video depth other than 32bpp.
(Float to int casting; also removes compiler errors.)

* getpixel/putpixel function passed to Magic tools now pays attention
  to the incoming surface, rather than always using the canvas surface,
  to determine bitdepth.  (Fixes bug where some Magic tools, e.g., Grass,
  didn't work right on video depths other than 32bpp.)
2008-03-05 03:26:55 +00:00
William Kendrick
f34d8301ff Fixed bug when zooming stamps in video depth other than 32bpp. 2008-03-05 03:12:00 +00:00
William Kendrick
c007c63baf Brushes with large spacing wouldn't be spaced properly when drawn
from bottom-to-top using the line tool.  Fixed. (Pere Pujal i Carabantes
patch from SourceForge bug.)
2008-03-04 17:03:12 +00:00
William Kendrick
03539a98a5 Legacy Tux Paint images (prior to Tux Paint supporting different
colored backgrounds) would end up with arbitrary Eraser colors.
Forcing it to always use white, which was the only background color
in early versions of Tux Paint.
2008-03-04 16:29:09 +00:00
William Kendrick
7df60e329e Updated German translation.
Next version will probably be 0.9.20.
Updated copyright year.
2008-02-29 01:30:21 +00:00
William Kendrick
aa902c36e3 Recreated "Tux Paint" title art using Inkscape (traced original bitmap).
Larger "Tux Paint" title art displayed on larger screens.
2008-02-26 06:02:52 +00:00
William Kendrick
88af19cac1 Added "--allowscreensaver" option, which prevents Tux Paint from disabling
the screensaver or monitor power management while running.
(Requires SDL 1.2.12; can also be done by setting the
SDL_VIDEO_ALLOW_SCREENSAVER environment variable to '1' before running Tux Paint.)
2008-02-24 21:35:47 +00:00
Martin Fuhrer
c546a9756e Mac OS X updates: Force Fontconfig to build font cache prior to splashscreen. 2008-02-20 05:19:55 +00:00
William Kendrick
24768b831b Attempted to add a vertical nudge value for tool button labels, based
on locale.  (Specifically, to prevent Khmer text from overlapping icons.)
Locale-related code needs some bugfixing before this works right, though.
2008-02-19 20:46:03 +00:00