67 Commits

Author SHA1 Message Date
Thomas Bernard
1732b32d78
Convert gfx2def.ini to UTF-8
Also make sure it has correct line endings
2019-02-10 11:04:12 +01:00
Nic Soudée
228e651b4f Correct some spelling mistakes
Automaticaly --> Automatically
Invalide --> Invalid
Strech --> Stretch
allows to --> allows one to
attachement --> attachment
contraints --> constraints
inconsistant --> inconsistent
occured --> occurred
occurences --> occurrences
permits to --> permits one to
postion --> position
regularily --> regularly
transfered --> transferred
2019-01-24 08:32:58 -05:00
Thomas Bernard
0a38b78a9c samples_2.4 => samples 2018-12-08 18:04:35 +01:00
Thomas Bernard
6189b43917
Add a gfx2.ini parameter to set the gamma for Thomson MO/TO palettes 2018-11-15 23:39:00 +01:00
Thomas Bernard
ebad2b5946 fix typo in gfx2def.ini (noticed by HoraK-FDF) 2018-07-27 14:29:25 +02:00
Thomas Bernard
673d3836d2 Fix line endings and spaces in *.lua scripts 2018-06-21 21:54:15 +02:00
Thomas Bernard
545308265b Add the ability to print unicode characters in addition to "Latin1" ones 2018-02-20 15:44:39 +01:00
Adrien Destugues
f4bfaeca89 Add scripts to color-reduce pictures with constraints
Scripts for various Thomson machines, Oric and ZX. All the hard work of
Samuel Devulder, with extensive research on color palette reduction
algorithms, lots of testing, research and debugging.

Thanks a lot!
2017-03-21 21:48:39 +01:00
Adrien Destugues
be1cffc1fb Add some useful scripts :
- ThomsonConstraints is yet another constraint checker
 - FontConvert extracts chars from a font as binary data


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2060 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-03-03 16:18:14 +00:00
Yves Rizoud
495245b17d Lua: gui library supports textboxes, for numbers or strings.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2056 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-02-10 20:14:08 +00:00
Yves Rizoud
ea72bfe13f Lua: work-in-progress library (made in Lua) for object-oriented GUI. Already implements windows, buttons, and dynamic labels.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2055 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-02-08 01:34:03 +00:00
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