Yves Rizoud
|
f24d4a55bd
|
Lua script selector: can now browse directories. Todo: handle double-click.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1668 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-12-22 02:21:26 +00:00 |
|
Yves Rizoud
|
b849cc1706
|
Lua: added finalizepicture()
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1664 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-12-18 23:42:43 +00:00 |
|
Yves Rizoud
|
4fc9c2ef30
|
Lua: changed sleep() to wait() and waitbreak() that are now in seconds, and the last one returns early with a value of 1 if user hit esc. They allow delay of zero if you only want to poll keyboard/mouse and update mouse position. Added updatescreen(): It must be followed by wait() or waitbreak(), because of the double-buffer screen system. See the Sierpinski scripts for example usage.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1662 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-12-18 20:03:59 +00:00 |
|
Yves Rizoud
|
6e316937f4
|
Lua: added sleep command
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1661 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-12-18 17:48:36 +00:00 |
|
Yves Rizoud
|
9b4be3abd1
|
Modified filelists so that they can support arbitrary width. Generalized the 'quicksearch' system and implemented it in Brush Factory screen: Type some letters to locate matching filename.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1660 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-12-17 00:56:58 +00:00 |
|
Yves Rizoud
|
c2cd990108
|
Lua: Added setforecolor() and setbackcolor() (Issue 402)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1652 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-12-03 19:01:08 +00:00 |
|
Yves Rizoud
|
7a3ae5824a
|
Merged the specifics of Caanoo 1.2 port by Pheel + Enabled TTF text on Caanoo
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1645 416bcca6-2ee7-4201-b75f-2eb2f807beb1
|
2010-11-05 01:03:11 +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
|
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
|
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
|
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 |
|