Yves Rizoud
25e8943e4c
Fix an hourglass cursor when loading a file from command-line (recent bug). Fix issue 307: Drop-opened files do not retain name in Save-as dialog.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1346 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-02-14 01:39:56 +00:00
Yves Rizoud
7076e8e06d
Eliminated a lot of tab characters in source code
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1342 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-02-13 19:25:49 +00:00
Adrien Destugues
b36dee613e
Ensure pointers are put back to NULL when freed.
...
--Cette ligne, et les suivantes ci-dessous, seront ignorées--
M trunk/palette.c
M trunk/init.c
M trunk/engine.c
M trunk/filesel.c
M trunk/miscfileformats.c
M trunk/pages.c
M trunk/brush_ops.c
M trunk/op_c.c
M trunk/operatio.c
M trunk/brush.c
M trunk/loadsave.c
M trunk/graph.c
M trunk/fileformats.c
M trunk/main.c
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1277 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-01-18 14:26:59 +00:00
Yves Rizoud
357f8b37ef
Fixed the 'Save as' not updating the current file's name (bug 289) and ignoring the selected format (!). When going to parent directory, the origin is now highlighted. When 'Saving as', the original file is highlighted. In DPaint skin, fixed the layer order arrows which were reversed, and made the default BG color 0, as it's more consistent with empty images which are filled with 0.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1275 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-01-18 02:13:20 +00:00
Yves Rizoud
6a69fa2b79
Hide button now brings a drop-down menu to choose toolbars to show/hide. Right-clicking it toggles them all off/on. Internal: Added support for dropdowns that expand above the button (available in toolbars and windows); Allowed toolbar buttons to wait for button release (the usual) or immediately trigger their effect.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1266 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-01-17 01:56:56 +00:00
Yves Rizoud
8bdd163ede
Huge rewrite of the file loading/saving system. Normally safer in case of problem. Added incremental safety backups at regular intervals in the 'application data' directory (Windows) or $HOME/.grafx2 (unix). Keeps 8 files, saves every 30-60s and/or every 10-30 clicks.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1245 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2010-01-13 02:09:47 +00:00
Adrien Destugues
825142eabb
This is actually not needed with an up to date and properly installed sdk.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1212 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-17 21:22:36 +00:00
Adrien Destugues
5671297542
-Build "fix" for morphos
...
-Makefile fix for linux. This one should work ok on linux and windows as it did before, but not on amiga. The amiga packing procedure is quite different anyway, so I think that's ok.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1207 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-16 21:59:05 +00:00
Adrien Destugues
e6e698c2bd
Added vim modelines to all files.
...
Set them to 2-space indent, I hope this is ok.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1161 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-10 20:08:11 +00:00
Adrien Destugues
7efea41231
Be more subtle: load immediately if the user pressed enter.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1139 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-01 22:05:08 +00:00
Adrien Destugues
d41b612931
File selector no longer exits event loop when you enter a filename and exit the textfield.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1138 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-01 22:00:14 +00:00
Adrien Destugues
7af6b92e3e
Reset quicksearch when entering a directory.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1106 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-30 11:51:07 +00:00
Yves Rizoud
9ef0e6b74c
(trunk) File save/load only shows common file extensions by default. (choice 'all' in filter, different from '*.*')
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1083 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-21 01:52:07 +00:00
Yves Rizoud
7bfdb28936
Keyboard shortcuts that open a window now also close it (Issue 88). Fixed a recent bug that made contextual help in FX window only work once.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1004 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-23 00:41:40 +00:00
Yves Rizoud
7f072fd89c
Merged in trunk the fix for issue 198
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@968 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-07-29 22:03:37 +00:00
Yves Rizoud
d4dcba62a6
More work on fonts/skins
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@890 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-28 21:50:01 +00:00
Yves Rizoud
67dbb218a2
GUI skins and fileselectors: cleaned up a little
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@886 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-28 18:19:21 +00:00
Yves Rizoud
0d54a9524f
More work on List controls. Used in GUI Skin selector now
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@879 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-18 19:43:40 +00:00
Yves Rizoud
a32d28e157
Fix issue 170: Fileselector displays only letters until the first dot
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@821 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-26 19:14:40 +00:00
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
Adrien Destugues
23a72b39ee
Build fixes for AROS.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@794 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-10 07:26:09 +00:00
Adrien Destugues
2fa494f77e
Removed postal address of the FSF since it's moving faster thant the website :)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@779 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-05 18:19:37 +00:00
Adrien Destugues
e5fc3a9ef3
AmigaOS 68k build fixes by Artur Jarosik. Thanks!
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@770 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-03 17:45:10 +00:00
Yves Rizoud
cfb323cdf0
(source code) Fixed mistranslation of Select_button / Unselect_button
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@765 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-02 18:27:05 +00:00
Yves Rizoud
e5f948076b
New: Picture effects screen, resizes / mirrors / rotates image (Issue 73)
...
New: Distort brush (Issue 34)
New: Pixel scaler "Triple" for 3x3 zoom (Issue 147)
New: Pixel scaler "Quadruple" for 4x4 zoom (Issue 151)
New: Pixel scaler "Wide2" for 4x2 zoom (Issue 148)
New: Pixel scaler "Tall2" for 2x4 zoom (Issue 149)
Fix of very old bug: Resizing the image didn't mark the image 'modified since last save'
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@763 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-02 16:44:06 +00:00
Yves Rizoud
c09f5819c2
Doxygen documentation for text.h, SFont.h, setup.h, realpath.h, readline.h, palette.h, keyboard.h, io.h, input.h, hotkeys.h, helpfile.h, errors.h; and a basic description for all other headers.
...
Removed 2 unused function prototypes (They escaped translation)
In each C file, added a #include of its own header, to help doxygen generate a more complete documentation for the C files (and also double-check function prototypes)
All these changes don't change the generated executable, it's still beta 99.0.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@752 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-18 19:58:19 +00:00
Yves Rizoud
0495eed913
Doxygen documentation of global.h and const.h (in English)
...
Some small changes in code that don't change the generated executable:
- 4 constants that were #defined are now enums, so they automatically get the right value: NB_ICON_SPRITES, NB_BUTTONS, NB_SPECIAL_SHORTCUTS, NB_OPERATIONS.
- Some numeric constants replaced by their symbolic value.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@750 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-16 19:32:15 +00:00
Yves Rizoud
eb781b9bd6
Renamed sources files to english words, updated makefile, recomputed dependencies.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@703 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-29 00:12:33 +00:00