Commit graph

1387 commits

Author SHA1 Message Date
William Kendrick
cc1c8fda17 Plugin .so's now install into /usr/[local/]lib/tuxpaint/plugins/. 2007-07-24 23:41:57 +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
cd17a10a32 Adding some icons 2007-07-24 02:22:37 +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
94a6da19f7 I cannot spell. :(
Noted recent PO updates from Karl.
2007-07-19 18:53:09 +00:00
William Kendrick
646f13cbd8 Added icons for some of the new Magic tools. 2007-07-19 18:48:52 +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
Karl Ove Hufthammer
b34789f6e2 It's called a *kaleidoscope*, not a kalidescope. 2007-07-19 18:32:22 +00:00
Karl Ove Hufthammer
313b67d59b Fixed punctuation and tweaked description. 2007-07-19 18:27:04 +00:00
William Kendrick
e72e109f4f Doc'd Gujarati update. 2007-07-18 20:40:27 +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
21d9cf24be Received Russian translation of EXTENDING docs. 2007-07-15 16:55:45 +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
f8249b1e4d Added new magic tools: Kalidescope, Glass Tile, Emboss, Metal Paint, Waves.
Began new magic tool: Flower.
2007-07-11 00:24:15 +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
f1dac48175 Moved Magic tool API version definition to a shared Makefile. 2007-07-08 08:02:55 +00:00
William Kendrick
202c638536 Resetting API to 1. 2007-07-08 07:56:36 +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
e33162acf1 Removing unnecessary files. 2007-07-08 07:10:44 +00:00
William Kendrick
1a1cf826c2 Forgot these sounds were used by Text tool. 2007-07-06 19:45:34 +00:00
William Kendrick
7dc8956de5 Removed sparkles from Tux Paint; now a brush. 2007-07-06 19:41:20 +00:00
William Kendrick
2abf6db301 Documented Magic Tool plugin conversion. 2007-07-06 19:39:11 +00:00
William Kendrick
fbbfb2fafd Added Makefile to convert HTML docs to plain text.
Recreated plain text docs based on HTML.
2007-07-06 19:38:11 +00:00
William Kendrick
674b28c7e4 Added missing Magic tool sounds.
Added data used by Grass Magic tool.
2007-07-06 19:36:45 +00:00
William Kendrick
5239f563da Added new plugins to Makefile. 2007-07-06 19:35:46 +00:00
William Kendrick
2d4eee798f Converted Blocks, Chalk, Drip, Blur, Bricks, Cartoon, Drip, Fill, Grass,
Rainbow, Smudge and Tint Magic tools to plugins.
2007-07-06 19:35:32 +00:00
William Kendrick
535220e921 Finished Fade, Darken, Mirror, Flip and Negative Magic tools as plugins. 2007-07-06 19:34:47 +00:00
William Kendrick
4aaec931be Created start of HTML documentation to Magic plugin API.
Included example plugin source.
2007-07-06 19:34:18 +00:00
William Kendrick
74cdb0f66f Removing UI elements (sparkle now a brush, not Magic; blocks handled by Magic plugins). 2007-07-06 19:33:00 +00:00
William Kendrick
c1ae895a75 Vines brush randomized.
Sparkle added, based on old Magic tool.
2007-07-06 19:32:12 +00:00
William Kendrick
a95e5c036a Removed deps and targets for code that's now within Magic tool plugins. 2007-07-06 19:30:25 +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