Commit graph

957 commits

Author SHA1 Message Date
William Kendrick
426ee7b252 More appropriate text for the new 'New' dialog. 2007-07-26 16:30:36 +00:00
William Kendrick
49bebc7c6e Renaming tp-magic-config script "source" to have ".in" in the name. 2007-07-25 16:41:12 +00:00
William Kendrick
524ba7b596 Reprocessed POs after some gettext() changes. 2007-07-25 06:18:21 +00:00
William Kendrick
183b751810 Added a 'color picker' entry to the color palette; allows choosing
from over 50,000 colors.  Used by drawing and Magic tools, as well
as the new 'New' dialog.
Documented Martin's Mac OS X printing update.
Improved colors in Starter browser buttons.
2007-07-25 06:11:46 +00:00
Martin Fuhrer
c0962bf16e Print configuration is now saved between Tux Paint sessions on Mac OS X. 2007-07-25 05:39:18 +00:00
William Kendrick
e9e6bf1dee Regenerated PO and POT after removing some gettext() strings. 2007-07-24 19:05:40 +00:00
William Kendrick
6e827f67fe Improved 'New' and 'Open' interfaces. ('Open' dialog no longer includes
Starter images; 'New' now brings up a selection dialog showing 'Starter'
images and color choices.)
New images can be given solid background colors (which the 'Eraser' tool
erases to).
Improved --usage output.
Added support for "--papersize help" to list papersizes available via libpaper.
Some Magic tools that apply an affect once per click-and-drag no longer
recalculate the effect on pixels that have already been affected (until mouse
button is released and clicked again).
2007-07-24 18:20:17 +00:00
William Kendrick
40200798d8 turn plugin junk into a struct
sorting magic tools by (localized) name
emboss now keeps color
minor fixups
2007-07-20 18:37:36 +00:00
William Kendrick
e9348a977a Silenced some debugging. 2007-07-19 18:48:18 +00:00
Karl Ove Hufthammer
60c8fb487d Updated translation files. 2007-07-19 18:39:14 +00:00
Karl Ove Hufthammer
32e0664553 Updated Norwegian Nynorsk, Norwegian Bokmål and British English translation. 2007-07-19 18:38:24 +00:00
William Kendrick
c4b3e49215 Added ripples magic.
Added (not finished) (new) sparkles magic.
Fixed printf localization bug in postscript printing.
Got Text tool working when Pango is used.
2007-07-18 20:13:08 +00:00
Kartik Mistry
0ed6e2fd30 Gujarati translation updates and some corrections 2007-07-18 07:21:24 +00:00
William Kendrick
dccaf7eff2 Attempting to work around fprintf(... "%f" ...) localization in PS printing. 2007-07-18 00:56:50 +00:00
William Kendrick
21ea42f38f Attempting to debug/fix SDL_Pango stuff.
Added icon for Kalidescope magic tool.
Added Canada map starter.
Added Japan map starter.
Improved comments near gettext() calls to improve POT and PO files.
Regenerated PO files and POT file.
Added .cvsignore to make sure tp_magic_api.h (which is generated) isn't noticed.
2007-07-17 18:41:16 +00:00
William Kendrick
bffae41a27 Documented Esperanto. 2007-07-14 17:32:42 +00:00
William Kendrick
186ede2764 Added Esperanto translation. 2007-07-14 17:29:16 +00:00
William Kendrick
0eecea9581 Magic compiles silenced.
Attempted Text tool font load under pango.
Made pango optional.
TuxPaint_Font is aware of both panfgo contexts & sdl_ttf ttf fonts.
2007-07-13 18:18:20 +00:00
William Kendrick
3d1718a2b7 Including our OWN SDL_Pango.h, since the shipped on (in Ubuntu) includes
some const SDLPango_Matrixes that are not declared static, so when
linking Tux Paint, since SDL_Pango.h is #included by both fonts.h and
tuxpaint.c, the linker complained about multiple declarations. *sigh*
2007-07-12 19:06:44 +00:00
William Kendrick
095ba8efb3 Began adding support for using SDL_Pango, a wrapper to Pango,
a library for layout and rendering of text, with an emphasis on
internationalization.  (The hope is to improve support for languages
that SDL_ttf doesn't support well; e.g., Arabic and Telegu.)

TTF_Font structs and some functions were replaced by a new
TuxPaint_Font struct and function, which wraps around either TTF_Font
or SDLPango_Context, depending on whether SDL_Pango is being used.
Note: STILL NEEDS WORK!
2007-07-12 18:43:18 +00:00
William Kendrick
516d913692 Forgot to commit new APIs (still need doc'd) 2007-07-11 16:14:52 +00:00
William Kendrick
1f0d12ba91 Finished flower tool.
Added foam tool.
Cleanup.
2007-07-11 06:20:05 +00:00
William Kendrick
c44cf54033 Added dirty rect to magic api.
Added 'release' event to magic api.
2007-07-08 23:17:18 +00:00
William Kendrick
f61128527d Created a '.in' file for tp_magic_api.h header; generating in TP
Makefile. THIS makes the most sense. (I'm tired.)
2007-07-08 08:24:13 +00:00
William Kendrick
73b8464b75 Added Magic tool API version API. 2007-07-08 07:53:39 +00:00
William Kendrick
abf6a2a1bb Attempting to add Thai input method. 2007-07-08 07:27:12 +00:00
William Kendrick
7dc8956de5 Removed sparkles from Tux Paint; now a brush. 2007-07-06 19:41:20 +00:00
William Kendrick
2f3f118504 Converted Magic tools to plugins.
Updated Magic tool API header.
2007-07-06 19:29:27 +00:00
William Kendrick
76f36e7d03 Converted all Magic tools to plugins. 2007-07-06 19:28:31 +00:00
William Kendrick
2aeed41283 Forgot to add tp_magic_api header. 2007-07-05 19:22:26 +00:00
William Kendrick
47e44cb80f Completed Negative Magic tool as a plugin (except sound).
Created Mirror and Flip Magic tools as plugins (except sound); hooks
added to Magic plugin API to allow starter and starter-undo mirror/flip.
Created Fade and Darken Magic tools as plugins.
Moved magic tool sounds to 'magic'.
Added flip and mirror icons to main Tux Paint UI (used to share magic tools')
Created 'tp-magic-config.sh' to get CFLAGS for compiling magic tool plugins.
Improved magic tool plugin API.
Committed some documentation on magic tool plugin API.
2007-07-05 19:20:58 +00:00
William Kendrick
c6aa0af0a9 Updated South African English. 2007-07-05 06:11:05 +00:00
William Kendrick
73b5ef324e Ran update-po.sh. 2007-07-05 06:05:58 +00:00
William Kendrick
8c8cd9663b Re-ran update-sh.po after shapes.h update. 2007-07-05 06:05:14 +00:00
William Kendrick
bcadf04966 Updated Italian. 2007-07-05 05:36:02 +00:00
William Kendrick
8fbc3399e8 Added Wolof translation. 2007-07-04 20:31:23 +00:00
William Kendrick
ff83fc271e Dutch update. 2007-07-04 20:23:30 +00:00
William Kendrick
c3b67b7734 Adding an API for developing Magic tools as plug-ins. (e.g., '.so'
shared objects under Linux)
Ported (most of) 'Negative' magic tool to Magic tool plug-in system.
2007-07-04 05:48:24 +00:00
John Popplewell
525396b00d Tux Paint was spewing out warnings if the 'saved' directory was missing
when doing an 'Open'.
Added make_directory() and refactored the directory creation code.
I couldn't face the slightly simpler copy+paste fix. Hope I didn't add
any bugs.
2007-07-02 04:48:46 +00:00
William Kendrick
19f4d196ee Updated some version numbers in packaging files. 2007-07-01 15:00:22 +00:00
William Kendrick
d884189a39 Japanese update. 2007-07-01 13:55:17 +00:00
William Kendrick
1321c73641 Updated British English. 2007-07-01 13:46:50 +00:00
William Kendrick
2b37e244a0 Updated Dutch translation. 2007-07-01 13:42:24 +00:00
William Kendrick
b6bf500b84 Updated Spanish. 2007-07-01 13:27:58 +00:00
Karl Ove Hufthammer
99e43d4f29 Updated Norwegian translations. 2007-06-30 10:26:29 +00:00
John Popplewell
0a570c4758 Undefine LARGE_CURSOR_FULLSCREEN_BUG, which makes custom cursors work
fullscreen on Windows (if the default 'windib' driver is used).
Conditionally compile the printcommand and altprintcommand stuff.
2007-06-30 04:01:58 +00:00
William Kendrick
f4569f02bc Catalan updates. 2007-06-26 22:34:28 +00:00
William Kendrick
b16832d76a PostScript printing code rewritten, based on NetPBM's 'pnmtops' tool by Jef Poskanzer.
PostScript printing now uses libprint to determine papersize, and scale and
  position image accordingly.  Thanks to Henry House.
"--papersize" option added to allow PostScript printing code to use a
  different size than libpaper reports as the user's or system's default.
2007-06-25 18:00:49 +00:00
William Kendrick
4b642d53d5 Split PostScript printing code (for Linux/Unix/etc.) into its own source file. 2007-06-24 23:06:24 +00:00
William Kendrick
01fc74bd2d SVG support via libRSVG! (Now builds with SVG support on Ubuntu 07.04 (Fiesty)) 2007-06-22 20:03:50 +00:00