Thomas Bernard
77005eb780
use screen.h instead of sdlscreen.h, etc.
...
Create grafx2-win32 MSVC++ project
create keycode.h
various fixes
2018-07-02 11:38:51 +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
Nic Soudée
a01e7eea69
Implement shortcut/underscore for input button
2018-06-24 15:25:26 +00:00
Thomas BERNARD
56a3c9566d
Program_version SVN_revision are now const char[]
2018-05-22 17:34:52 +02:00
Thomas Bernard
42a08d0f23
remove some warning when compiling with MinGW32
2018-03-19 16:49:37 +01:00
Thomas Bernard
30f23b93ef
Massive change of button callback function prototypes
2018-03-10 00:46:11 +01:00
Thomas Bernard
60beebc9ac
fixes for MSVC non-standard C library
...
strcase => _stricmp
strncase => _strnicmp
strdup => _strdup
snprintf => _snprintf
a compliant snprintf() is supposed to be available
in MS Visual Studio 2015 and later
2018-02-20 15:45:45 +01:00
Thomas Bernard
d1426c61c5
Generate version.c in MSVC project
2018-02-20 15:45:45 +01:00
Thomas Bernard
6f48d7fefe
Add MSVC 2010 project file and a make the project compile
2018-02-20 15:45:45 +01:00
Thomas Bernard
8ae651c75f
put common fields for Main and Spare page in a T_Document structure
2018-01-22 14:46:44 +01:00
Adrien Destugues
78fcc648c3
Partial merge of the SDL2 branch into trunk
...
* Mainly get the cleanup of window drawing functions.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2102 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-02 13:44:18 +00:00
nokturnal
afc6ee8e4d
atari/mint fixed free ram display
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2038 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-11-04 15:38:40 +00:00
nokturnal
390ad46b96
atari/mint fixed gcc warnings, compilation fix
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2037 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-11-04 12:54:55 +00:00
Yves Rizoud
80fc7da7f6
Fix issue 462: Save/Load path problems: Main, Spare and Brush now have completely distinct fileselector settings.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2003 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-22 16:47:39 +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
mazzearos
469431446e
Fix for my previous commit (r1973): Print only the volume
...
name. Limit length to 8 because exceeding the requester
border leeds to crashes.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1974 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-08-02 16:51:38 +00:00
mazzearos
7e7c718d40
AROS has working statfs(), so lets use it for printing the free disk size.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1973 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-08-02 16:02:33 +00:00
Yves Rizoud
f77f38e238
When running new version of Grafx2 for first time, new shortcuts take priority over user's. Useful for the space=pan (issue 233) that replaces default space=left-click. Also improved pan to display updated xy coords.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1902 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-02-03 23:32:32 +00:00
Adrien Destugues
46f2ec9475
Patch by Syllable software to complete Syllable support. Thanks!
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1900 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-01-15 13:52:31 +00:00
Adrien Destugues
e875597964
Merge the "CPC Mode 5" branch to trunk.
...
Note this alsoincludes the "oldies" branch.
This has the following consequences :
[C64]
* Loading and saving of screen-only, and color-only C64 picture is removed
* Loading and saving in FLI mode is now possible
* FLI constraint checker : tries to convert your image to FLI format, and put all the areas where it couldn't find a solution in a separate layer for you to fixup
* This is currently accessible only with a shortcut. Menu will come next.
[Amstrad CPC]
* Loading and saving of pictures in "Mode 5" is now possible. This custom format allows overscan mode 1 with rasters on 2 inks and split rasters on a 3rd one.
* Mode 5 constraint enforcer : will ensure you can only draw pictures that are valid in mode 5. Each ink is seen as a layer.
* This is accessible from a new button in the FX menu.
[Generic]
* Added patch as I saw it : platform that don't support reporting "free space" on disk will not display anything (instead of "0 bytesÃ" as before)
* For other platforms, when the free space is 0, we now have a disk full message.
The merge was not straight forward. I hope I didn't break too much things.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1810 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-06-19 20:15:22 +00:00
Yves Rizoud
1f10338f60
Merged trunk into branches/mode5 (=update mode5 branch to latest)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1785 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-25 15:17:18 +00:00
Yves Rizoud
860648b190
Multi-shorcuts option now works. Default OFF, it will avoid situations where user mistakenly sets the same key for multiple actions.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1769 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-04-04 22:30:02 +00:00
Adrien Destugues
eba26aaa96
Merge trunk to the cpcmode5 branch. This gets us a more recent grafx2 with the cpcmode5 drawing. Now to make this mode optional so users can still work in regular mode :)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1719 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-13 21:49:31 +00:00
Adrien Destugues
4e60f5ad74
Import the WIP CPC-Mode5 code from the sourcearchive
...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1718 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-02-13 21:20:45 +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
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
d78c33855b
Drag-n-drop file in Grafx2 window is now cleanly prevented while a window is open: The OS's mouse cursor is the 'forbidden' sign. Preparatory work for horizontal slider controls.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1597 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-08-29 19:21:33 +00:00
Yves Rizoud
520da7d168
Reverted the change of input system (mostly, still needs more testing) Changed color cycling so it no longer needs a separate thread.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1581 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-08-19 00:33:06 +00:00
Yves Rizoud
951ec2d48a
Still work on SDL events. Airbrush seems to work. Need to do repeatable buttons.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1565 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-08-08 19:59:17 +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
Adrien Destugues
039c8a7194
Add support for getting free space in Haiku.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1474 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-05-05 19:31:48 +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