24 Commits

Author SHA1 Message Date
Adrien Destugues
32ec828835 Group all copyright statements in a single file.
This gives a much clearer overview of the licensing.

It also shows there are some problems:
- Some files are under GPLv3 only
- Some files have no known license at all.
2020-12-19 21:56:33 +00:00
Thomas Bernard
fed21439cc
fix warnings : No newline at end of file 2019-07-25 00:06:59 +02:00
Thomas Bernard
2d645edbc0 win32: save the "not maximized" window size
also fix the window start up position

see http://pulkomandy.tk/projects/GrafX2/ticket/102
2019-05-21 20:45:21 +02:00
Thomas Bernard
efeaad5b73
Remove usage of MAX_PATH_CHARACTERS in saveini.c 2019-05-07 17:25:06 +02:00
Thomas Bernard
556434a5df
Save_INI() save NULL strings as empty string 2019-02-15 13:16:49 +01:00
Thomas Bernard
4283fde82a MOD_CTRL => GFX2_MOD_CTRL, etc. 2019-02-13 15:42:51 +01:00
Thomas Bernard
5623c67be1
Save_INI_set_string() : make sure there is at least one space before the value 2019-02-10 11:04:12 +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
cd15c4197b Doxygen for saveini/readini 2018-11-15 23:24:32 +01:00
Thomas Bernard
4978a7cfe2 convert Warning() and DEBUG() to GFX2_Log() 2018-07-12 20:41:49 +02:00
Thomas Bernard
92facef46d Convert comments to UTF-8
most were encoded in Latin1 / CP1252
but a few lines in op_c.c were using IBM437/850 !
2018-06-26 11:37:19 +02:00
Adrien Destugues
878c926ce4 Fix issue 185 (XOR highlight) :
* Use a simple optimization algorithm to compute a good set of XOR color pairs
 * Algorothm is not very optimized (complexity is up to n^3). In practize, it stabilizes after 2 to 3 rounds of swapping colors
 * Use this color table for all XOR effects
 * Setting for grid color is now removed


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2048 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-01-06 12:46:46 +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
144a28412b Issue 453 : Virtual keyboard setting
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1999 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-18 23:41:55 +00:00
Yves Rizoud
db50b4ebdc More unification of layers and anim version: toolbars work. You can switch toolbars by right-clicking the icon from status bar: it proposes 'Anim' only while the current image has 1 layer (see Button_toggle_toolbar()). The animation-specific stuff (rendering...) isn't activated yet, see all the NOLAYERS places remaining. Also will need a trick for keyboard shortcuts to work on multiple buttons, and extra code on swap-to-spare, undo, redo, load etc. to sync toolbars with Image_type.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1909 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-02-27 23:19:23 +00:00
Yves Rizoud
496148d485 Tilemap effect: Added a menu to set options. Options saved and reloaded in .INI. Added support for shortcuts (but no helpfile so far, so you can't set them)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1870 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-11-13 23:21:59 +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
f34417919f Lua: now remembers which directory you last browsed when you quit. Fixed an issue where gfx2.ini isn't saved if there's a file gfx2.$$$ in same directory (Like after a crash)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1763 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-03 14:43:16 +00:00
Yves Rizoud
d0aaabf6b2 Merge of r1709 into trunk: Atari Falcon port
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1710 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-06 19:30:55 +00:00
Yves Rizoud
14a859f711 Key to swap buttons: reduced choices to Ctrl (default) and Alt
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1692 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-01-22 19:02:28 +00:00
Yves Rizoud
7ef353e8fd Issue 400:Button for changing stylus click into right click behavior. Done with actual keyboard keys, now to do joystick buttons
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1691 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-01-22 17:15:17 +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
acd31e1a3a Implemented 'Right click colorpick' option (Issue 300)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1491 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-29 15:18:12 +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