1119 Commits

Author SHA1 Message Date
Yves Rizoud
2ad2574504 Updated credits.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1486 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-22 22:50:15 +00:00
Yves Rizoud
523c8a623f Makefile: Allow $(JOYCOPT) and -O$(OPTIM) on Linux. Patch by Johannes Kroll
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1484 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-20 17:56:38 +00:00
Yves Rizoud
39bf004501 Added several pixel fonts
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1483 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-18 19:22:54 +00:00
Yves Rizoud
d00a5cfcd4 Fix bug with >16 paintbrushes
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1482 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-18 01:11:58 +00:00
Yves Rizoud
a84a9b7e66 Brushes are now saved in gfx2.cfg. Fix a severe bug in gfx2.cfg format: in Settings screen, the button 'Reload' was readign the file incorrectly, which caused (for example) the keyboard shortcut to 'Scroll Up' to disappear.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1481 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-18 00:07:06 +00:00
Yves Rizoud
3c391bc3af Paintbrush menu: A dropdown list to choose a built-in resizable brush.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1480 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-16 17:37:32 +00:00
Yves Rizoud
4f047c181a Custom 16x16 paintbrushes can be stored in the 48 preset slots(Issue 345). Not saved/reloaded so far.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1479 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-16 16:44:26 +00:00
Yves Rizoud
f686d8a951 Issue 257: In the Paintbrush selection screen, outline the current brush
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1478 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-16 14:52:45 +00:00
Yves Rizoud
a29c025156 Speed up the translucency effect when there's a perfect match.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1477 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-16 14:29:13 +00:00
Adrien Destugues
039c8a7194 Add support for getting free space in Haiku.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1474 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-05 19:31:48 +00:00
Adrien Destugues
aeec8451dc Fix build under HAiku/gcc2.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1473 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-05 18:05:20 +00:00
Adrien Destugues
9644f7fb4a * Include NetBSD patch from Jeff. Thanks !
* Attempt to workaround the lua pkg-config problems. I'd like to know if it makes everyone happy ?


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1470 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-28 18:53:10 +00:00
Adrien Destugues
985e348fe4 Added missing doc about scrolling layers with "adjust" tool.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1468 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-28 18:04:45 +00:00
Yves Rizoud
eb9145346f Improved the safety backups: after restore, the original filename and directory are set. It uses a GIF application extension to save the data in the files (Only used for safety backups, it won't affect the GIFs that you save)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1467 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-27 23:21:29 +00:00
Yves Rizoud
e4de7a0210 Settings: cleaner code
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1466 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-26 22:24:39 +00:00
Yves Rizoud
c7d7938797 Settings: Added the missing mouse sensitivity; Fixed mouse droppings; Toggle settings in the other direction with right mouse button. Skins: Fixed small problem when changing skins, note taking color change into account immediately.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1465 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-26 19:22:00 +00:00
Adrien Destugues
f36f4c9ddb Some fixes to make the amiga build work better. I finally installed gcc on my amiga, so there is a
hope of getting a working build.
Everything compiles but fails when linking, because I've not figured out how to install SDL.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1464 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-24 21:38:39 +00:00
Yves Rizoud
f06dbc1389 Settings: Can now input numbers. Helpfile redone from scratch. Can use mouse wheel.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1462 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-24 18:49:44 +00:00
Yves Rizoud
9b0a160ffb Label 2.3wip for builds
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1461 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-22 01:08:40 +00:00
Yves Rizoud
05e84455c3 Redid Setting screen, unfinished (Can't input numeric values at the moment). System is rather generic, it will allow easier changes in the future. All .INI settings are now settable from within Grafx2.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1460 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-22 01:06:16 +00:00
Yves Rizoud
8a27ca0892 Fix a few typos in Keyboard Shortcuts help. Fixed the unaligned 4 in DPaint font.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1459 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-17 17:03:16 +00:00
Yves Rizoud
5e972c0659 Fix crash when loading 24bit+transparency PNG images, such as http://pixeljoint.com/pixelart/51675.htm - This patch discards the transparency data in this case, because interpreting it correctly is a much bigger change: todo sometime later.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1458 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-16 00:36:41 +00:00
Yves Rizoud
8887d4ece5 Palette: fix a harmless display problem after color reduce (introduced with histogram, which redesigned the window)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1457 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-14 18:25:55 +00:00
Adrien Destugues
85b95d4ff1 Fix build for Haiku
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1455 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-12 08:27:38 +00:00
Yves Rizoud
1e0cafdae1 Fix issue 340: Inaccurate cursor position when selecting palette colors. Also improved greatly the picking of color: It's now on mouse down (instead of release), you can drag the mouse to another cell. Dragging won't activate any other buttons, only palette cells.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1453 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-11 18:43:32 +00:00
Yves Rizoud
b19a03d499 Skin DPaint: Fixed the menu cursor, its active spot was one pixel above the arrow point. Skin Classic: Added a central pixel, for consistency with the other skins since issue 104.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1452 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-11 16:38:22 +00:00
Yves Rizoud
ff2c44eaf9 Fix issue 339 (Grad Rectangle can leave construction lines on image)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1451 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-10 19:46:41 +00:00
Yves Rizoud
048f197636 Continuation of Issue 210:Bottom pixels not complete visable in some zoom modes. I chose to have a dead zone at bottom of zoomed area only when it's at bottom of image too. The dead zone is created only if the remaining space is <= 50 of a normal zoomed line, So the usable pixels are guaranteed to be > half a normal line, and the dead space is always <= half a line.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1445 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-05 17:56:36 +00:00
Adrien Destugues
a865415df6 Always display the colorpicker cursor as there is no preview brush.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1444 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-05 09:50:25 +00:00
Adrien Destugues
eb14b70724 Introduce a PAINTBRUSH_SHAPE_NONE for the colorpicker.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1443 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-05 09:44:57 +00:00
Adrien Destugues
befba16697 Allow to display the last line of pixels in magnifier.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1442 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-05 09:28:52 +00:00
Yves Rizoud
39629a8cba Palette: some refactoring. Fix an old bug with Swap, it was not updating the internal color count, so a 'Zap unused' would be based on wrong data. Added missing update of (visual) pixel count, after Copy and Swap, and Next/Prev color (hotkeys). The Palette screen now uses the user's current hotkeys for Prev/Next FGColor, Prev/Next BGcolor, and Colorpicker (instead of the defaults [ ] shift+[ shift+] ~ ).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1441 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-05 00:17:19 +00:00
Yves Rizoud
6bf9fc7020 Palette histogram: Autodetect the useful range. Now draws a 1-pixel column when the color is present (can more easily see unused colors). Black outline (not really sure if it looks better). Fixed the marker on the column of the window color, sometimes it was on wrong column because of missing parenthesis
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1440 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-04 22:50:15 +00:00
Yves Rizoud
97d8d3600c Palette: Fix an erasing of the histogram button that happened when playing with ranges (drag a range from multiple to single color). Fix the pixel count that was printed one character to the left without erasing previous number, thus appearing 10x too much
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1439 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-04 21:14:26 +00:00
Adrien Destugues
f47d377534 fix stupid bug in histogram window.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1438 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-04 11:35:55 +00:00
Adrien Destugues
f6ecbb24ea Added an histogram window to see the color usage
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1437 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-04 10:35:37 +00:00
Adrien Destugues
e1f8e2837a Relayouting the palette screen to make a little more space and sense. Removed the button to recount the color, consider the option to disable autocounting now deprecated.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1436 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-04 09:33:42 +00:00
Yves Rizoud
ab0d336751 Fix crash in inputbox when called with wrong arguments (negative precision for number input). Tweaked colors of icons
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1435 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-02 15:24:33 +00:00
Yves Rizoud
a8d7f0d01e Fix issue 336: building on linux trunk fails (Makefile error)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1432 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-02 08:02:13 +00:00
Adrien Destugues
a28eb09337 Fix typos reported in #335.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1431 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-31 17:02:23 +00:00
Yves Rizoud
0780576790 Fix issue 334: Lua: setpicturesize causes overdraw on menu
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1429 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-28 04:54:25 +00:00
Yves Rizoud
bd87a620c3 Fix issue 333: Text window which never closes when opened by 'T'
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1425 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-27 23:50:07 +00:00
Yves Rizoud
bf53a167ec Lua Fix radio buttons that can't be re-checked if they are at top of inputbox
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1421 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-25 23:04:14 +00:00
Adrien Destugues
a31a6bebd1 Update scenish screen with a nicer preview.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1407 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-23 22:30:18 +00:00
Adrien Destugues
777d2c318a Dividing by 256 works much better when working on integers. This avoids weird stuff happening to the sliders indicators in the palette screen...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1406 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-22 18:30:44 +00:00
Adrien Destugues
65de99f8bc add the svg icon to the source arc. too
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1404 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-22 11:32:04 +00:00
Adrien Destugues
1dd6776114 The "ziprelease" target missed the svg icon.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1403 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-22 11:29:57 +00:00
Yves Rizoud
2d66796b61 More fixes to make DPaint skin and font the defaults. (should have used a global #define)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1398 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-22 01:49:51 +00:00
Yves Rizoud
4aa61a4407 Fix makefile (install/uninstall) to install/uninstall scripts, and added Ilkke's Scenish skin and Seen font to archives. Updated Help credits. Made DPaint the default font for new install (it goes together with DPaint skin)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1397 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-22 01:40:20 +00:00
Yves Rizoud
df5db73f5a Updated credits; Fix issue 309: Libpng 1.4 breaks build process
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1396 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-22 00:58:00 +00:00