57 Commits

Author SHA1 Message Date
Yves Rizoud
e499aa4767 Test dialog for the Lua Gui functions.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2054 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-02-07 00:57:22 +00:00
Adrien Destugues
92e438bde5 * Add codenet lua script (linux only for now) to send pictures to a runnning C64
* Fix C64 multicolor format :
   - Improve background color detection
   - Do not save as FLI unless the file extension matches

fixes #521, #522 and #524


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2043 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-12-29 18:58:07 +00:00
Yves Rizoud
b0624b17ac Default settings: 20 undo pages, 16x4 vertical palette
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2022 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-30 17:58:59 +00:00
Yves Rizoud
4f74d16982 Issue 497: Right-Windows key (aka Right-Super key) now acts as the Meta modifier. Meta modifier is now labelled A (specific graphic) on AROS and Super on all platforms besides OSX which has its own character. Added a few defaults AROS-specific secondary default shortcuts.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2016 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-28 22:33:10 +00:00
Yves Rizoud
26613ec440 Program now remembers favorite mode layers/anim, based on last time you switched in splash screen or toolbar. Fixed graphic behavior when mode 5 is enabled/disabled, and added a safety (colors <4).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2014 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-28 00:19:57 +00:00
Yves Rizoud
5165312bff Upgrate Lua sample scripts to DawnBringer's 1.3 toolbox
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2013 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-28 00:04:55 +00:00
Yves Rizoud
2e16f0bec3 Lua version now displayed in stats. Now using Lua 5.2 on Windows. Add modified gfx2def.ini, forgotten in previous revision
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2000 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-19 21:09:07 +00:00
Yves Rizoud
f507cb7bcb Fix error handling in Lua function run(). Made the samples use run() instead of dofile()
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1989 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-08-11 22:06:11 +00:00
Yves Rizoud
5864569bd6 Updated version of skin 'Scenish' by iLKke
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1956 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-05-13 13:19:08 +00:00
Yves Rizoud
21659e9aee Reverted Dpaint skin, I accidentally replaced some time ago with one of my variants
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1949 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-05-05 23:56:10 +00:00
Yves Rizoud
341fa77a93 Fix the skin 'scenish' that was broken recently, and fix the new 'Fill' mouse cursor (Issue 457) in all skins to use the small version : the bigger one gets clipped as Grafx2 only uses 15x15 icons internallly.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1922 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-03-07 19:30:58 +00:00
Yves Rizoud
d34a2abc37 Added forgotten change of standard INI file, oops. This probably caused the settings for Tilemap mode to not be saved.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1921 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-03-07 19:27:30 +00:00
Adrien Destugues
781cda3a47 Add a distinctive icon for the fill (and color replace) tool.
Thanks to DawnBringer for icon drawing.
All skins use the same icon, feel free to draw something else for them.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1893 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-01-08 20:44:05 +00:00
Yves Rizoud
51a9ad0132 Icon for effect '8-bit'. Added in all skins
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1844 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-10-25 22:15:14 +00:00
Yves Rizoud
8fb16e7089 Re-integrated anim in trunk, fixing the 999-layer limit at the same time
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1841 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-10-19 23:35:56 +00:00
Adrien Destugues
22d3f19df3 * Add lua stuff to write to spare page
* Use it in Tiler to put the tilemap in the spare.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1834 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-09-25 20:37:45 +00:00
Adrien Destugues
6e30a87f4c Some fixes to the Tiler script.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1833 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-09-25 18:20:49 +00:00
Adrien Destugues
51c1a6de09 Add Tiler, a factory script that extracts (unique) tiles from spare to main page.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1823 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-09-24 11:15:27 +00:00
Yves Rizoud
2f3e1e3294 Lua: added 'matchcolor2' that uses DawnBringer's perceptual formula. Updated scripts numbering to 2.4
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1797 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-06-12 19:03:14 +00:00
Yves Rizoud
1d24885ddc Beginning of setting to disable multi-shortcuts: settable in options, saved and reloaded, no effect so far.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1768 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-04 19:34:15 +00:00
Yves Rizoud
27e8d15971 Reorganized scripts, fixed 'memory' not working with subdirectories
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1765 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-03 16:45:10 +00:00
Yves Rizoud
0129bb3590 missing file
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1764 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-03 14:43:47 +00:00
Yves Rizoud
9e7b8c7d4a Fixed issue 366: Default cursor of DPaint skin not very visible over white background : Made this cursor have black outline, and replaced the secondary cursor with the white borderless cursor.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1741 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-28 20:04:49 +00:00
Yves Rizoud
65d34dd7e0 Issue 346: Basic support for multi-line text with bitmap fonts: use alt-enter to type carriage returns (like Excel)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1737 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-26 18:44:43 +00:00
Adrien Destugues
f6da992038 * Add scripts from dawnbringer : 3D palette viewer and applycolor (with tint and colorize effects)
* Add the dawnbringer lib 
Some changes were made
 * Remove line and filled circle functions from dawnbringer lib 
 * Add C replacement (slightly faster, and useful enough to be part of core)

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1730 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-19 12:40:12 +00:00
Yves Rizoud
1ead8a3c42 Forgot skins
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1715 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-09 00:58:27 +00:00
Yves Rizoud
ad6da074db Forgotten file for Issue 400 : Button for changing stylus click into right click behavior
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1696 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-01-24 21:19:36 +00:00
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
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
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
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
9e20dd71fd Fix icon 'unslected layer 6' in DPaint skin
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1596 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-08-29 18:33:09 +00:00
Yves Rizoud
917dbc206b Fix in skin 'Modern', vertical palette arrows where horizontal
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1577 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-08-15 19:24:29 +00:00
Yves Rizoud
68dbb7ad74 Forgot the skins in previous commit.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1560 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-08-06 22:45:12 +00:00
Yves Rizoud
4f71dc4bba Update to the Aurora skin by DawnBringer
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1524 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-26 10:52:14 +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
14557f8f02 Fixed the display of brush in the top left button
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1496 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-06 23:08:49 +00:00
Yves Rizoud
9456b06143 Changed skin format to allow skinmakers to provide 'selected' versions of buttons. Still slightly buggy
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1495 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-06-06 19:29:28 +00:00
Yves Rizoud
eec8610817 Fix issue 351: Ugly status bar icon on Windows
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1493 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-30 15:35:33 +00:00
Yves Rizoud
e102282dca New skin, Aurora, made by DawnBringer
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1490 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-27 21:06:28 +00:00
Yves Rizoud
39bf004501 Added several pixel fonts
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1483 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-18 19:22:54 +00:00
Yves Rizoud
a84a9b7e66 Brushes are now saved in gfx2.cfg. Fix a severe bug in gfx2.cfg format: in Settings screen, the button 'Reload' was readign the file incorrectly, which caused (for example) the keyboard shortcut to 'Scroll Up' to disappear.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1481 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-18 00:07:06 +00:00
Yves Rizoud
eb9145346f Improved the safety backups: after restore, the original filename and directory are set. It uses a GIF application extension to save the data in the files (Only used for safety backups, it won't affect the GIFs that you save)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1467 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-27 23:21:29 +00:00
Yves Rizoud
8a27ca0892 Fix a few typos in Keyboard Shortcuts help. Fixed the unaligned 4 in DPaint font.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1459 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-17 17:03:16 +00:00
Yves Rizoud
b19a03d499 Skin DPaint: Fixed the menu cursor, its active spot was one pixel above the arrow point. Skin Classic: Added a central pixel, for consistency with the other skins since issue 104.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1452 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-04-11 16:38:22 +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
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