933 Commits

Author SHA1 Message Date
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
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
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
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
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