1339 Commits

Author SHA1 Message Date
Yves Rizoud
2441c5cfd7 Lua: Fixed the inputboex's radio buttons that didn't act as radio since 2 April. Classic skin is now resaved as actual png.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1506 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-15 14:46:59 +00:00
Adrien Destugues
ca18967d11 Sorry !
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1505 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-15 09:02:17 +00:00
Yves Rizoud
85e4ea9a79 Fix compatibility warnings of libpng v1.4. Hopefully maintained compatibility with older versions... please report if problems.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1504 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-14 23:01:57 +00:00
Adrien Destugues
0ab3678768 Update SDL_image to 1.2.10 (linked against the new libpng).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1503 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-14 17:37:04 +00:00
Adrien Destugues
83753d9d79 * Use libpng1.4 on windows (the "1.3" version doesn't even exist, where did we got this file ?)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1502 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-14 17:31:54 +00:00
Adrien Destugues
899a7c0cc1 We have a new bugfinder.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1501 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-14 17:07:07 +00:00
Adrien Destugues
a8cf59b531 Fix issue 355.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1500 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-14 17:03:41 +00:00
Yves Rizoud
8c5e4fa730 Refresh menu correctly after loading skin: Restore multi-state buttons, which buttons are highlighted, and current paintbrush in top left icon.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1499 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-07 19:31:31 +00:00
Yves Rizoud
575d9e3be5 Skins screen now immediately load the screen from disk when you enter it. When editing skin from within Grafx2, this means you can immediately press enter or click OK to update and see change.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1498 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-07 19:17:26 +00:00
Yves Rizoud
038d1bc0f6 Fixes missing icon updates: On tool toggle (line,freehand,curve), On split buttons (ellipses, polygons), Palette scroll arrows (vertical or horizontal). Only missing: on skin change
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1497 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-07 18:47:08 +00:00
Yves Rizoud
14557f8f02 Fixed the display of brush in the top left button
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1496 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-06 23:08:49 +00:00
Yves Rizoud
9456b06143 Changed skin format to allow skinmakers to provide 'selected' versions of buttons. Still slightly buggy
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1495 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-06 19:29:28 +00:00
Yves Rizoud
e5edfda5cc Skins with flat buttons (Issue 352). Sample skins: Clax2, Clax3
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1494 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-30 17:59:32 +00:00
Yves Rizoud
eec8610817 Fix issue 351: Ugly status bar icon on Windows
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1493 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-30 15:35:33 +00:00
Yves Rizoud
3446c1084b Fixed: Using F1 in Settings screen didn't open the right Help page for each group of settings.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1492 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-29 15:33:51 +00:00
Yves Rizoud
acd31e1a3a Implemented 'Right click colorpick' option (Issue 300)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1491 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-29 15:18:12 +00:00
Yves Rizoud
e102282dca New skin, Aurora, made by DawnBringer
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1490 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-27 21:06:28 +00:00
Yves Rizoud
c353cf67a6 Fixed makefile and added missing doc
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1489 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-24 22:25:08 +00:00
Yves Rizoud
6c57c073d7 Makefile: Put PF fonts in archive
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1488 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-24 22:15:20 +00:00
Yves Rizoud
0adddf99dc Fix bad offset of brush on startup (recent bug). Files in file selector are now sorted case-insensitive on Windows.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1487 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-24 21:57:39 +00:00
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