25 Commits

Author SHA1 Message Date
Franck Charlet
2feab9d52c - Issue #160 should be fixed now.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@804 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-14 13:49:36 +00:00
Franck Charlet
c4ca933dfe - Fixed a bug in the credits (and cleaned'em up a bit).
- Fixed a bug in the draw gradient ellipse that caused the cursor to remain on screen after the drawing operation.
- Fixed "empy" / "empty" typo in some functions names.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@761 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-30 13:28:25 +00:00
Franck Charlet
7dae508324 - Renamed the "Button" array into "Buttons_Pool" due to a conflict with Apple headers.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@748 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-14 12:19:34 +00:00
Franck Charlet
cf99da06b8 - Fixed mountlist.c for Mac OS X again.
- Removed the SDL centered window attribute.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@688 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-20 13:27:39 +00:00
Franck Charlet
c60c1e7353 - Modified Initialisation_du_programme() so 0 is returned on SDL initialization fail.
- Added support for .png files in Mac OS X port.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@677 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-16 17:19:40 +00:00
Franck Charlet
8ed5019b02 - Fixed the usual problem due to non posix code
- Made the png lib optional with: __no_pnglib__

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@630 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-15 17:03:18 +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
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
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
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
Franck Charlet
ccfc83dae3 - Updated the xcode project.
- Added my email in the credits just in case.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@402 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-12-18 18:17:27 +00:00
Franck Charlet
415b878844 - Added support for Mac OSX system fonts in texte.c.
- Inverted the "AntiAlias" and "No AA" labels so it's more intuitive that way.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@349 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-11-16 00:50:14 +00:00
Franck Charlet
f5d45ade8e - Issue 51 should be fixed.
- Patched 2 segfaults in Save_PKM() which were due to the packing routine accessing a byte of a picture beyond the allocated memory block.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@333 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-11-12 12:55:54 +00:00
Franck Charlet
02bdbd4627 - Fixed the display of the current directory size by casting uint64_t for the multiplication (should work for linux too i guess).
- Fixed the macosx xcode project.
- More aspect ratios added.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@332 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-11-10 17:51:01 +00:00
Franck Charlet
af9e862b5d - Enabled the support for text in macosx version albeit it doesn't seem to do anything yet beside displaying a dialog window (updated the xcode project accordingly by installing SDL_ttf with the application).
.- Added a Backup() in Rectangle_Degrade_12_0() so the undo command should work.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@316 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-28 10:34:46 +00:00
Franck Charlet
08f0541f11 x-swap and swap should be fixed (i forgot to refresh the main palette in such cases).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@300 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-22 03:16:39 +00:00
Franck Charlet
320eb547cd Added support for 192:145 (1152*870) aspect ratio in screen sizes dialog (and revamped the column a bit).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@298 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-21 14:15:18 +00:00
Franck Charlet
c3182555b9 I noticed modifying the logical palette only wasn't effective in fullscreen mode so i modified the palette functions to act a little bit differently: the physical palette is only refreshed globally after all locals colors are modified, that should hopefully fix the speed issue as it looks like there's also a vblank wait when the physical palette is modified (that's how it acts on mac).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@293 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-21 01:44:46 +00:00
Franck Charlet
2b232bbc48 Improved the speed of the spread and swap commands in the palette window by only refreshing the logical palette instead of the physical one (at least it works on MacOSX, i don't know if it's any good on other versions)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@292 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-20 20:08:26 +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
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
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
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
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