Commit graph

254 commits

Author SHA1 Message Date
William Kendrick
fabc9c171c Got starter background centered properly in 800x600 mode.
(Foreground not working.)
2004-09-22 07:02:41 +00:00
William Kendrick
95a0c69c56 Mirror and flip of image is kept track of, so undo/redo also affects starter. 2004-09-22 05:34:35 +00:00
William Kendrick
01111df2d3 Fixed bug where starter background wouldn't get flipped. (y, not x! d'oh!) 2004-09-22 05:11:58 +00:00
William Kendrick
9eecf5ab4e Trying to finish up starter mirror/flip. Background flip-on-load broken!
(Also, need to worry about keeping track of flips and mirroring for Undo/Redo!)
2004-09-20 06:02:57 +00:00
William Kendrick
9c450c12f2 Got it to properly pay attention to image's starter's orientation when loading. 2004-09-20 05:49:10 +00:00
William Kendrick
deb87428b3 Got starter mirror and flip working when Magic tools used. 2004-09-20 05:35:24 +00:00
William Kendrick
1d6406762c Starters get mirrored and flipped when those Magic tools are used. (BROKEN!)
Starter's mirror and flip state are stored, so we know to mirror/flip the
original when loading a saved image based on a starter. (UNTESTED)
Starters centered in the image, if they're smaller than canvas
(e.g., you're running in 800x600 mode) (BROKEN!)
Starter backgrounds can be JPEGs, as well as PNGs. (UNTESTED)
2004-09-20 03:15:12 +00:00
John Popplewell
c6f0c17daa Fix the other occurrence of the path to the starters files - sigh. 2004-09-18 20:06:38 +00:00
John Popplewell
e31a815459 Fix for bug in SDL_ttf-2.0.6. A call to TTF_Open() with the filename of
a font that doesn't exists segfaults. See the SDL list for details.
Doesn't affect the win32 build because the bug is fixed in the DLL I ship.

Added try_alternate_font() which mangles the lang_prefixes in an attempt
to find a suitable custom font. e.g. 'zh_tw'->'zh'.
2004-09-18 03:00:07 +00:00
John Popplewell
2a9f5553a4 Fix for win32 current_language(). Environment variable in 'langstr' parsing
code changed from LANG->LANGUAGE but not code in current_language().
2004-09-18 01:02:44 +00:00
John Popplewell
d0edcec0a7 Make win32 version use 'icon32x32.png' as SDL window icon.
Fix 'starter' images directory for win32.
2004-09-17 13:39:35 +00:00
William Kendrick
732e00b189 Made eraser outline icons in Selector 2px thick instead of 1px. 2004-09-15 19:40:47 +00:00
William Kendrick
3a254a81e0 'Starters' get green button backgrounds in 'Open' dialog.
Added mention of 'Starters' to readme (still needs work).
2004-09-15 07:29:08 +00:00
William Kendrick
b53c977e84 Starters weren't getting loaded if last-saved image was based on starters.
(i.e., current_id's file would be loaded, but not its starters...)
2004-09-15 06:52:08 +00:00
William Kendrick
adc9c0481f Starter foreground remains above painting. Background appears when eraser
is used.  Woo!  Almost done!
2004-09-15 06:11:19 +00:00
William Kendrick
44732279ae Disabled hq4x stuff by default... 2004-09-15 05:44:47 +00:00
William Kendrick
0910a33c73 Added missing wctype.h include 2004-09-14 07:57:01 +00:00
William Kendrick
197b401549 Hindi was missing in docs! Attempting wide-string uppercasing. 2004-09-14 07:42:38 +00:00
William Kendrick
00c5d44b96 Added lockfile feature, to prevent multiple launches within 30 seconds
(due to over-clicking, for example).
2004-09-14 06:39:51 +00:00
William Kendrick
1d1a6ecfba More work on 'starters' support. 2004-09-04 11:26:01 +00:00
William Kendrick
ff7317cbfb Corrected multi-location opening function. 'Starters' can be opened,
but no attempt to delete can be made. ("Erase" button deactivated.)
Saving after loading a starter creates a new work.
2004-09-04 10:42:32 +00:00
Karl Ove Hufthammer
85aa989fee Ripped out remaining I18N/UTF-8 stuff that a) didn't work, or b) didn't make any sense (or both!).
Writing non-ASCII characters using the text tool doesn't work. (But it didn't before this update either.)
2004-08-23 19:09:39 +00:00
William Kendrick
9efcbf9db0 Added Bulgarian. 2004-08-19 17:54:36 +00:00
William Kendrick
c4de3f6966 Begin adding Klingon translation. 2004-08-17 07:44:24 +00:00
Karl Ove Hufthammer
5c6adaff9b '@euro' is deprecated, so I changed all locale codes to use 'UTF-8'. 2004-07-21 17:33:27 +00:00
Karl Ove Hufthammer
ee1ea314d2 Fixed translation bug. 2004-07-16 19:52:30 +00:00
Karl Ove Hufthammer
1adef6f02c Changed locale code for Portuguese (Portugal) from 'pt' to 'pt_pt'. 2004-07-12 19:09:29 +00:00
Karl Ove Hufthammer
feef96a197 Fixed a translation-related bug. 2004-07-12 12:51:48 +00:00
Karl Ove Hufthammer
2a9a7d02ce * Brutally ripped out everything that had to do with non-UTF-8 based rendering of strings. Needs testing!
(All stamp descriptions are now in UTF-8. And the UTF-16 functions (unfortunately named '...UNICODE') weren't even being used!)

* Renamed some functions so that they now make sense.

* Removed HTML unescaping code.

* Removed unnecessary language selection code.

* Various other cleanups and fixes.
2004-07-10 20:14:11 +00:00
Karl Ove Hufthammer
5a008250ed Treat all stamp descriptions as UTF-8, since they are. 2004-07-07 17:19:45 +00:00
Karl Ove Hufthammer
b39da65dcb Fixed pixeldirt when selecting right-most paint bucket.
Also moved the paint bucket down a little, which looks better.
2004-07-06 14:45:30 +00:00
Karl Ove Hufthammer
7373e6c8d7 Fixed line-spacing issues with FreeSans font by moving the descriptions up a few pixels. 2004-06-24 10:01:41 +00:00
Karl Ove Hufthammer
29306b3c55 Added code for not tinting low-saturation ('gray') areas on stamps with the 'notintgray' property. 2004-06-23 18:07:37 +00:00
William Kendrick
3477b54f16 Set "LANGUAGE" env. var. on "lang=XYZ" and "--lang XYZ" options. 2004-06-20 07:10:28 +00:00
William Kendrick
f6b3d08d57 Fixed Hindi locale. Noted that Hindi chars shouldn't be used for
untranslated strings!!!
2004-06-11 09:39:20 +00:00
William Kendrick
b37ccf2b0e Initial Hindi import. 2004-06-11 09:09:17 +00:00
William Kendrick
dfb0604f84 Added Chinese (Traditional) support! 2004-06-06 01:58:05 +00:00
William Kendrick
158e56b8c8 More fix-ups, and a number of FIXMEs regarding coloring-book open feature. 2004-06-01 08:03:33 +00:00
William Kendrick
60d291bcec Some indentation cleanup. 2004-06-01 07:42:38 +00:00
William Kendrick
bbc3a49f00 Fixed do_open() so that it doesn't crash, at least... 2004-06-01 07:27:33 +00:00
William Kendrick
f6a61a8963 More tweak to do_open() for coloring book.
WARNING: It's broken, and I have to leave the house now, *damnit!* >:^(
2004-06-01 03:11:54 +00:00
William Kendrick
38feedaa27 Beginning work on coloring book mode. 2004-06-01 02:57:16 +00:00
William Kendrick
8723d706b2 Added "--nosave" option to completely disable Tux Paint's ability to save. 2004-05-31 05:03:05 +00:00
William Kendrick
b2873a2e44 Attempted tweaks for Croatian. 2004-05-30 11:31:51 +00:00
Karl Ove Hufthammer
f69208561e Moved to typographically correct, UTF-8 based quotation marks. 2004-05-24 20:47:17 +00:00
Karl Ove Hufthammer
9623a66d66 - Changed hyphen to en-dash on splash-screen, and render as UTF-8
- UTF8 --> UTF-8
2004-05-17 18:30:28 +00:00
William Kendrick
423f6ddce9 Added skeleton for Croatian translation. 2004-05-16 19:21:24 +00:00
Mark K. Kim
2acdcaf60e Fixed '--noprint=yes' bug under Windows & BeOS 2004-05-14 00:09:28 +00:00
William Kendrick
a5bd1408de Fix for Belarusian. 2004-05-09 20:03:20 +00:00
William Kendrick
9a1f9e81b6 Support for Belarusian. (No translation yet, but stamps have been xlated) 2004-05-09 18:08:59 +00:00