Yves Rizoud
|
de9f194b4a
|
Fix issue 391: backward memset
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1640 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-10-28 19:34:02 +00:00 |
|
Yves Rizoud
|
fba72c9ebd
|
Removed struct packing everywhere, except RGB 24bit struct (and thus 768-byte palettes). This might fix some issue on Caanoo, where either the packing didn't work (and the struct had wrong size) or it worked and caused unaligned reads/writes.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1639 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-10-26 22:51:07 +00:00 |
|
Yves Rizoud
|
e5272e74f7
|
Fix memory alignment problem that caused wrong color columns when loading 24bit imges on Caanoo. Thanks PheeL for report
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1638 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-10-25 21:15:43 +00:00 |
|
Yves Rizoud
|
a28f574b3b
|
Virtual keyboard for numeric entry
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1637 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-10-07 18:57:44 +00:00 |
|
Yves Rizoud
|
5fd72996c3
|
Virtual keyboard for string input
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1636 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-10-02 19:05:30 +00:00 |
|
Yves Rizoud
|
b78bae876b
|
Sped up fast 24bit color reduction (Caanoo specific)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1635 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-10-02 13:52:42 +00:00 |
|
Yves Rizoud
|
e3e9be75b0
|
Unification of button system for the three current console ports.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1630 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-29 23:06:26 +00:00 |
|
Yves Rizoud
|
bd13dd93b1
|
Integrated the changes by PheeL for Caanoo support
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1629 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-29 22:21:25 +00:00 |
|
Yves Rizoud
|
dbac6dcfe3
|
Lua: Only shows files ending in '.lua'. All system libraries available. Allow loading 'libs/foo.lua' by using 'require(''foo'')'. New 'memory' library, to allow persistence of data.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1628 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-27 01:14:54 +00:00 |
|
Adrien Destugues
|
3760289a01
|
There was a space in some lua function names.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1627 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-26 16:18:15 +00:00 |
|
Yves Rizoud
|
9c1d9f9e79
|
Updated helpfile: Paintbrushes (customized brushes in screen) and the setting Sync_views
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1623 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-17 16:42:55 +00:00 |
|
Yves Rizoud
|
e5703c0895
|
Implemented issue 327: Having the magnifier settings identical for main and spare page
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1622 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-17 16:25:00 +00:00 |
|
Yves Rizoud
|
6d059e7234
|
Fix issue 338: UI scale should stay the same regardless of pixel scale
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1621 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-17 15:35:13 +00:00 |
|
Yves Rizoud
|
db8bde5ba6
|
Fix issue 380: Exiting zoom mode in a large image jumps the viewport to a 'random' position
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1620 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-17 14:27:43 +00:00 |
|
Yves Rizoud
|
82e469a11e
|
Now save all color ranges, not only the cycling ones. Only solid ranges (1 color) are discarded. Also fixed a few harmless compilation warnings
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1619 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-16 19:28:59 +00:00 |
|
Yves Rizoud
|
29b1acc63f
|
Fix an issue with the comments in file, was not working (since a recent change?)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1618 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-15 22:15:43 +00:00 |
|
Yves Rizoud
|
e4cda09bf2
|
Lua: changed selectbox to use callbacks.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1616 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-12 22:43:17 +00:00 |
|
Yves Rizoud
|
535fc73860
|
Lua: function 'selectbox' with multiple user-defined buttons
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1615 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-12 22:11:42 +00:00 |
|
Yves Rizoud
|
b0d2f9741d
|
Improved Spare remapping and Brush recolorizing, with new color-matching formula provided by DawnBringer (Perceptual color-distance with 25 brightness weigth-in). Fix in 'Copy to spare/Palette & remap' : Transparent color of the spare wasn't renumbered accordingly.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1613 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-12 19:09:27 +00:00 |
|
Yves Rizoud
|
32f85909ef
|
Lua: Fix clipping for getbackuppixel
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1612 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-12 17:35:20 +00:00 |
|
Yves Rizoud
|
499c9bc943
|
Fix issue 377: getbackuppixel doesn't work after image resize
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1611 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-12 17:15:16 +00:00 |
|
Yves Rizoud
|
c53c6415c3
|
Fix important bug where resizing an image or using any transformation resets transparent color to zero
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1610 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-12 14:58:25 +00:00 |
|
Yves Rizoud
|
79dbd3722a
|
Fix sliders displayed position. Pfew.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1609 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-11 00:37:43 +00:00 |
|
Yves Rizoud
|
e44eb104fa
|
Fix the control issue with scroll bars. Still need to fix the displayed slider on them
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1608 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-10 23:34:14 +00:00 |
|
Yves Rizoud
|
6800cb7b9e
|
Fix sliders controls bad offset - especially visible in Palette with RGB scale 3 to 16
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1607 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-07 00:13:10 +00:00 |
|
Yves Rizoud
|
730903251c
|
Fix issue 384: Imprecise palette sliders when RGB scale is lower than 256 (but bigger than 3)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1606 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-06 23:33:50 +00:00 |
|
Yves Rizoud
|
25f8942641
|
Cycling colors: increased max speed from 64 to 105, because I found old LBM file that uses this speed
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1605 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-04 14:59:33 +00:00 |
|
Yves Rizoud
|
4ac5d47ac8
|
Lua: fix a stray mouse cursor (hourglass shape) that gets drawn over menu. Richard, that's your small freak gfx-bug from 13 August
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1604 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-02 22:52:16 +00:00 |
|
Yves Rizoud
|
cf8af1902c
|
In /rgb 3 mode: If skin colors are compatible with /rgb 3, they are the ideal colors for matching, and those you add when loading low-color images or typing 'Backspace' in Palette. Otherwise the ideal color set is hard-coded black/dark_blue/grey/white
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1603 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-02 00:39:43 +00:00 |
|
Yves Rizoud
|
a61bb9893c
|
Gradient menu: palette now resets when you release speed slider, this fixes bad menu colors when they are in the shift. Lua: messagebox() and inputbox() now recompute menu colors before opening, this fixes bad menu colors if the script had altered the palette earlier.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1602 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-02 00:06:57 +00:00 |
|
Yves Rizoud
|
9f47e427c7
|
Fix horrible crash with GIF-saving
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1601 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-09-01 00:06:48 +00:00 |
|
Yves Rizoud
|
962d23dbc4
|
The gradients (Cycling or not) are now per-picture, so: The main and spare page have separate gradients; Loading a picture resets the gradients and loads the new image's (if any); Undo and Redo correctly navigate to the right gradients when you Undo/Redo Loading different color-cycling images.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1600 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-31 23:48:10 +00:00 |
|
Yves Rizoud
|
838dd63a0c
|
GIF format loads and saves color cycling data
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1599 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-31 22:30:04 +00:00 |
|
Yves Rizoud
|
97060bc146
|
Improved Gradation menu for cycling colors, including a horizontal scrollbar. Added helpfile.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1598 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-29 23:56:42 +00:00 |
|
Yves Rizoud
|
d78c33855b
|
Drag-n-drop file in Grafx2 window is now cleanly prevented while a window is open: The OS's mouse cursor is the 'forbidden' sign. Preparatory work for horizontal slider controls.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1597 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-29 19:21:33 +00:00 |
|
Yves Rizoud
|
05e05d0d75
|
Keyboard shortcut for enabling/disabling color cycle.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1595 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-29 18:11:16 +00:00 |
|
Yves Rizoud
|
a5b5fa69e8
|
Fix window displacement (window didn't redraw when you released mouse button, only if you additionally moved mouse)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1594 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-28 18:01:21 +00:00 |
|
Yves Rizoud
|
38be354d7b
|
Fix issue with previous commit : crash when previewing pictures with non-square pixels
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1593 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-25 19:40:52 +00:00 |
|
Yves Rizoud
|
236a026137
|
File selector: display preview no longer changes GUI colors when the image uses less than 253 colors. Fixes many cases of issue 215, and generally allows much smoother browsing.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1592 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-25 18:55:48 +00:00 |
|
Yves Rizoud
|
fc42854490
|
Even more work on GUI color auto-detection. Now additionally tries to find a specific color scheme for CPC palettes (pale green and grey), if the skin's colors can't be accurately represented in /rgb 3.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1591 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-24 22:29:48 +00:00 |
|
Yves Rizoud
|
03a813baec
|
More work on auto-detcting GUI colors. Fixes the cases like the 16-color ramp black->yellow reported by DawnBringer. Seems to work better with many 4-color cpc palettes
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1590 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-24 18:27:39 +00:00 |
|
Adrien Destugues
|
cf417c9bb9
|
Enable lua string library (int to string, string to int and some other useful things)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1588 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-22 20:26:30 +00:00 |
|
Adrien Destugues
|
fef8aec302
|
Put a visible error message in case of SDL_Image fail.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1587 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-22 18:26:12 +00:00 |
|
Adrien Destugues
|
0631f57399
|
Enable lua scripting on Haiku.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1586 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-22 18:02:31 +00:00 |
|
Yves Rizoud
|
3ed9d0d652
|
Improve auto-detection of menu colors when using very small palettes
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1584 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-22 16:48:19 +00:00 |
|
Adrien Destugues
|
7efbe04c6a
|
Don't lose the filename when changing extension.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1583 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-22 16:39:20 +00:00 |
|
Adrien Destugues
|
715ddad331
|
iBrush rotation now snap cursor in an useful way (to fixed angles)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1582 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-22 16:02:17 +00:00 |
|
Yves Rizoud
|
520da7d168
|
Reverted the change of input system (mostly, still needs more testing) Changed color cycling so it no longer needs a separate thread.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1581 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-19 00:33:06 +00:00 |
|
Yves Rizoud
|
858bab41c4
|
Drag-and-drop file: Question 'Discard unsaved changes' now works
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1580 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-08-17 17:22:46 +00:00 |
|
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 |
|