3129 Commits

Author SHA1 Message Date
Yves Rizoud
763087a626 Implemented Meilleure_couleur_sans_exclusion().
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@281 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-17 21:01:47 +00:00
Yves Rizoud
a223fcb9b6 Made the welcome screen behave like a spash screen: Any click or keypress dismisses it.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@280 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-17 19:35:02 +00:00
Yves Rizoud
30aa716ba6 "Copy Spare / Some colors" is no longer a guaranteed SEGFAULT (crash)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@279 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-17 19:21:23 +00:00
Yves Rizoud
a86ded68e4 Fixed missing refreshes in the GUI: Load/Save, Stencil, Mask, Best match colors, and all scrollbar buttons.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@278 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-17 19:09:22 +00:00
Franck Charlet
efb420f1f8 Fixed a small issue in the xcode project file for non developpers macosx users who don't have the sdl & sdl_image installed on their computers.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@275 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-17 13:54:43 +00:00
Yves Rizoud
a2d3374c9c The SVN revision used to compile is now reported in the Statistics window.
Needs testing on linux, including the cross-compilation. Pkm, see if the
naming scheme suits you.

HOWTO: "make version" and "make ziprelease" both force an update of version.c,
by querying the directory's svn status. Developers can use "make version" for
their own usage. Do not upload your version.c in svn, it's a generated file.
PACKAGING: version.c must be included in source packages, so that
non-developpers who have no svn can build with the constant file that shipped
with the sources.
Commit any pending changes first, then make ziprelease, and run
grafx2 to check that the Statistics window shows something like "123",
not "123M" (which means "rev123 + local modifications")
This will have created the src and win32 packages.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@274 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-17 00:02:33 +00:00
Franck Charlet
0f74b81151 Removed the shift + click right mouse button emulation as it looks like is already handled with the apple key.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@272 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-16 23:07:26 +00:00
Yves Rizoud
a453821325 Fixed the darn color remapping bug in Palette window, that still happened with zoomed menus (x2 x3)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@271 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-16 22:02:42 +00:00
Franck Charlet
f4e81048ab MacOSX: Fixed a bug in the filenames input and another one with the backspace key not being sent.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@270 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-16 21:55:29 +00:00
Franck Charlet
6a778031fe Handling for these formats were broken due to endianness problems on PPC: pkm img bmp gif
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@268 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-16 00:29:04 +00:00
Yves Rizoud
c395578be8 Provides an intermediate refresh mode. You can activate it in sdlscreen.c
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@267 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-15 23:33:25 +00:00
Yves Rizoud
9770d70f2a Refactored the "#ifndef __macosx__" that were around every SDL_UpdateRect().
Redraw method is now defined once, in sdlscreen.c

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@266 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-15 22:52:00 +00:00
Franck Charlet
a11b928e3d 97.2 > 97.3 (forgot that)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@265 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-15 21:02:18 +00:00
Franck Charlet
99b99322be Added the missing objective C files for the macosx and fixed the changes you forgot in main.c etc..
Also added a way to handle the right mouse button when the shift key is pressed (for mice with only have 1 button :]).

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@264 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-15 20:55:31 +00:00
Yves Rizoud
8990c1b27e Fixes missing refresh in Palette/X-Swap
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@263 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-15 19:42:04 +00:00
Yves Rizoud
dac1e814ec Fixes color mismatch under palette window when it's low and you alter a color used in the GUI and the menu bar is
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@262 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-15 19:34:45 +00:00
Adrien Destugues
4117dace60 You can now change zoom factor while in magnify mode.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@261 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-15 19:03:13 +00:00
Adrien Destugues
db9e12eda4 Fixed the screen update function... again...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@260 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-15 17:58:36 +00:00
Adrien Destugues
99d485210c Some speedup for macosx build
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@259 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-15 13:29:34 +00:00
Yves Rizoud
9434f76dfd More fixes of palette remapping. Todo: Button Swap needs a refresh, button Cancel requires a toolbar redraw.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@258 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-15 00:04:15 +00:00
Yves Rizoud
9fb162e748 Fixes the missing color remapping of windows background (and status bar) when palette remapping occurs.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@257 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-14 22:46:51 +00:00
Adrien Destugues
584c4696c1 Mac os X port. Compiles and runs slowly
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@256 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-14 20:42:05 +00:00
Adrien Destugues
0794f573cb Added all the debuggers and porters to the greetings
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@255 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-14 20:11:43 +00:00
Yves Rizoud
7ca68f33d0 Fixed many refresh problems in the Sieve menu, plus older logic bugs.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@254 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-14 19:54:22 +00:00
Adrien Destugues
ff9fc1633b AmigaOS 4 port from xeron.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@253 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-14 19:45:39 +00:00
Adrien Destugues
70a750e187 fixed screen update for cursor outside screen
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@252 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-14 19:31:16 +00:00
Adrien Destugues
ff1d5d4dd6 Fixed screen update issues.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@251 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-14 16:16:32 +00:00
Adrien Destugues
4a2bef2f6b Removed useless SDL.h include in main.c (already included in global.h)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@250 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-14 15:06:07 +00:00
Yves Rizoud
403159f9a3 Resolution in gfx2.ini is now default.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@248 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-13 21:23:43 +00:00
Adrien Destugues
47c1db98ce fixed screen update in loadfile screen when opening an empty directory (or with little number of files)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@247 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-13 20:03:21 +00:00
Adrien Destugues
b4673bf9de Fixed big ellipses
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@246 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-13 19:50:33 +00:00
Adrien Destugues
0bbed15383 Removed the useless "squares table" wich only worked for resolutions <= 1024 px.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@245 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-13 19:38:58 +00:00
Adrien Destugues
c4be0a319a Updated the makefile for proper cross building
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@244 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-13 18:16:09 +00:00
Yves Rizoud
96089af2ae Contextual help in all menus. Done!
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@240 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 21:28:16 +00:00
Yves Rizoud
74d0b87233 Contextual help in Effects menu
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@239 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 19:09:29 +00:00
Adrien Destugues
1af06aec53 moved cfg folder to oldfiles dir
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@238 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 18:07:48 +00:00
Yves Rizoud
8a1e44ed30 Windows restore their background. Fixes/speeds-up some refreshes, and prepares for pop-up windows
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@237 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 17:32:46 +00:00
Yves Rizoud
e91ef156b1 Makefile fixes
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@236 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 14:29:27 +00:00
Adrien Destugues
2bf228cc6c Fixups for building under linux...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@235 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 11:07:27 +00:00
Yves Rizoud
c35f410a74 Click on Help now brings default (or last) topic, not contextual text of Help button
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@234 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 02:10:51 +00:00
Yves Rizoud
53c1d0c47d source file missing since r230. The '232 zip had it.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@233 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 01:45:00 +00:00
Yves Rizoud
35e9c2ee10 In 'Make ziprelease', added missing font, plus sources to conform GPL.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@232 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 01:34:22 +00:00
Yves Rizoud
f293fd4694 Default config is set when gfx2.cfg is missing or corrupt
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@231 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 01:23:13 +00:00
Yves Rizoud
f4ec27a25f Config sources are now in main directory
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@230 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-11 19:21:28 +00:00
Yves Rizoud
1f2c665a1d contextual help and fixed missing line in helps
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@229 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-11 19:02:33 +00:00
Adrien Destugues
157722706b some work on the titlepage and credit help.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@228 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-11 15:17:25 +00:00
Adrien Destugues
7af17f107d fixed screen update for readline
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@225 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-11 12:40:13 +00:00
Yves Rizoud
c74133e07d +refresh on vertical scroller arrow buttons
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@224 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-11 00:51:26 +00:00
Adrien Destugues
717a7f1fbb fixed line artifacts.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@223 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-10 15:48:40 +00:00
Yves Rizoud
83ef6ef4ac (linux) Fixed a sigsegv when drawing a color brush which is completely outside screen (The only way is to use the circle tool)
SDL_UpdateRect was crashing because of receiving negative Width or Height.
This was due to Calculer_dimensions_clipees() clipping width or height so much that they become negative.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@222 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-10 00:33:22 +00:00