Thomas Bernard
e14edb10d6
const char * args in Init_context_*
2019-12-26 23:29:24 +01:00
Thomas Bernard
4fa256398c
add function Get_image_mode()
...
just as there is Set_image_mode()
2019-11-29 01:03:45 +01:00
Thomas Bernard
d5953ad51a
move some functions from loadsave.c to loadsavefuncs.c
2019-11-09 02:42:33 +01:00
Thomas Bernard
5a6333e5e8
define COLOR_CYCLING_SPEED_MAX
2018-12-15 20:19:29 +01:00
Thomas Bernard
66aa397b11
Doxygen improvements
2018-12-11 12:25:40 +01:00
Thomas Bernard
2a6f0e3a27
new function Set_image_mode() to set image mode in Load_XXX() functions
2018-12-11 12:25:39 +01:00
Thomas Bernard
a6c948b27e
don't use SDL in Load_surface() anymore
...
So the init phase does not depend on SDL anymore.
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-02 11:38:51 +02:00
Thomas Bernard
cd8291b6ff
loadsave: change Test_XXX functions to open file only once
2018-03-15 12:21:22 +01:00
Thomas Bernard
b0203ff93c
Display original picture size in Load/Save dialog when displaying a thumbnail
2018-03-06 16:25:39 +01:00
Thomas Bernard
be824627ce
loadsave.c: Add functions to open file with alternate extension.
...
Used by CPC format which are in several files :
PPH format uses PPH, ODD, EVE
CM5 uses CM5 + GFX
2018-02-20 15:45:45 +01:00
Thomas Bernard
3a0e187d73
loadsave.c: function Remove_file()
2018-02-20 15:45:45 +01:00
Thomas Bernard
3ed5dc5786
loadsave.c: add Open_file_write/Open_file_read() functions
2018-02-20 15:45:45 +01:00
Thomas Bernard
a4593da4d4
display unicode filename in menu
2018-02-20 15:44:39 +01:00
Thomas Bernard
4c92e87d52
Fix the preview for HAM files
...
HAM files are "true color" pictures which do have
a palette.
2018-02-18 21:11:40 +01:00
Thomas Bernard
2bfbc03cb8
Display the bpp of the picture in the Load/Save Dialog
2018-02-18 21:11:40 +01:00
Thomas Bernard
4ffa389a90
Update File selector to load/save palettes
...
Also "constify" the format array
2018-01-25 22:55:27 +01:00
Thomas Bernard
207e487d99
Show palette in preview (instead of image) when loading palette !
2018-01-25 22:55:27 +01:00
Adrien Destugues
fa80a10093
Implement "save palette" button
...
* Actually a shortcut to "save picture" with preset PAL format and different window title.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2110 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-04 10:08:34 +00:00
Adrien Destugues
d9f2cd2d40
Remove no-op function Palette_loaded.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2109 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-04 09:28:23 +00:00
Yves Rizoud
56cdbc4c10
Issue 505: Support for saving IFF/ILBM format, compatible with Deluxe Paint 3
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1993 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-09-15 18:05:44 +00:00
Yves Rizoud
7613093df9
Fix issue 496: Some animated GIF images don't load well. Also fixed the handling of transparency in preview (fileselector) and loading anim GIF as a brush loads first frame.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1969 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2012-07-12 22:27:49 +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
Yves Rizoud
55422d160e
(mode5 branch) Fix a bug in saving, including autosave every few minutes, that auto-selects the last layer to draw.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1743 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2011-03-02 22:07:24 +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
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
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