Commit graph

1132 commits

Author SHA1 Message Date
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
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
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
73b8464b75 Added Magic tool API version API. 2007-07-08 07:53:39 +00:00
William Kendrick
7dc8956de5 Removed sparkles from Tux Paint; now a brush. 2007-07-06 19:41:20 +00:00
William Kendrick
76f36e7d03 Converted all Magic tools to plugins. 2007-07-06 19:28:31 +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
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
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
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
William Kendrick
e4b980cd81 Added World Map starters from Caroline.
Updated Arabic translation.
"Open" dialog lists saved drawings first, then local starter images,
then system-wide starter images.
All compile-time options now listed in version output, using a new
"--verbose-version" (or "-vv") command-line argument.
2007-06-19 20:21:54 +00:00
Martin Fuhrer
ed3e365bf0 Pressing Ctrl-P will now bring up the print dialog. 2007-06-16 18:39:23 +00:00
Martin Fuhrer
3f4e377542 Tux Paint configuration settings for Mac OS X are read from "~/Library/Application Support/TuxPaint/tuxpaint.cfg" 2007-06-16 03:45:36 +00:00
Martin Fuhrer
908cadf7d3 Fix for choosing SVG version of stamp when both PNG and SVG versions are present. 2007-06-12 05:40:55 +00:00
Martin Fuhrer
9a8fc843d3 Mac OS X updates: Fixed typing in Mac print dialogs. Fixed endian issue so that printing from an Intel-based Mac no longer messes up colors. Added automatic scaling and orientation of image for Mac printing. Added menu items to Mac menu bar - New, Open, Save, Print, Page Setup, Undo, Redo. Use standard Mac arrow cursror rather than custom Tux Paint arrow cursor for more consistent look and feel. 2007-06-12 05:29:25 +00:00
William Kendrick
6d1dbef521 hildon updates and packaging files
Tux text draws new Sfx and Speak mini-buttons above Tux, when in Stamp mode.
Sfx and Speak buttons (re)-play stamp sounds and stamp descriptions.
ALT+S (mute/unmute) now draws Tux text (to make Sfx and Speak buttons appear/disappear)
Improved Stamp tool description in docs.
Added screenshot of Stamp size, mirror, flip controls in docs.
Documented Left/Right stamp category controls, with screenshot in docs.
Documented Sfx and Speak buttons, with screenshot in docs.
2007-06-07 23:47:47 +00:00
William Kendrick
bccb269062 New starters: 10x10 grid & 20x20 grid
Reordered font-loading to happen after locale switch occurs, to
pick up font-organizing string translations (e.g., "Aa", "qx", etc.).
Attempting to help address issue of Latin-only fonts being available
in non-Latin locales -- seemed to help with Norwegian.
Czech translation update.
Russian README documentation
2007-06-06 18:31:54 +00:00
William Kendrick
aba6e59953 Made sure scroll wheel worked right with new Prev/Next buttons taking up space in stamp selector. 2007-05-16 07:16:46 +00:00
William Kendrick
d451169a83 Got stamp category switching working/ 2007-05-16 07:14:08 +00:00
William Kendrick
fdfa0eaf6c Getting Stamp control UI working when "--nostampcontrols" is set (with new Prev/Next buttons). 2007-05-16 06:45:45 +00:00
William Kendrick
4b1fa7dbaf Got stamp UI buttons working better (with new prev/next). 2007-05-16 06:40:27 +00:00
William Kendrick
3572c30937 Screen size can be rotated using the "--orient=portrait" command-line option or "orient=portait" configuration file setting. This swaps the width and height values used for window or screen size. 2007-05-16 03:19:38 +00:00
William Kendrick
5dffed81d0 Added an "autosave" option that assumes you wish to save the current
picture during Quit.  (Additionally, after saving during Quit or Open,
it no longer shows 'success' pop-up that must be dismissed.)
(Addresses SourceForge RFE #1680500)
2007-05-16 01:33:56 +00:00
William Kendrick
839776e2e3 Mouse cursor can be hidden, useful on touchscreen devices. 2007-05-16 01:11:33 +00:00
William Kendrick
8a12e2f9c9 Fixed pasto. 2007-05-14 16:38:34 +00:00
William Kendrick
7a0582aee2 When running in fullscreen mode, you may now ask Tux Paint to display at the screen's (more precisely, the operating system's) current resolution. 2007-05-14 16:24:01 +00:00
William Kendrick
bc63859a5a Per Shin-Ichi:
Current official package of rubber stamps include very long
description such as explanation of the motion of chess knight.
So, buffer lengths in "loaddesc()" is not enough for translated
strings especially in the case of multibyte languages.
2007-05-10 19:23:39 +00:00
William Kendrick
57d345458b Pop-up dialogs were causing current Text tool text to disappear until
click or type. Fixed.
Non-drawing tools (e.g., Open/Print/Quit) were causing current Text tool
text to render onto canvas. Fixed.
2007-05-06 16:04:14 +00:00
William Kendrick
7031f5a654 Stamp group prev/next buttons always available, since they'll wrap around. 2007-05-06 13:40:35 +00:00
Mark K. Kim
c735e6a6b8 Crash bug due to IM fixed, variable name change. 2007-05-06 04:00:20 +00:00
William Kendrick
5ad64e56cd Showing prev/next buttons for stamp group controls. 2007-05-03 17:00:56 +00:00
William Kendrick
f370445e02 Began grouping stamps (show one directory tree at a time). INCOMPLETE. 2007-05-03 16:28:27 +00:00
John Popplewell
a85bc639be WIN32 only:
Change use_print_config (printcfg) default to be yes.
Create the 'lockfile.dat' in the users local temporary directory, usually:
'C:\Documents and Settings\<USER NAME>\Local Settings\Temp\'. This allows
the use of a shared 'savedir' without messing up the lockfile.
2007-04-28 02:52:11 +00:00
Mark K. Kim
f043a733e6 Added application-level Input Method support. 2007-04-22 04:05:23 +00:00
William Kendrick
9e7c10e96b No reason to add "maemo" to version display.
Fixed messed up characters in copyright string introduced during Maemo update.
2007-04-07 00:02:18 +00:00
Albert Cahalan
19b0c3d33d make multiply/divide key (on OLPC XO keyboard) work 2007-03-29 05:06:45 +00:00
Albert Cahalan
7ab2175799 working DEBUG print 2007-03-29 03:30:16 +00:00
Alessandro Pasotti
cb9a159ba5 Maemo Nokia 770 and 800 debian packaging.
Fixed the "Home" button missing icon problem
Fixed cursor (now it's hidden)
Files are saved on /media/mmc1/tuxpaint by default so users can see them
from the filemanager
Added xpm icon to hildon desktop
2007-03-24 09:00:28 +00:00
William Kendrick
d8ca6e80fd Only SVG versions of stamps are loaded, when both PNG and SVG variations are found.
Added some FIXME comments.
2007-03-22 16:57:10 +00:00
Albert Cahalan
631da0c11b OLPC XO is 1200x900 (despite having only 50 MB free!) 2007-03-21 05:28:23 +00:00
Albert Cahalan
70eb385609 yes, scaling tolerates portrait mode 2007-03-21 02:45:29 +00:00
Albert Cahalan
542aaf4cad It runs on the OLPC XO now, unless you run out of memory. Do not even think of using stamps, system fonts, etc. 2007-03-12 03:55:30 +00:00
William Kendrick
0cb69de727 Tux the Penguin sound effects were not working; fixed. 2007-01-03 08:26:00 +00:00
William Kendrick
666e011b5c Using simple bilinear interpolation when scaling stamps up. 2006-11-02 09:05:03 +00:00
William Kendrick
b765c86e50 * Updated version to 0.9.17
* Stamps now supports SVG vector-based graphics!  (Via Cairo library)
* Discussed SVG Stamps in "Extending Tux Paint."
* Created an "SVG.txt" document, covering SVG software.
* Mentioned descriptive sounds (e.g., "stamp_desc_ll.ogg") in "Extending..."
* Listing new www.tuxpaint.org website URL.
2006-10-26 08:54:24 +00:00
Martin Fuhrer
9fb1090e0e Added temporary fix for Mac OS X ghosted lines problem when using eraser tool (entire screen is refreshed whenever eraser tool is moved while the mouse button is held down) 2006-10-20 03:04:17 +00:00