66 Commits

Author SHA1 Message Date
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
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
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
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
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
061eba29de Lua scripts can have individual keyboard shortcuts (Issue 344)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1532 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-07-24 16:51:56 +00:00
Yves Rizoud
a2eade7203 Fix menu colors after a Lua script modifies the palette (Bug introduced in r1527)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1531 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-07-22 17:30:41 +00:00
Yves Rizoud
272cc59395 Added a key shortcut to open Brush factory (Lua scripts), and another one to repeat the last used Lua script. Updated helpfile. At the moment no key is affected by default, so if DawnBringer has a preference...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1527 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-07-06 21:48:38 +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
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
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
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
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
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
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