Adrien Destugues
b3f2deedac
... and fixes the build back.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1036 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-19 22:47:10 +00:00
Adrien Destugues
b12423d03b
Trying to compile on amiga with vbcc.
...
Removed some useless unixisms.
Still not working.
Hope I did not break too much things.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1035 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-19 22:41:51 +00:00
Yves Rizoud
29ee887c78
Brush container (unfinished). Temporarily bound to right-click 'Brush FX'. Only accepts monochrome brushes of any size at the moment.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@997 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-18 23:42:07 +00:00
Franck Charlet
48d04c2568
Updated XCode Project
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@969 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-07-31 10:20:35 +00:00
Adrien Destugues
bd9541cc04
Allows exiting a textfield with a mouse click (but not using space). Introduce a new global var to do it, however...
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@952 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-07-24 15:22:18 +00:00
Yves Rizoud
8b4533f105
Skin graphics and font are now recorded & reloaded.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@891 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-29 00:28:58 +00:00
Yves Rizoud
d4dcba62a6
More work on fonts/skins
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@890 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-28 21:50:01 +00:00
Adrien Destugues
a619897862
Don't free the GrafX2 logo when exiting the splash screen, it's now part of a struct and we free the struct at exit. This made the linux version crash. If you find it's memory waste, then make the logo a pointer instead of an array of bytes in the struct.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@887 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-28 19:18:30 +00:00
Yves Rizoud
67dbb218a2
GUI skins and fileselectors: cleaned up a little
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@886 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-28 18:19:21 +00:00
Yves Rizoud
ab9671b286
Separated font graphics from skin graphics. WIP, a lot is still hard-coded (font list) or not coded at all (save/load in ini, and match in skin selection screen).
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@885 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-23 21:04:58 +00:00
Yves Rizoud
f683d9ff2e
GUI skins: The loader now recovers cleanly from errors and displays a message that says what's the problem in the image.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@881 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-21 18:34:57 +00:00
Yves Rizoud
1910a39fd4
Gui skins: Added memory checks and correctness
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@877 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-17 19:38:55 +00:00
Yves Rizoud
3b417545b2
Merged in the fix of Issue 180 from trunk r874
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@875 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-17 19:16:03 +00:00
Yves Rizoud
cc4e60954f
Fix issue 180: Quicksearch filenames and brush resize shortcuts don't work
...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/release@874 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-17 18:28:41 +00:00
Adrien Destugues
51bcccce47
Yay ! A 10 hours trip in the train is good for my opensource productivity :)
...
- Moved font and cursor choice to the skin window instead of settings
- Changed them to use dropdown instead of buttons
- Save the config includintg the chosen skin (i had to wildly hack the save routine to allow '.' as a character in a string in the inifile... check if it's ok please)
- Renamed 00.rgb.studios to "the Peach", as they seem to be the same person :) in the help/bugfinders
- Wrote a little help for the skins window
- Some other random tweakings i already forgot.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@872 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-17 15:11:32 +00:00
Yves Rizoud
1b2fa69f6a
GUi skin elements are allocated on the heap
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@871 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-16 19:43:37 +00:00
Adrien Destugues
aff6fe50b2
-Renomed skins. "base" becomes "classic", "ilkke" becomes "modern" (as I heard Ilkke is working on yet another skin...).
...
-Converted them to png (base was a .gif but this is a bad format :))
-Changed dates in the splash screen to say coyright 2007-2009.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@869 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-15 20:09:57 +00:00
Adrien Destugues
414c7ba418
gp2x build fix.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@841 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-06 20:47:54 +00:00
Yves Rizoud
106912a5a0
Updated version number and README. Makefile can now change program version label, with 'make version LABEL=2.whatever
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@838 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-06 19:01:48 +00:00
Yves Rizoud
33bb5622c0
Fixed bad display and possible crash, when the zoomed area showed more than 512 pixels (requires resolution >1600)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@824 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-01 18:47:08 +00:00
Yves Rizoud
e8dd8588d0
Workaround of issue 167: Unicode only enabled while entering text, so at all other moments there's no SDL crash when pressing ^ key (French or German keyboard) on Windows 98
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@812 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-22 18:14:13 +00:00
Yves Rizoud
1b06317924
Fix issue 165: MS Windows no longer opens the program window at arbitrary (wrong) position, it restores instead the last position you used.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@810 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-20 00:11:32 +00:00
Yves Rizoud
29bfd973d3
Changed window caption
...
Fix: Made the "Safe resolution" shortcut do nothing in windowed mode. (issue 118)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@792 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-08 19:00:41 +00:00
Yves Rizoud
5d61f3aed5
Fixed the command-line argument '/triple', it was setting double pixels, not triple pixels.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@788 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-07 21:22:51 +00:00
Adrien Destugues
2fa494f77e
Removed postal address of the FSF since it's moving faster thant the website :)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@779 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-05 18:19:37 +00:00
Yves Rizoud
cfb323cdf0
(source code) Fixed mistranslation of Select_button / Unselect_button
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@765 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-02 18:27:05 +00:00
Yves Rizoud
e5f948076b
New: Picture effects screen, resizes / mirrors / rotates image (Issue 73)
...
New: Distort brush (Issue 34)
New: Pixel scaler "Triple" for 3x3 zoom (Issue 147)
New: Pixel scaler "Quadruple" for 4x4 zoom (Issue 151)
New: Pixel scaler "Wide2" for 4x2 zoom (Issue 148)
New: Pixel scaler "Tall2" for 2x4 zoom (Issue 149)
Fix of very old bug: Resizing the image didn't mark the image 'modified since last save'
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@763 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-02 16:44:06 +00:00
Yves Rizoud
1eeed5aca4
Added some missed translations in source code.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@755 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-21 17:48:26 +00:00
Yves Rizoud
c98bfafb76
Fixes r727 not compiling on windows,
...
Fixes an old issue on Linux where the program couldn't be run from a symbolic to the executable.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@743 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-07 21:53:20 +00:00
Yves Rizoud
31756d2ee5
Updated version number to 99.0
...
Makefile: README.txt and a new COMPILING.txt are now added in win32 and src packages.
Updated NSIS script to 99.0 version.
Cleaned up the list of error codes and error messages.
Removed a debug print.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@724 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-05 23:38:11 +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
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
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
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
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
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
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
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
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
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
Yves Rizoud
b9f1116fd3
Load/Save: Removed the drive icons
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@651 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-21 20:49:50 +00:00
Adrien Destugues
6b856384eb
Fixes some more memory leaks. There are still some but it looks like they are SDL fault
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@648 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-20 22:04:17 +00:00