0a3984c18aTypo in palette screen title (Another victim of mass translation)
Yves Rizoud
2009-03-30 23:57:52 +00:00
927fafacbeMoved GUI skin files to "skins/" sub-directory. Update makefile (install and uninstall only copy and delete the basic skin) Added Ilkke's GUI skin to svn. Skin can be specified by command-line argument "/skin <file>" (relative to program data). Grafx2's default FG and BG colors are now white and black (instead of 15 and 0). Credits: Fixed a typo caused by mass translation ("GRAFX2 CREATED (by)"). Credits: Added TeeEmCe to bugfinders. Updated helpfiles (Resolution, Save, Freehand-draw)
Yves Rizoud
2009-03-30 23:50:40 +00:00
14a08f35dcMenus skin:Mouse cursors can now have user-defined hot-spot.
Yves Rizoud
2009-03-30 21:09:47 +00:00
7d553daf47Pixel ratio can be set in Resolution screen
Yves Rizoud
2009-03-30 00:41:45 +00:00
8ff9028eabImplemented palette ordering (issue 112). You can activate it in the secondary palette window (shift-P), it's saved in gfx2.ini. The skin file has 2 more icons for the arrows (Ilija, grafx2 won't load if you don't update yours) Updated contextual help for the secondary palette window. Fixed some typos in code.
Yves Rizoud
2009-03-29 21:58:38 +00:00
eb781b9bd6Renamed sources files to english words, updated makefile, recomputed dependencies.
Yves Rizoud
2009-03-29 00:12:33 +00:00
fb24a9ae67More code documentation in global.h
Yves Rizoud
2009-03-28 18:42:34 +00:00
663229efb3Fixed compilation error on Linux (name conflicts, issue 132) Load/Save: Fixed display of mount points and drives ("Select drive" button) Started documenting global variables
Yves Rizoud
2009-03-27 20:14:28 +00:00
efbc978e6fSource code translated to english
Yves Rizoud
2009-03-27 16:50:21 +00:00
6b4a8f674eCleaned up the layout of Save/Load screen. (issue 92, issue 84#4)
Yves Rizoud
2009-03-27 02:56:01 +00:00
fa71dea18dCode cleanup: Removed the code related to Save/Load window from buttons.c, transferred it to files.c. Files.h now only exposes this window's function. Some code related to this window is still in loadsave.c (stuff for preview)
Yves Rizoud
2009-03-26 19:41:33 +00:00
994c1ce713Text tool: fixed font selection, was off by 2 pixels. Menus: scrollbars are now dark, to make iLKke happy.
Yves Rizoud
2009-03-24 14:39:19 +00:00
b68db78d29Fix error in previous commit. Filter some files in Doxygen (the standard SDLMain, and I have some python scripts lying around.)
Yves Rizoud
2009-03-23 19:53:03 +00:00
2602c591ebFixed some missed translations. Fixed doxygen (mis)handling of packed structures.
Yves Rizoud
2009-03-23 19:24:16 +00:00
346d940889All code ready for mass translation
Yves Rizoud
2009-03-23 18:08:42 +00:00
cb1cac1b6fremoved gfx2cfg, we don't need it anymore.
Adrien Destugues
2009-03-16 20:14:52 +00:00
c60c1e7353- Modified Initialisation_du_programme() so 0 is returned on SDL initialization fail. - Added support for .png files in Mac OS X port.
Franck Charlet
2009-03-16 17:19:40 +00:00
6707834f07Moves the doxygen files out of the main tree. Avoid fakeing ohloh reports.
Adrien Destugues
2009-03-14 18:33:59 +00:00
36302f2007Working translation files for functions, structs, enums, globals, macros. To translate a copy of the code, run: perl translat.pl ../*.c ../*.h Still need to translate struct members, variables, arguments : 1214 to go
Yves Rizoud
2009-03-14 01:33:01 +00:00
0aa43794cdCode cleanup: typedef all structs.
Yves Rizoud
2009-03-14 01:08:39 +00:00
f30316612eTranslation tools, and first set of translations (all function names)
Yves Rizoud
2009-03-13 21:51:32 +00:00
b347f5e04bSource cleanup to help translation.
Yves Rizoud
2009-03-13 21:42:26 +00:00
d2bd42887eSome doxygen documentation in boutons.h
Adrien Destugues
2009-03-07 21:50:59 +00:00
3baa53db96Fixes small BMP files saving
Adrien Destugues
2009-03-07 21:23:49 +00:00
52f7d31b79Sets the properties of html files so we can view them online.
Adrien Destugues
2009-03-07 11:14:22 +00:00
5f50f7bc22Added doxygen documentation. Now we have to update the comments in all the files. See aide.h and button.h for some examples. Documentation is regenerated by "doxygen Doxyfile" in the root directory
Adrien Destugues
2009-03-06 21:05:05 +00:00
b5a1fadbe0Makefile cleanup suggested by Magnus Bergman. Thanks !
Adrien Destugues
2009-02-28 10:18:26 +00:00
e9bc7f35c4Bookmarks: '...' now disappears when Renaming, Clear asks for confirmation, empty bookmarks display the dropdown on both mouse buttons and their only itemis "Set".
Yves Rizoud
2009-02-27 23:40:56 +00:00
2688bbb3b4Polyform: Fix issue 129 (unusable when effects are active) Tidied up the splash screen (can no longer drag it) Save/Load: Fixed the quick-typing that wasn't reset when changing directories.
Yves Rizoud
2009-02-26 19:41:48 +00:00
aac6b480c5No need to check the address of Libelle_valeur as it is a static var.
Adrien Destugues
2009-02-26 17:12:08 +00:00
f874a7b77aFixed a missing refresh on first click of tools: lines, curves, polygon, grad circle/ellipse (issue 90)
Yves Rizoud
2009-02-26 01:31:22 +00:00
55291aa3be(removed a debug print)
Yves Rizoud
2009-02-26 00:43:03 +00:00
9f85f5f1bbBookmarks (issue 92) are now functional in Save/Load screens
Yves Rizoud
2009-02-26 00:31:36 +00:00
5040a57bd1Work-in-progress for bookmark directories. Only user interface, no code behind
Yves Rizoud
2009-02-25 00:35:42 +00:00
a35619de75Whoops ! I accidentally broken linux build while testing the amiga one. The test i did is running the "version" command, which is returning the OS version on amiga (a bit like uname). Unfortunately this displays an error from bash when building under linux...
Adrien Destugues
2009-02-24 22:29:47 +00:00
21bd270e31Modifid themakefil for amiga 68k/VBCC. Will need some wok to actually compile, as it's not a posix compliant platform. I now have to install SDL dev. packages...
Adrien Destugues
2009-02-24 16:17:34 +00:00
bdc7388e77Fixed save/load on linux :)
Adrien Destugues
2009-02-21 21:13:47 +00:00
b9f1116fd3Load/Save: Removed the drive icons
Yves Rizoud
2009-02-21 20:49:50 +00:00
4db4454794Added 00ai99 to credits gfx2gui.gif: Resized the drive icons series to 8x8 and added bookmark and dropdown. More work on dropdown controls, used in Load screen. Stable.
Yves Rizoud
2009-02-21 02:59:55 +00:00
0ce264aa3bFixes a memory leak in dropdown menus. PNG saving is fine, loading gives an error but it seems to be some internal stuff
Adrien Destugues
2009-02-20 22:57:40 +00:00
6b856384ebFixes some more memory leaks. There are still some but it looks like they are SDL fault
Adrien Destugues
2009-02-20 22:04:17 +00:00
a6a9a6cddfFixes some memory leaks
Adrien Destugues
2009-02-20 21:57:03 +00:00
aa7d13a3fcResolution screen: Fixed a problem where it didn't find the current resolution, when using tall/wide/double pixels. If the cursor was not visible and you pressed OK anyway, it could crash. Resolution changes: No longer reset the mouse cursor in center of screen. Emergency save: When you run grafx2 again, the recovered images are now marked as modified (grafx2 will ask you to save before quit)
Yves Rizoud
2009-02-20 20:12:27 +00:00
58b793933cFix Sieve menu display with tall/wide pixels or large resolution (issue 123)
Yves Rizoud
2009-02-20 19:39:31 +00:00
714521b5bfStarted implementing dropdown lists. Rough but functional, currently used in Save/Load for choosing file format.
Yves Rizoud
2009-02-20 01:56:43 +00:00
d323b545ceFix possible crash in extreme resolutions with wide and tall pixels. Manu factor was computed too big, causing clipped palette and windows didn't fit.
Yves Rizoud
2009-02-19 19:37:03 +00:00
761d62f761Removed some unneeded dependencies to speed up compile. Code "cleanup": Functions that create a button now return its address. This helps reduce the number of files that use the globals "Fenetre_Liste_boutons_*"
Yves Rizoud
2009-02-19 02:10:40 +00:00
86976c9ddeUpdates pinceau_x and pinceau_y when closing the resolution window.
Adrien Destugues
2009-02-17 21:10:39 +00:00
2d8beccbbdFixed issue 122: Qshade only working in one direction with some tools. Re-computed the dependencies, graph.o was missing, which could cause lots of problem if you don't 'make clean' when upgrading.
Yves Rizoud
2009-02-17 19:13:18 +00:00
13130acc67Fixed the pipette leaking drops (issue 115) and a few other display bugs on mouse click or release
Yves Rizoud
2009-02-17 02:18:57 +00:00
f6b184cd9bFix color remapping problems in wide/double pixels (window background and FG color)
Yves Rizoud
2009-02-17 00:44:47 +00:00
fdf8015d77Fixes the resolution screen with wide/tall/double pixels
Yves Rizoud
2009-02-16 23:04:58 +00:00
b4609c55e8Still signal handler
Yves Rizoud
2009-02-16 22:35:04 +00:00
ca21225126cross-platformness for signals
Yves Rizoud
2009-02-16 20:56:57 +00:00
14671c56a6Fixes build under linux. Isn't there a standard type for sighandler, working on all platforms ? this __p_sig_fn_t doesn't seem to exist on any unix...
Adrien Destugues
2009-02-16 20:48:49 +00:00
6c2d55ed8fImplemented Double Pixel mode (issue 86) Tall pixels can now be used in resolution minimum 320x400, and Tall pixels minimum 640x200. (instead of 640x400 for both) Fixed: There was incorrect error recovery when trying to use a fullscreen mode too small to use wide/tall/double pixel. Little code cleanup in the different pixel renderers.
Yves Rizoud
2009-02-15 23:34:35 +00:00
8ed5019b02- Fixed the usual problem due to non posix code - Made the png lib optional with: __no_pnglib__
Franck Charlet
2009-02-15 17:03:18 +00:00
108b887f07(Windows) Free memory is now queried with GlobalMemoryStatus, so GrafX2 can be used on ...DOS with HX extender. The result now tops at 4Gb free physical. Previously it would wrap, causing problems if you were extremely unlucky.
Yves Rizoud
2009-02-14 20:22:01 +00:00
d704c4f425Implemented last-chance recovery that saves the current and spare page. (issue 97) Tested OK on Windows when crashing Contour (issue 119) Doesn't handle frozen states (when killed in task manager), I'll have to look further.
Yves Rizoud
2009-02-13 01:12:52 +00:00
546dc6011fFixed an old, possibly lethal memory overrun in Backup buffers, when using long file names (>12)
Yves Rizoud
2009-02-11 01:07:43 +00:00
a28deef902Fixed zoom window bar not draggable (issue 114) Checked for all other uses of "while (!Get_input())", seems ok. Palette screen: Copy,Swap,X-Swap now take place when you click button, not release. In all screens where you could press ` and pick a color (palette, shade...): The action now takes place when you click, not release.
Yves Rizoud
2009-02-11 00:00:17 +00:00
aaa393e12fFixed a FREEZE from r619 in Load screen, which happened when previewing an image, if your palette showed more than 255 colors... Reworked GIF Save/Load. Now saves as GI89a, and is able to save and reload text comments.
Yves Rizoud
2009-02-10 20:18:45 +00:00
17dbcfa61eThe secondary Palette screen (right-click [PAL] or press shift-P) now allows changing the menu palette cells, as well as the RGB scale. It's not very pretty screen at the moment, but it works.
Yves Rizoud
2009-02-10 01:27:15 +00:00
82dc541a3cMenu: Palette size is now free, 1-256 on X and 1-16 on Y (non-powers-of-two are accepted)
Yves Rizoud
2009-02-09 21:44:15 +00:00
990e016381Grad Rect cancellation now works :)
Adrien Destugues
2009-02-09 20:30:14 +00:00
de54ecb44aFix recent input bug that made Y mouse movement very choppy (it was ignored until a X movement happened)
Yves Rizoud
2009-02-09 00:16:03 +00:00
dbdd73c0c3Tried to improve the splash screen, and failed. Never mind, it's not important
Yves Rizoud
2009-02-08 19:09:39 +00:00
1f7f1b87eaFix buttons refresh, wrong in wide and tall pixel modes. Fix window dragging not showing XOR rectangle (recent)
Yves Rizoud
2009-02-08 18:40:20 +00:00
f00c58ade3PNG format now saves the pixel ratio if the program is in /wide or /tall mode. The ratio is also reloaded, but not used yet.
Yves Rizoud
2009-02-08 17:53:45 +00:00
e15b3194e0Some fixes in hotkeys table
Yves Rizoud
2009-02-08 03:23:12 +00:00
47c8397cbfIn gfx2.ini, setting Merge_movement to >0 should help solve lag (issue 80) for users who have a mouse with update frequency >100Hz
Yves Rizoud
2009-02-08 01:43:14 +00:00
1ed8852d64Fixed mouse cursor in text input (Readline(), recent problems) Fixed refresh problem when rotating a brush outside of screen limits (bug in 98%) Fixed Palette window having 'S' as shortcut for 2 functions.
Yves Rizoud
2009-02-08 00:46:42 +00:00
8aadfe3732When you use a keyboard shortcut to activate a window button (ex: ESC), it shows it's activated.
Yves Rizoud
2009-02-08 00:11:35 +00:00
9d428e1e38Keyboard shortcuts are customizable from within Grafx2. 2 shortcuts per function. You can use keys, MouseWheel, Middlebutton, joystick buttons, in combination with Alt, Shift, Control.
Yves Rizoud
2009-02-07 23:36:11 +00:00
2e2cd8073dSafety in Help text GUI image change: Added more characters in help font. Shortcuts: Change internal "no key" value from FFFF to 0000
Yves Rizoud
2009-02-07 01:44:23 +00:00
a236e40fa6Fixes monochrome image preview (add some sane colors). Real 2-color palette is still used on loading the picture. Note: can display broken preview if an image is using multiple entries with the same color, and some of them are selected for cm_clair and cm_fonce.
Adrien Destugues
2009-02-06 15:02:54 +00:00