808 Commits

Author SHA1 Message Date
Adrien Destugues
111fbbcf33 -Introduce new Requester_window to ask the user to enter a single value
-Reduce colors in the palette screen is now a dropdown for easy access to usual values. "Other" option opens a requester to enter a custom one if needed
-Some cleanup to make things a little more readable
-Build fixes after versionning system revert


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1090 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-24 13:42:59 +00:00
Yves Rizoud
19decb6d4c Trunk: Restored working behavior for version and pversion
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1088 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-21 23:00:58 +00:00
Yves Rizoud
2a8546eaef trunk: Windows' .ICO icons can be read too. Removed jpeg.dll, not used.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1086 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-21 22:28:38 +00:00
Yves Rizoud
db130fc60d trunk: Implemented file loading of JPEG, TGA, TIFF and a few others, by using SDL_Image builtin loader. Added visible 'hourglass' cursor during 24bit color reduction.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1085 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-21 22:12:56 +00:00
Yves Rizoud
9ef0e6b74c (trunk) File save/load only shows common file extensions by default. (choice 'all' in filter, different from '*.*')
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1083 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-21 01:52:07 +00:00
Yves Rizoud
9e68266ff8 Merged release into trunk
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1081 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-20 19:02:54 +00:00
Yves Rizoud
4afff2ca9b Release: Fix issue 217: high CPU usage while idle
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/release@1080 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-20 18:46:37 +00:00
Yves Rizoud
8cf9b530a8 Release: Fix issue 217: high CPU usage while idle
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1079 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-20 18:43:34 +00:00
Yves Rizoud
d9e95ae921 (trunk) Tell svn to ignore changes in gfx2.cfg
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1071 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-12 23:39:49 +00:00
Yves Rizoud
9e866aec5c (trunk) Added shortcuts to more layers tools. Remove gfx2.cfg from versioning, so anybody can use his own (get http://grafx2.googlecode.com/svn-history/r1036/trunk/gfx2.cfg to recover latest version in your workspace)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1070 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-12 23:32:40 +00:00
Yves Rizoud
953185205d Internal support for variable-height menu
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1066 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-07 22:27:14 +00:00
Yves Rizoud
6f8223b09b trunk: Continued the handling of multiple effect on single shortcuts. Multiple window-open work (one after an other), and the restriction on shortcuts that are disabled while drawing is now applied correctly.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1063 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-06 23:24:00 +00:00
Yves Rizoud
5fd28bdd3b trunk: Reserved hotkeys for layers. Allowed a single shortcut to launch several actions (Issue 88)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1062 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-06 22:42:43 +00:00
Adrien Destugues
bdf0186c7f -Added help about rgb option
-Better formatting of the video mode list


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1061 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-06 12:26:29 +00:00
Adrien Destugues
f253728e5e Somewhat fixed joystick cursor management on gp2X... doesn't work so well but still, it's useable now.
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/release@1054 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-03 13:14:24 +00:00
Adrien Destugues
33c371798d Fix build on gp2x. Joystick handling of cursor is moving way too fast on the small 320x240 screen, but I can't understnad why...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/release@1053 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-03 12:33:52 +00:00
Adrien Destugues
93efc7e9e9 Everything compiles. Some kludges left regarding version and pversion. Now to get it to link...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1037 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-19 23:49:52 +00:00
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
7a19586b2d (trunk) Version label: '2.2wip'
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1034 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-13 16:06:55 +00:00
Yves Rizoud
1a72b90af3 (trunk) Removed sample images.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1032 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-13 15:08:02 +00:00
Yves Rizoud
2241eee7f1 Report fix of issue 211 from release branch
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1030 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-13 14:48:35 +00:00
Yves Rizoud
b26a812785 Fix incompatibility of 2.1 with DOS (issue 216)
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/release@1029 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-13 13:57:14 +00:00
Yves Rizoud
4ec373dba6 Update the 'release' branch
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/release@1027 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-12 15:20:05 +00:00
Yves Rizoud
2345a764d6 Fix severe old bug where RGB scale couldn't be set back to 256. Update NSIS script (win32 installer)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1026 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-11 22:40:47 +00:00
Yves Rizoud
0f5d002505 version tag
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1025 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-11 22:16:41 +00:00
Yves Rizoud
8cf1266325 Updated readme
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1023 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-11 21:18:42 +00:00
Yves Rizoud
e1d8ca9d05 Fixed one compilation warning, fixed typo in help, Updated help and credits (pending approval by Pulkomandy!)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1022 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-11 19:52:09 +00:00
Yves Rizoud
2ce0a2538b Merged in fix by Petter (issue 211 comment 26). Made the C64 save window remember its settings (while the program is open)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1021 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-06 18:59:20 +00:00
Yves Rizoud
c894caf2f8 Merged in Petter's save options for c64 pictures. (issue 211 comment 25)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1020 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-05 22:10:49 +00:00
Yves Rizoud
ba42b3cb17 In fullscreen mode, auto-activate wide/tall pixels when you load a C64 multicolor picture, or a PNG picture you saved with wide/tall pixels.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1019 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-05 21:20:43 +00:00
Yves Rizoud
b934f1d57c 4-space tabs for c64 load/save code
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1018 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-05 20:52:43 +00:00
Yves Rizoud
b92e8f288e Updated copyright line
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1017 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-05 19:53:15 +00:00
Yves Rizoud
2e46820b83 Fixed tabulations to 2spaces (the most common in this file). Tiny bit of error-check on saving. Implemented preview scaling to display c64 widepixel pictures properly. Not done yet: Auto-set wide or wide2 pixels after loading a picture with wide pixels.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1016 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-05 19:49:18 +00:00
Adrien Destugues
6c3963bf33 We're going to get it right...
Some vocabulary :
-We call "screen" the pixels that the user actually sees, including any menu, cursor, opened window. So the function count_used_colors_screen_area counts colors there.
-We call "picture" the pixels that make the full picture, as you want to save it. count_used_colors and count_used_colors_area counts color there.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1015 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-05 17:02:18 +00:00
Adrien Destugues
62ba2fd885 Added c64 picture samples
Put the correct version of loadsave.c. Sorry I'm a little ill today.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1014 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-05 16:22:35 +00:00
Adrien Destugues
cc47a21eca Added support for loading and saving c64 fileformats. Please test it :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1013 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-05 13:55:51 +00:00
Adrien Destugues
04cbf954ca Fixed a display bug with small picture in zoom mode and grad rect.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1012 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-05 13:41:23 +00:00
Adrien Destugues
dcbbd07f8a Fixes issue 212 (segfault in gradrect). The operation is now cancelled if the rectangle is fully out of the picture.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1011 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-05 12:55:09 +00:00
Yves Rizoud
d6bf9413bf Displayable tile grid (Issue 171)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1007 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-26 23:42:55 +00:00
Yves Rizoud
7bfdb28936 Keyboard shortcuts that open a window now also close it (Issue 88). Fixed a recent bug that made contextual help in FX window only work once.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1004 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-23 00:41:40 +00:00
Yves Rizoud
8ac66726f2 Brush container integrated as the bottom row of Paintbrush screen (F4)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1003 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-22 22:11:01 +00:00
Yves Rizoud
5c4219d3fa Improved built-in resizable brushes: circle brushes are no longer limited to even diameters (2 4 6), and random brush now only has isolated pixels (no pixels touch each other).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1002 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-22 18:39:14 +00:00
Yves Rizoud
1ccdf24dfa Brush container (Issue 135) now working with color brushes too.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1001 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-20 23:13:41 +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
Adrien Destugues
c957107d85 Fixed the same stupid bug about endless looping on palette reduction again.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@996 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-17 19:48:20 +00:00
Yves Rizoud
025d27ff71 (cont'd from previous commit) Fixed Issue 183. Added intermediate screen updates during expensive operations (including rectangle, I forgot it in previous commit). Display more responsive to users of fast mice.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@991 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-15 16:56:20 +00:00
Yves Rizoud
562099f17f Improved mouse experiment: Mouse merging is automatically off when drawing and on when not drawing.(ignores ini setting). Tools that paste the brush along a shape (lines, cont'freehand, circles, splines) now force a screen update about 10 times per second, but no more than once every 8 pixels drawn. See issue 183.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@990 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-15 01:15:39 +00:00
Adrien Destugues
6cdc5e3042 -Use nearest neighbour and no error diffusion when loading 24bit images
-Some cleanup to the palette computing function, but no real improvement. I can't get it to perform better ...


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@987 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-09 20:26:10 +00:00
Adrien Destugues
d5b5ba6de3 Fixed stupid bug and some comments in 24bit color reduction.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@986 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-09 18:33:18 +00:00