579 Commits

Author SHA1 Message Date
Yves Rizoud
6c0637f65e New: Reading 32bit and 16bit bitmaps, with and without bitfields.
Fixed: Reading 8-bit compressed bitmaps.
New: Reading bitmaps with v4 header.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@723 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-05 19:21:07 +00:00
Yves Rizoud
cf16b72ae0 Palette sorting now automatically remaps the image, so its final appearance doesn't change.(issue 87)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@722 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-05 00:50:27 +00:00
Yves Rizoud
756712b759 Credits: Added 00.rgb.studios to bugfinders (reported makefile issues)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@721 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 19:15:59 +00:00
Yves Rizoud
8fee6a4247 Fix default sieve pattern which was all-black since r707
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@720 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 19:06:22 +00:00
Adrien Destugues
be1da7b6a6 Fixed a buffer overrun in the skin reading... make saving the config work again...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@719 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 18:41:04 +00:00
Yves Rizoud
8b29381699 After changing screen size or pixel mode, the palette is now scrolled to show FG color (issue 124)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@718 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 14:51:27 +00:00
Yves Rizoud
763a4551a9 Fix the mouse cursor erasing the filename in status bar when you close the Load window (old display bug)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@717 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 13:52:19 +00:00
Yves Rizoud
5655129401 Makefile: Added missing png library to linker options (issue 141)
Fix the minimum screen size not enforced when resizing window (since r705)
Fix the mouse cursor position when changing pixel size (since r705)
In fileselector, the image preview now enforces "safe colors". (issue 116)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@716 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 13:38:45 +00:00
Adrien Destugues
bc127c5d6a Migrated the history to the wiki.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@712 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-02 21:10:06 +00:00
Yves Rizoud
0a3984c18a Typo in palette screen title (Another victim of mass translation)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@708 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-30 23:57:52 +00:00
Yves Rizoud
927fafacbe Moved GUI skin files to "skins/" sub-directory.
Update makefile (install and uninstall only copy and delete the basic skin)
Added Ilkke's GUI skin to svn.
Skin can be specified by command-line argument "/skin <file>" (relative to program data).
Grafx2's default FG and BG colors are now white and black (instead of 15 and 0).
Credits: Fixed a typo caused by mass translation ("GRAFX2 CREATED (by)").
Credits: Added TeeEmCe to bugfinders.
Updated helpfiles (Resolution, Save, Freehand-draw)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@707 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-30 23:50:40 +00:00
Yves Rizoud
14a08f35dc Menus skin:Mouse cursors can now have user-defined hot-spot.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@706 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-30 21:09:47 +00:00
Yves Rizoud
7d553daf47 Pixel ratio can be set in Resolution screen
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@705 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-30 00:41:45 +00:00
Yves Rizoud
8ff9028eab Implemented palette ordering (issue 112). You can activate it in the secondary palette window (shift-P), it's saved in gfx2.ini.
The skin file has 2 more icons for the arrows (Ilija, grafx2 won't load if you don't update yours)
Updated contextual help for the secondary palette window.
Fixed some typos in code.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@704 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-29 21:58:38 +00:00
Yves Rizoud
eb781b9bd6 Renamed sources files to english words, updated makefile, recomputed dependencies.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@703 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-29 00:12:33 +00:00
Yves Rizoud
fb24a9ae67 More code documentation in global.h
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@702 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-28 18:42:34 +00:00
Yves Rizoud
663229efb3 Fixed compilation error on Linux (name conflicts, issue 132)
Load/Save: Fixed display of mount points and drives ("Select drive" button)
Started documenting global variables


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@698 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-27 20:14:28 +00:00
Yves Rizoud
efbc978e6f Source code translated to english
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@697 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-27 16:50:21 +00:00
Yves Rizoud
6b4a8f674e Cleaned up the layout of Save/Load screen. (issue 92, issue 84#4)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@696 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-27 02:56:01 +00:00
Yves Rizoud
fa71dea18d Code cleanup: Removed the code related to Save/Load window from buttons.c, transferred it to files.c. Files.h now only exposes this window's function.
Some code related to this window is still in loadsave.c (stuff for preview)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@695 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-26 19:41:33 +00:00
Yves Rizoud
994c1ce713 Text tool: fixed font selection, was off by 2 pixels.
Menus: scrollbars are now dark, to make iLKke happy.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@694 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-24 14:39:19 +00:00
Yves Rizoud
b68db78d29 Fix error in previous commit. Filter some files in Doxygen (the standard SDLMain, and I have some python scripts lying around.)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@693 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-23 19:53:03 +00:00
Yves Rizoud
2602c591eb Fixed some missed translations. Fixed doxygen (mis)handling of packed structures.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@692 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-23 19:24:16 +00:00
Yves Rizoud
346d940889 All code ready for mass translation
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@691 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-23 18:08:42 +00:00
Yves Rizoud
f8c7c6730b translations
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@690 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-23 02:33:21 +00:00
Adrien Destugues
c324adfff2 Some cleanups to the types of vars.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@689 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-22 17:44:29 +00:00
Franck Charlet
cf99da06b8 - Fixed mountlist.c for Mac OS X again.
- Removed the SDL centered window attribute.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@688 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-20 13:27:39 +00:00
Yves Rizoud
f342ff5ff7 More translations (about 500)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@687 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-19 03:18:42 +00:00
Adrien Destugues
b6f529c90f Removed some references to gfx2cfg i missed last time...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@686 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-18 17:47:38 +00:00
Yves Rizoud
52574a8e87 translations fixes (name clashes)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@685 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-18 01:14:53 +00:00
Yves Rizoud
4dcdc53409 more translations
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@684 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-18 00:16:29 +00:00
Yves Rizoud
f69cf6b8f7 More manual translations, to make the bulk process easier
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@683 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-17 19:09:43 +00:00
Adrien Destugues
66f9154548 Missed a #endif. Whoops.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@682 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-17 12:41:34 +00:00
Adrien Destugues
f009016624 Reverted to an older gpl2 version of mountlist.c, needed for integration in debian and ubuntu.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@681 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-17 12:40:25 +00:00
Adrien Destugues
c6f4130efd Removed Open Watcom support.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@680 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-17 12:19:55 +00:00
Yves Rizoud
0bef53670b Fix compilation warning (win32)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@679 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-16 23:59:31 +00:00
Adrien Destugues
cb1cac1b6f removed gfx2cfg, we don't need it anymore.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@678 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-16 20:14:52 +00:00
Franck Charlet
c60c1e7353 - Modified Initialisation_du_programme() so 0 is returned on SDL initialization fail.
- Added support for .png files in Mac OS X port.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@677 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-16 17:19:40 +00:00
Yves Rizoud
ecafeaace1 more code cleanup to prepare translation
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@676 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-15 17:21:16 +00:00
Adrien Destugues
5883853be4 Doxygened clavier.h and brush.h
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@675 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-15 13:42:50 +00:00
Adrien Destugues
4d6561abed Finished doxygening boutons.h
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@674 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-14 20:39:02 +00:00
Adrien Destugues
6707834f07 Moves the doxygen files out of the main tree. Avoid fakeing ohloh reports.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@673 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-14 18:33:59 +00:00
Yves Rizoud
36302f2007 Working translation files for functions, structs, enums, globals, macros.
To translate a copy of the code, run:    perl translat.pl ../*.c ../*.h
Still need to translate struct members, variables, arguments : 1214 to go


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@672 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-14 01:33:01 +00:00
Yves Rizoud
0aa43794cd Code cleanup: typedef all structs.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@671 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-14 01:08:39 +00:00
Yves Rizoud
f30316612e Translation tools, and first set of translations (all function names)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@670 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-13 21:51:32 +00:00
Yves Rizoud
b347f5e04b Source cleanup to help translation.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@669 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-13 21:42:26 +00:00
Adrien Destugues
d2bd42887e Some doxygen documentation in boutons.h
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@668 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-07 21:50:59 +00:00
Adrien Destugues
3baa53db96 Fixes small BMP files saving
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@667 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-07 21:23:49 +00:00
Adrien Destugues
52f7d31b79 Sets the properties of html files so we can view them online.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@666 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-07 11:14:22 +00:00
Adrien Destugues
5f50f7bc22 Added doxygen documentation. Now we have to update the comments in all the files. See aide.h and button.h for some examples. Documentation is regenerated by "doxygen Doxyfile" in the root directory
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@665 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-06 21:05:05 +00:00