181 Commits

Author SHA1 Message Date
Yves Rizoud
190cfe1315 Mouse wheel now works on Gradients menu
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1579 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-08-17 17:18:31 +00:00
Yves Rizoud
c581b3c5a6 Fix lack of history step in 'Copy to spare - palette and remap'
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1576 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-08-15 19:07:19 +00:00
Yves Rizoud
4ea23b3e9a Color cycling based on the ranges in Grad menu. A speed slider has appeared. The speed data (and all cycling) is loaded from IFF/ILBM images from Deluxe Paint, Amiga and DOS versions. The data is not saved at the moment, so you shouldn't re-save cycling images
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1573 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-08-14 23:23:10 +00:00
Yves Rizoud
1c2ab9aa99 ILBM format : Cycling color ranges are loaded (unused so far)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1572 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-08-14 19:03:55 +00:00
Yves Rizoud
951ec2d48a Still work on SDL events. Airbrush seems to work. Need to do repeatable buttons.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1565 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-08-08 19:59:17 +00:00
Yves Rizoud
c9a917aa85 Fix some compilation warnings (mix code and declarations, breaks on gcc2). Fileselector: Fix the names of drives, which was one character too long, overwriting the scrollbar. Reworked the drive icons for black background (all skins)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1559 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-08-06 22:37:39 +00:00
Yves Rizoud
7a46da32d5 Support for hexa text input (internal)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1522 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-24 19:31:26 +00:00
Yves Rizoud
95665a99df New: Alpha drawing mode, in 'Translucency'. Drawing AA Text automatically activates it. Fixed a problem in non-AA text that made it pick wrong colors if the current skin wasn't using white and black.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1512 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-17 18:06:09 +00:00
Yves Rizoud
ab657b018e Fix issue 356: Crash when using font size > 99
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1511 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-15 19:34:08 +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
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
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
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
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
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
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
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
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
Adrien Destugues
481ea4579f * Update copyright year on splash screen
* Set DPaint skin as default


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1395 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-21 22:13:58 +00:00
Yves Rizoud
3ca5322379 Reorganized source code and directory tree.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1375 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-05 02:53:19 +00:00