Adrien Destugues
47a9efa2e6
Remove outdated scripts.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1680 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-01-15 19:16:53 +00:00
Adrien Destugues
9a941c4512
Add script by dawnbringer that performs spritesheet animation.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1677 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-01-15 17:34:19 +00:00
Adrien Destugues
c802a9acfd
More scripts from nitrofurano. Some of the previous ones may be replaced, but I'm going to write a page with info on all scripts and sort it all out from there.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1676 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-01-15 15:11:47 +00:00
Adrien Destugues
2801345545
* Add script by dawnbringer that does an ellipse animation
...
* Add lua binding 'setmessage' to set the statusbar message. Nte this is reset by waitbreak() for now, so you have to do it before each call to updatescreen.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1672 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-01-05 18:08:46 +00:00
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
Adrien Destugues
243c9192c5
Correct font path for Haiku.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1667 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-12-21 12:06:05 +00:00
Adrien Destugues
65ede7dd91
The warning ehen there is an error with font may be bigger than screen. Use verbose_message instead (but it looks ugly)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1666 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-12-21 11:28:17 +00:00
Adrien Destugues
20034ef2ae
Fix build under Haiku.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1665 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-12-21 09:49:02 +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
fccadd5927
Forgot the scripts...
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1663 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-12-18 20:07:55 +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
e886553314
Fix issue 401: Touchscreen adaptation for Caanoo and Wiz
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1659 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-12-12 18:55:55 +00:00
Yves Rizoud
7aefad850d
Fix issue 396: increasing Saturation makes greyscale red
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1658 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-12-12 18:09:11 +00:00
Yves Rizoud
dc9df9d1e9
Missing update for 'sync views' setting (from r1622)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1653 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-12-03 19:05:22 +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
c55b9854df
Makefile fixes for OSX, kindly contributed by gruber.kristof (Issue 397)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1651 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-12-01 14:22:35 +00:00
Yves Rizoud
3797966fa7
Fix a warning
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1650 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-11-14 14:57:23 +00:00
masta.uy
0bfc627094
Some minor changes to make it compile on AROS.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1649 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-11-13 20:05:12 +00:00
Yves Rizoud
aeb7f26809
Fix issue 398 : Grafx2 not detecting mouse button release.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1648 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-11-09 22:21:30 +00:00
Yves Rizoud
9d3defc477
Forgotten library (issue 399)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1647 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-11-08 01:23:11 +00:00
Yves Rizoud
a38b7336e6
Fix help screens: since r1532, short texts were padded with a black rectangle on top instead of bottom.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1646 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-11-07 21:57:15 +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
a59de659bd
Fix crash when using gradient-filled functions without entering Gradient screen before. Thanks to PheeL for report
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1644 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-11-05 00:27:21 +00:00
Yves Rizoud
0ede7c43cd
Fix 'About' screen not enitrely redrawn. Thanks to Pheel for report
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1643 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-11-05 00:09:56 +00:00
Yves Rizoud
70b558c7c5
Solve choppy mouse movement (and unusual CPU usage) when a joystick exists (even when compiled without joystick support). Fixes the emulated cursor movement that was unusable when compiled with joystick. Redid the cursor acceleration system.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1642 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-11-05 00:03:55 +00:00
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