Yves Rizoud
daf5f99979
Makefile fixes (ziprelease)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@587 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-03 01:34:26 +00:00
Yves Rizoud
306752eaeb
Fixed Contour to allow drawing single pixels
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@586 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-03 01:18:28 +00:00
Yves Rizoud
599e835e28
Fix the clipping of mouse cursor.
...
Fix joystick buttons not causing action if no mouse movement.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@585 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-03 00:20:37 +00:00
Yves Rizoud
5a80cdae44
Fixed the double icons having their diagonal not shaded on selection.
...
Fixed the Ellipse / Grad ellipse icon graphics (were quite off-centered)
Some tidy-up of input.c
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@584 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-02 23:09:06 +00:00
Yves Rizoud
1150dcea21
Implemented basic joystick control : dir+AB on most platforms, pad+AB on GP2X
...
Implemented accelerating cursor with joystick / kb cursor
Fixed up the contextual help, somehow
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@583 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-02 18:22:23 +00:00
Yves Rizoud
db02be0e41
Fix the Contour not advancing the backup/redo status.
...
Fix the polygon filling (used in 3 tools) to include all the right pixels. whoo!
Fix the operations' cursors, that I broke when I added Contour.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@582 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-02 00:53:07 +00:00
Yves Rizoud
4349fd71a3
Contour fill (issue 90), 4th mode of continuous drawing.
...
However, there is a rendering problem from the original polygon tool: the bottom pixels are not drawn.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@581 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-01 23:15:24 +00:00
Yves Rizoud
778d2fccde
Added icons for alternative functions (issue 91)
...
Fixed some input problem I introduced in recent revision
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@580 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-01 22:44:05 +00:00
Adrien Destugues
c0b95295ae
Correct handling of multi-button for spray and freehand.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@579 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-01 15:03:16 +00:00
Yves Rizoud
0b2bbacf37
Small keyboard fix, and re-computed the dependencies.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@578 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-31 15:42:22 +00:00
Adrien Destugues
6dd54a1686
Some fixes to get_input : allows to move windows.
...
Touche is now resetted to 0 only when a shortcut is processed. So you can let it at the key value for cursor moves, for example. But it does not work, i must have missed something :/
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@577 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-31 11:33:18 +00:00
Yves Rizoud
0f4776d4a6
fix harmless signedness warnings
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@574 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-29 21:03:07 +00:00
Yves Rizoud
03c0b0d20a
PNG saving. Text data are saved: 'Software'='GrafX2', 'Title'=<image comment>
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@573 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-29 19:59:13 +00:00
Yves Rizoud
920e19b298
Moved save/load functions out of global.h
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@572 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-29 18:23:13 +00:00
Yves Rizoud
ac28a82d8e
png: better error checking
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@570 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-29 17:07:03 +00:00
Yves Rizoud
0575684810
PNG loading. Don't try saving yet, it's pkm-saving code
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@569 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-29 17:01:02 +00:00
Yves Rizoud
8ba5bc178a
Obfuscated e-mail addresses in source code for credits
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@567 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 23:26:32 +00:00
Yves Rizoud
67017228f2
Fixed the characters in Smooth window (shift-F8) and the string-editing cursor, both were drawn rotated 90degrees :)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@566 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 23:11:03 +00:00
Yves Rizoud
369e3a4dcd
fix kb emulation 'up'
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@565 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 22:48:50 +00:00
Yves Rizoud
a38f08d2bb
Fix the close button requiring an extra click somewhere (on win9x at least)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@564 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 22:47:13 +00:00
Adrien Destugues
0ba7bd048d
Some cleanups to the "credits" help page, as it felt a little bit messy.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@563 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 22:34:20 +00:00
Adrien Destugues
91d4dc20b9
Fixes for compiling under freebsd
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@562 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 22:12:28 +00:00
Yves Rizoud
a15de98314
Default filename is now in .gif instead of .pkm
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@561 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 19:45:38 +00:00
Adrien Destugues
11bc1066ba
Fixes window resize and key repeat. New key behaviour : the Touche will containe the last key pressed, until it is released. This can be problematic in some places, but i'm not sure. The other possibility is to unset it when entering get_input to get the old behaviour and rely on the key repeat.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@560 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 18:43:27 +00:00
Adrien Destugues
4d62d6f93f
Fixed some bugs with mouse clicks. Also added a debug info when an unhandled sdl event occurs. It seems there are events when the window is focused and unfocused, for example. We may use them to hide and display back our software cursor.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@559 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 18:32:46 +00:00
Yves Rizoud
b861fe558d
No longer need 'dat' utility programs
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@558 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-27 00:34:27 +00:00
Yves Rizoud
e302f2d26a
gfx2.dat is now replaced by an editable "skin" file: 'gfx2gui.gif', and a reference INI file: 'gfx2def.ini'.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@557 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-27 00:10:02 +00:00
Adrien Destugues
c018c13352
First "working" version of new get_input... buggy, but i'm working on it
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@556 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-26 11:07:36 +00:00
Yves Rizoud
8cd2e476f5
Add installer script for windows (NSIS). Made for the 98.0 svn482 package
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@554 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-24 23:41:28 +00:00
Yves Rizoud
840d26cd17
Fixed: When the last resize was by the 'safe resolution' button, on exit the program recorded the previous window size instead.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@553 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-24 15:19:28 +00:00
Adrien Destugues
bcc835f251
New input handler. Still work in progress and unused, but it's time to sleep for me :)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@552 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-21 23:02:00 +00:00
Adrien Destugues
e814096a51
We don't need this one either
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@550 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-21 19:11:46 +00:00
Adrien Destugues
1570975949
Removing the english doc since it has been moved inside the wiki.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@549 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-21 19:10:50 +00:00
Pete Gordon
9cc7eb694c
"Liste_Nb_Repertoires" needs a lowercase "r".
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@528 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-21 18:07:39 +00:00
Adrien Destugues
2e68ad55bf
Remove some more useless files.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@515 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-21 16:42:52 +00:00
Adrien Destugues
73cd2e4e5d
Remove some old useless files, and add a png format icon for linux (wich does not like ico too much).
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@514 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-21 15:03:19 +00:00
Franck Charlet
3ff77f068b
- Fixed a compilation warning under macosx.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@503 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-21 00:26:29 +00:00
Adrien Destugues
0f2d642847
Amiga systems use / and not .. for parent dir. Takes this into account...
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@498 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-20 18:33:50 +00:00
Adrien Destugues
fec8d023e9
Small fixes reported by the builders for MorphOS and AROS. Thanks to you both :)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@487 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-20 16:17:36 +00:00
Adrien Destugues
3fb7800824
Small fixes to mountlist.c for beos and skyos. Apparently they went lost some time ago...
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@483 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-19 18:59:31 +00:00
Adrien Destugues
f2d8cbbfe1
unfixed Attendre_fin_de_click, works better when buggy in fact :D
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@482 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-15 21:13:40 +00:00
Yves Rizoud
4e0cdaef12
Readme: Mostly reordered history and added raough dates, and added some license details.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@481 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-15 21:03:34 +00:00
Adrien Destugues
e6602b2e15
Fixes small missing refresh in the palette sceen. Add back the old readmes.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@480 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-15 19:38:23 +00:00
Adrien Destugues
fcfe85258c
New up to date end-user readme file. Feel free to add/change/correct/whatever :)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@479 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-15 18:39:01 +00:00
Adrien Destugues
1b3489bb96
Removes a call to Wait_VBL and replaces it by SDL_Delay
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@478 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-14 16:36:38 +00:00
Yves Rizoud
dc4abe6245
Added palette constraint modes: Run the program with command-line option "/rgb <N>" to force RGB components have N levels instead of 256. Ex: /rgb 16 enforces a classic Amiga 4096 color palette, 64 is PC VGA, /rgb 3 is Amstrad CPC...)
...
Added missing messages for /wide and /tall command-line arguments.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@477 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-13 23:48:33 +00:00
Adrien Destugues
0c245896c5
Use GIF as the default format, as PKM can't save the whole palette range.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@476 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-12 11:52:01 +00:00
Adrien Destugues
53c2936697
Attendre_fin_de_click could return if the event queu was empty while the button was still pressed. Now fixed.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@475 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-12 10:32:36 +00:00
Adrien Destugues
ab5f789fdf
Mostly some cleanups.
...
Also added two experimetal functions, Ouvrir_popup and Fermer_popup, and started to implement a (commented) example popup menu for selecting freehand draw mode.
But it seems there are problem if doing a while(Mouse_K), Mouse_K seems to be reset when the mouse moves, or in some other place. Time to sleep so i'll continue that tomorrow.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@474 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-11 21:59:10 +00:00
Franck Charlet
7c4d2675ad
- Modified mountlist.c to operate on MacOSX.
...
- Also fixed a bug in init.c: !strcmp(Liste_points_montage->me_mountdir,"/") && !strcmp(Liste_points_montage->me_mountdir,"/home") should have been
strcmp(Liste_points_montage->me_mountdir,"/") && strcmp(Liste_points_montage->me_mountdir,"/home")
since root & home are already added before (strcmp returns 0 if strings match).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@473 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-11 03:26:03 +00:00