1396 Commits

Author SHA1 Message Date
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
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
Adrien Destugues
5ebd635482 The makefile was a little bit outdated for the gp2x : it did not allow to use the joystick and didn't take care of lua.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1394 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-21 21:52:28 +00:00
Yves Rizoud
5f06caaf58 GPL license on Nitrofurano's Lua scripts. thanks!
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1393 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-21 21:46:03 +00:00
Yves Rizoud
8962e18362 Lua Inputbox: support for radio buttons
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1392 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-21 21:40:27 +00:00
Yves Rizoud
0017fbce72 Lua scripts: Added the 'table' library. Added GPL headers to DawnBringer's scripts (thanks!). 2 cosmetic fixes in scripts.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1391 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-21 15:43:11 +00:00
Yves Rizoud
e78b1d03be Updated credits in help. Updated Scenish skin (Now with Arne's palette as default)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1390 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-18 23:57:28 +00:00
Yves Rizoud
1e272832ea Add skin Scenish and font Seen, by iLKke. Update the logo in skin Modern. Fix selection of FG and BG colors (white and black) on program startup, to work with new skin where the lightest color is not white
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1389 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-17 23:17:24 +00:00
Adrien Destugues
2fb79034ac Build fix for gp2x
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1388 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-17 20:39:59 +00:00
Adrien Destugues
5575ad16bf Ready for 2.2 release !
(unless I missed something again...)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1387 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-17 20:23:37 +00:00
Yves Rizoud
d194c239f8 Fix help page for Filled circle: It was showing shortcuts of Outlined circle. Since 2008. Doh!
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1386 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-17 20:13:22 +00:00
Adrien Destugues
032e48c64b Handle svg icon properly on linux.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1385 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-17 18:15:14 +00:00
Adrien Destugues
b21d1360a2 * Refresh makefile.dep
* Some fixes in makefile to get gp2x binary built ok, add new skins and fonts to the release package.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1384 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-17 18:05:16 +00:00
Yves Rizoud
dd3240f66b Fix C64 formats loading: 8000-byte hicolor was wrong, Multicolor was reading 'noise' in colors above 16 (described in issue 211 comment 34)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1382 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-14 18:17:56 +00:00
Yves Rizoud
5708b92481 Updated docs README and COMPILING
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1381 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-13 16:28:59 +00:00
Yves Rizoud
54317d94ae Fix issue 326: Program doesn't find data directory on some linux (attempt. Tested ok on Debian)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1380 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-11 20:40:25 +00:00
Yves Rizoud
50791f752b Updated svn properties for new tree
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1378 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-08 23:43:02 +00:00
Yves Rizoud
e0b0b41a76 Fix a bug from r1369: In Palette Invert, when the rangehad an even number of colors, the colors in the middle would not be swapped
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1377 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-08 23:38:50 +00:00
Adrien Destugues
b1a5103562 C64 format handling was broken. Thanks petter for fixing it :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1376 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-08 10:25:18 +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
Yves Rizoud
2012e8f6b5 Makefile: added $(COPT) like in Gürkan's diff
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1374 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-03 01:26:59 +00:00
Yves Rizoud
1bfbb1a3b9 Old typo in SDL's readme. Oops.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1373 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-03 00:08:58 +00:00
Adrien Destugues
2f9a4db7f1 .desktop file must not include the extension for the icon name. This way programs can select the filetype they want.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1372 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-02 13:59:15 +00:00
Yves Rizoud
8486c61556 Fix issue 316: Crash in Brush factory when no scripts are present
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1371 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-03-02 00:59:01 +00:00