392 Commits

Author SHA1 Message Date
Adrien Destugues
36a99a8fc2 added morphos port to the helpscreen
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@457 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-04 21:47:15 +00:00
Adrien Destugues
5971f4c9e3 MorphOS port, and some tweaks to the config tool to make it look a little bit less ugly. We should probably use a better color palette for it anyways.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@456 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-04 20:41:22 +00:00
Yves Rizoud
159d623f44 Sliders no longer lag the mouse cursor, and the delay stops when you release one mouse button or click the other.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@455 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-04 16:18:29 +00:00
Adrien Destugues
94e26e5764 Replaces GLOBAL by GFX2_GLOBAL in graph.h, because it conflicted with something in MorphOS.
Anyways, this GLOBAL thing looks quite ugly, maybe we should clean it up in some way... is there a better way to do the same thing ?


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@454 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-03 15:20:00 +00:00
Adrien Destugues
8f66a5905d Discards mouse moved event if the calculated X and Y did not changed (can happen in zoomed mode because we are dividing the coords)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@453 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-02 11:06:22 +00:00
Pete Gordon
8fe10d38dc MSDOS text format problem again. Sorry. Will try and be more careful with
this... :-/


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@452 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-31 21:52:24 +00:00
Pete Gordon
c582a90500 Fixed a bug where the graphics would get sometimes trashed when resizing
the window. I fixed it by forcing the width to a multiple of 16 instead of
4 (only for OS4).


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@451 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-31 21:50:33 +00:00
Pete Gordon
0b7b96ae75 Enabled TTF fonts in OS4 build, scans system default directory for TTF
files.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@450 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-31 21:36:47 +00:00
Pete Gordon
232ed1041d Endian fixed Save_BMP
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@448 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-31 11:44:41 +00:00
Pete Gordon
e41f494aba Ooooops! I used an editor that didn't cope with MSDOS text file format and
so messed up io.h's layout. Fixed it now. Sorry!


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@447 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-31 11:07:08 +00:00
Pete Gordon
be5422f7ad FINALLY fixed the load/save bugs in OS4. It was just a stupid mistake in
io.h... wrong seperator!


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@446 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-31 11:04:35 +00:00
Pete Gordon
761f872ee2 A couple of changes to let it build again for OS4.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@445 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-31 10:16:08 +00:00
Adrien Destugues
d6ef5ddd95 Added pete's mail to the helpscreen.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@444 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-31 09:18:34 +00:00
Yves Rizoud
7a3887f4f0 Fix the Brush Resize&Rotate keyboard shortcuts, after use they were blocking mouse clicks
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@443 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-31 00:24:16 +00:00
Yves Rizoud
449ffdf721 Fix one more case of X/Y printing (this one described in issue 67 comment 14)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@442 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-29 20:40:03 +00:00
Adrien Destugues
95c69faec1 Hopefully fixed all the problems related to the coord display in the status bar.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@441 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-29 18:22:06 +00:00
Adrien Destugues
0c8bd5e0d4 Fixes the makefile.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@440 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-29 18:02:04 +00:00
Adrien Destugues
0eb18b7619 SkyOS port. Thanks again Begasus :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@437 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-29 17:48:02 +00:00
Adrien Destugues
30184d82e9 Some more fixes for AROS build.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@436 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-29 17:15:56 +00:00
Yves Rizoud
57c875df3d Fix issue 60 : Wrong spacing in Text when using bitmap fonts.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@435 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-28 19:44:17 +00:00
Yves Rizoud
3be825e40d Removed setting "Show system directories" in gfx2.ini.
In the default configuration (for new users), changed the number of Undo pages from 1 to 4.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@434 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-28 14:58:35 +00:00
Yves Rizoud
7f9a9d81c1 Fix window build (from r421 changes)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@433 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-27 22:33:25 +00:00
Adrien Destugues
c4102e4eb7 Fixes screen updates problems
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@432 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-27 21:41:30 +00:00
Adrien Destugues
a27ef05989 Fixes missing display of X: Y: in toolbar when closing a window
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@431 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-27 21:27:19 +00:00
Adrien Destugues
48b1d75ff5 Fixed the remaining problems with the rectangles. The code was really bad, messing up with RBX and RAY... i must have been _very_ tired when i wrote it :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@430 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-27 17:45:39 +00:00
Adrien Destugues
9bc64e8adb Fixes the crash with the gradrect. But there are still some screen corruption (and missing lines) problems...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@429 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-27 17:25:20 +00:00
Adrien Destugues
63d595a3ed No longer include dll in non-windows release archives
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@428 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-27 15:13:34 +00:00
Adrien Destugues
79aca71830 Fixes issue #78 and some more makefile tuning (ziprelease names the archives according to the platform)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@427 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-27 15:10:35 +00:00
Adrien Destugues
a8ae3672f8 Also for Haiku
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@426 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-27 14:43:53 +00:00
Adrien Destugues
c4955dd0f0 TT font listing for beos
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@425 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-27 14:37:47 +00:00
Adrien Destugues
f180b13f29 Makefile tuning for beos
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@424 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-27 14:17:25 +00:00
Adrien Destugues
321187693c Fixes realpath for beos uses. As beos also misses fchdir...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@423 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-27 13:57:53 +00:00
Adrien Destugues
77f745e1f0 Oops, i messed up some little things there :)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@422 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-27 11:46:10 +00:00
Adrien Destugues
e2fe9dcd79 Added some pathes for AROS operating system. We need someone to test it out now :)
Also, there is a realpath implementation there wich may be useful for BeOS too


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@421 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-27 11:43:03 +00:00
Yves Rizoud
4c48c74a96 Fixed minor issues of r419 when keyboard-drawing in zoom area: "Escaping" the zoom window, and going up at the top warps to the bottom.
Also, even with mouse,when you draw downwards into the menu, the cursor no longer blinks into the top line of the menu.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@420 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-27 03:12:21 +00:00
Adrien Destugues
a2324e2cb1 Cursor moves faster when using the keyboard shortcuts over the zoomed screen. Feels more natural to me
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@419 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-26 21:46:17 +00:00
Yves Rizoud
df33261b59 Fix issue 57: Missing refresh in the cross points for the 4-point splines.
Also fixed the display of the bottom-right corner of the spline itself.
Grad rectangle: The vector line is now drawn as XOR: dragging it no longer erases the screen.
SFont.c: Only removed TAB characters in source.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@418 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-26 19:38:21 +00:00
Adrien Destugues
c55c27bd85 Fixed the two little issues in button handling.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@417 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-24 15:42:10 +00:00
Adrien Destugues
e7a1152777 Fixes some problems of sreen update in smear mode (issue 66) and possibly some others. The various calls to Mettre_Ecran_A_Jour in Afficher_Pinceau could benefit from some cleanup in order to avoid if(sthing)Mettre_Ecran_A_Jour(A,B,C,D)else Mettre_Ecran_A_Jour(A,B,C,D) with same ABCD...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@416 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-24 13:13:06 +00:00
Franck Charlet
d37b4f44e9 X/Y labels weren't displayed in status when leaving magnify mode.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@415 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-23 21:48:52 +00:00
Franck Charlet
273c1b1bf1 Removed some useless code due to precedent fix.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@414 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-23 20:20:35 +00:00
Franck Charlet
b0e7f6189f Issue 67 should now be entirely fixed (including the coordinates being displayed while hovering the menu).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@413 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-23 20:18:25 +00:00
Franck Charlet
ad465d6073 X & Y labels disappearing (issue 67) should be fixed.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@412 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-23 19:35:49 +00:00
Yves Rizoud
7247b83007 (Linux and Windows) Fix missing refresh that happened when zoom was on and you were drawing in the left part of screen.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@411 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-22 18:44:02 +00:00
Yves Rizoud
c1af3faac2 Fixed 'mouse droppings' when using the Thin cursor. The cursor also didn't look symmetric.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@410 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-21 19:20:26 +00:00
Yves Rizoud
f65820313f Fixed a bug which attempted to refresh below the screen when menu is hidden
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@409 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-21 18:23:41 +00:00
Yves Rizoud
b5168ffdf7 Fixes crash if menu is hidden and mouse cursor touches screen bottom (issue 71)
Fixes an off-by-one error in screen refresh which caused the menu bar to not reappear when you press F10. It was since r392 (except MacOSX).


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@408 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-21 16:28:24 +00:00
Yves Rizoud
d237b058ad Fixes SIGSEGV from r406 when loading an image from command-line. oops.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@407 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-20 20:20:32 +00:00
Yves Rizoud
a81bc2c1a4 Fixes SIGSEGVs and weird coordinates of viewports when resizing the screen (w/ and w/o zoom, with resolution change or window resize)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@406 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-20 19:06:00 +00:00
Yves Rizoud
8862c1994f Fixes a SIGSEGV when using line,polyline,polygon etc. with a starting point below the picture (outside).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@405 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-20 17:50:54 +00:00