Adrien Destugues
0ce386bb19
Add a way to query the layer count and spare layers functions.
...
Fixes #43
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2171 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2016-11-28 21:29:06 +00:00
Adrien Destugues
bb5da79264
CPC/SCR: allow 32K pictures.
...
Set R12 so that the picture can use the full video RAM, if it is large enough.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2170 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2016-11-28 20:24:53 +00:00
Adrien Destugues
5d51158231
Show total number of frames in animation bar.
...
Fixes #11 .
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2169 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2016-11-22 21:30:23 +00:00
Adrien Destugues
2fc6b9375c
Fix loading some Atari ST IFF files
...
IFF is a versatile format, and can store data in Atari ST display RAM format.
This allows to load several of our IFF test files, but the result for most
seems corrupt (either that, or the files in our testsuite are ugly).
Thanks to miniupnp for the patch!
Fixes #38 .
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2168 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2016-11-22 20:42:15 +00:00
Adrien Destugues
40201c862d
Add credit for the new 3x4 mode and some fileformats.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2167 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2016-10-15 19:10:01 +00:00
Adrien Destugues
8808625851
Add a "tall 3" drawing mode.
...
Pixels with 3:4 aspect ratio. Why not?
Contributed by Nic Soudée (zoner/xylem). Thanks!
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2166 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2016-10-15 18:57:14 +00:00
Adrien Destugues
d3a4ced94c
PPH loader fixes
...
- Fix palette computation, flickering two colors give a mix lighter than 50%
- Fix off by one error in B1 palette change decoding.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2164 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2016-07-20 18:53:58 +00:00
Adrien Destugues
702f1835da
Support loading PPH files (Amstrad CPC).
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2162 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2016-07-19 20:28:43 +00:00
Adrien Destugues
0c7d17304a
Fix remaining doxygen warnings.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2128 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-10-03 06:28:26 +00:00
Adrien Destugues
34ec1d967a
Haiu: add missing / at end of data path.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2127 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-08-16 12:33:01 +00:00
Adrien Destugues
f2797f6648
Fix more things for Haiku port
...
* Add an icon in the native format
* Add "resource definition" to the executable (including icon and version info)
* Use the proper API to find the share directory.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2126 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-08-16 12:27:21 +00:00
Yves Rizoud
2f3c55477e
Fileselectors : handle palette and image formats separately
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2125 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-07-05 01:10:31 +00:00
Adrien Destugues
7f4fcde6d7
Fix drawing glitch when selecting/deselecting transparent color.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2124 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-07-01 18:51:11 +00:00
Yves Rizoud
54b4269103
Effects screen : remove underlines on 'X' buttons (Underline is supposed to be used on letter whose key acticvates the button)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2123 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-06-28 15:44:12 +00:00
Yves Rizoud
f9eb1bfe7b
Fix crash in contourfill when grid is visible - part of ticket #20 . Also update credits and homepage address
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2122 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-06-25 22:26:49 +00:00
Yves Rizoud
0df4275ad1
Update help screen of Palette window, to take into account latest Sort option (changeset 2104), and many other things which weren't current anyway.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2121 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-06-24 23:03:24 +00:00
Yves Rizoud
6d75b08fbc
Duplicate layer : Add keyboard shortcut, update help file for button
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2120 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-06-24 21:23:07 +00:00
Adrien Destugues
cc05157ae9
Fix install when datadir is not named "share".
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2119 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-04-29 20:32:54 +00:00
Adrien Destugues
d164d1d4cc
Don't free the palette, it is owned by libpng.
...
Fixes #21 .
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2118 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-04-24 18:24:39 +00:00
Adrien Destugues
705584a9d7
Fix some doxygen warnings.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2117 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-04-04 09:08:11 +00:00
Adrien Destugues
11fa950ea7
Layer preview: add a 1px border around the previews.
...
Make it easier to tell the layers apart.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2116 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-07 09:33:34 +00:00
Adrien Destugues
e187ade14c
Effects: forgot some changes when rearranging buttons
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2115 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-07 08:34:18 +00:00
Adrien Destugues
78b5ab394b
Popup menu to switch between drawing modes more easily
...
Fixes https://code.google.com/p/grafx2/issues/detail?id=510
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2113 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-04 14:33:06 +00:00
Adrien Destugues
3332b43330
Save and load support for GIMP palettes (.GPL files)
...
* Implemented by 00ai99
* Fixes https://code.google.com/p/grafx2/issues/detail?id=518
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2112 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-04 13:45:01 +00:00
Adrien Destugues
32defb8897
fix "save as" not showing the current filename
...
* We attempted to set this but it was overwritten when enumerating the files.
* This makes it easier to save the file in the same dir, with another name.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2111 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-04 10:12:18 +00: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
Adrien Destugues
26458456a8
Move the "show grid" setting to the effects window.
...
Fixes https://code.google.com/p/grafx2/issues/detail?id=315
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2108 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-03 16:07:39 +00:00
Adrien Destugues
0f64436854
Effects: group them by type
...
* On the left: "feedback" effects, with the checkbox to enable feedback.
* On the right: "grid" effects, which use the grid settings.
* On the middle: everything else.
"Grid" effect is renamed to "Snap".
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2107 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-03 15:55:57 +00:00
Adrien Destugues
e517902a4b
Rework palette screen to be better usable
...
* RGB sliders are twice as high as before (128 pixels)
* Preview area is larger
* Add save/load buttons (not implemented yet)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2106 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-03 14:11:11 +00:00
Adrien Destugues
810c457483
Change look of window title bars.
...
* Now they have a white background.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2105 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-03 14:09:12 +00:00
Adrien Destugues
5a8faa6d42
Implement "sort by histogram" in palette.
...
* Most used colors are moved to the start of the palette
* Stable sorting is used, so unused colors at the end of the palette are not moved at all
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2104 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-03-03 08:57:34 +00: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
Adrien Destugues
c6b9eba7eb
Right click on the "add layer" button creates a new layer with a copy of the current layer contents
...
Suggested by ilkke.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2092 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-02-23 21:42:16 +00:00
Adrien Destugues
9d00b93a5f
Improve menu palette looks
...
* Only show the "transparent" marker in layer mode when there is more than one layer
* Use a single pixel separation between colors (bypass menu_factor).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2090 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-02-23 21:32:51 +00:00
Adrien Destugues
02a32b75bb
Don't free() stack-allocated buffer.
...
Probably a leftover of use of a Linux extension of getcwd. Currently we use a
buffer on the stack and we must not free it.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2089 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-02-23 20:56:36 +00:00
Adrien Destugues
9c1c219348
Make the transparent color more visible with a light/dark grey highlight.
...
It is often confusing which color is transparent in the color palette. Mark it
with a small pattern to make it easier to see.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2088 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-02-23 19:34:48 +00:00
Adrien Destugues
6a225eb4ed
Fix Haiku build.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2087 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-02-23 19:33:41 +00:00
Yves Rizoud
67d3636512
Fix Lua function matchcolor2() inaccuracies caused by integer arithmetics
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2082 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-02-15 22:20:47 +00:00
Adrien Destugues
61c8dca353
Add a port to the GCW Zero, contributed by David Knight.
...
Untested since I don't have the hardware.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2080 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2015-02-10 20:13:57 +00:00
Adrien Destugues
5e26436c48
Fix mismatched parameters.
...
Bug caught by the Debian team on GrafX2 2.3.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2072 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2014-05-16 10:15:07 +00:00
Yves Rizoud
1248100ae9
Integrate path fix from Android port (tnanks a lot Pelya)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2071 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2014-03-30 17:31:05 +00:00
Yves Rizoud
c821dbebf4
Modify the RGB scale formula
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2070 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2014-02-15 17:34:43 +00:00
Adrien Destugues
e19026860d
Update the URLs in several place to stop pointing to googlecode.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2069 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2014-01-13 12:36:22 +00:00
Yves Rizoud
cac2d00dfb
Add support for saving/loading cycling colors in formats PI1 PC1. Also probably fix an error in PI1 footer (Issue 535)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2067 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-08-30 17:21:40 +00:00
Yves Rizoud
4d6a7c95c5
Correct version label for trunk : 2.5wip
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2066 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-08-30 03:44:53 +00:00
Yves Rizoud
567cf087b0
Makefile fix for Windows. Looks like I didnt build libPNG exactly the same way
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2065 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-08-30 03:37:23 +00:00
Yves Rizoud
365cc8d50b
Fix issue 539 : Freeze when palette is 'vertical' and number of rows is not a power of two
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2064 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-08-30 00:05:47 +00:00
Yves Rizoud
01543b7a8d
Fix issue 535 : PC1 files created by Grafx2 can't be reloaded by Degas Elite
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2063 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-08-29 22:08:22 +00:00
Yves Rizoud
65eb4a54eb
Lua bindings for sliders (not in GUI library yet)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2057 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2013-02-12 00:48:56 +00:00