143 Commits

Author SHA1 Message Date
Yves Rizoud
efbc978e6f Source code translated to english
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@697 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-27 16:50:21 +00:00
Yves Rizoud
6b4a8f674e Cleaned up the layout of Save/Load screen. (issue 92, issue 84#4)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@696 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-27 02:56:01 +00:00
Yves Rizoud
fa71dea18d Code 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)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@695 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-26 19:41:33 +00:00
Yves Rizoud
994c1ce713 Text tool: fixed font selection, was off by 2 pixels.
Menus: scrollbars are now dark, to make iLKke happy.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@694 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-24 14:39:19 +00:00
Yves Rizoud
346d940889 All code ready for mass translation
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@691 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-23 18:08:42 +00:00
Yves Rizoud
f8c7c6730b translations
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@690 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-23 02:33:21 +00:00
Yves Rizoud
f342ff5ff7 More translations (about 500)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@687 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-19 03:18:42 +00:00
Yves Rizoud
4dcdc53409 more translations
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@684 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-18 00:16:29 +00:00
Yves Rizoud
f69cf6b8f7 More manual translations, to make the bulk process easier
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@683 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-17 19:09:43 +00:00
Adrien Destugues
c6f4130efd Removed Open Watcom support.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@680 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-17 12:19:55 +00:00
Yves Rizoud
0aa43794cd Code cleanup: typedef all structs.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@671 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-14 01:08:39 +00:00
Adrien Destugues
5f50f7bc22 Added 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
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@665 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-06 21:05:05 +00:00
Yves Rizoud
e9bc7f35c4 Bookmarks: '...' now disappears when Renaming, Clear asks for confirmation, empty bookmarks display the dropdown on both mouse buttons and their only itemis "Set".
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@662 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-27 23:40:56 +00:00
Yves Rizoud
2688bbb3b4 Polyform: 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.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@661 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-26 19:41:48 +00:00
Yves Rizoud
9f85f5f1bb Bookmarks (issue 92) are now functional in Save/Load screens
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@656 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-26 00:31:36 +00:00
Yves Rizoud
5040a57bd1 Work-in-progress for bookmark directories. Only user interface, no code behind
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@655 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-25 00:35:42 +00:00
Yves Rizoud
b9f1116fd3 Load/Save: Removed the drive icons
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@651 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-21 20:49:50 +00:00
Yves Rizoud
4db4454794 Added 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.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@650 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-21 02:59:55 +00:00
Yves Rizoud
aa7d13a3fc Resolution 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)



git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@646 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-20 20:12:27 +00:00
Yves Rizoud
58b793933c Fix Sieve menu display with tall/wide pixels or large resolution (issue 123)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@645 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-20 19:39:31 +00:00
Yves Rizoud
714521b5bf Started implementing dropdown lists. Rough but functional, currently used in Save/Load for choosing file format.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@644 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-20 01:56:43 +00:00
Yves Rizoud
761d62f761 Removed 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_*"


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@642 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-19 02:10:40 +00:00
Adrien Destugues
86976c9dde Updates pinceau_x and pinceau_y when closing the resolution window.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@641 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-17 21:10:39 +00:00
Yves Rizoud
fdf8015d77 Fixes the resolution screen with wide/tall/double pixels
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@637 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-16 23:04:58 +00:00
Yves Rizoud
6c2d55ed8f Implemented 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.



git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@631 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-15 23:34:35 +00:00
Yves Rizoud
a28deef902 Fixed 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.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@626 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-11 00:00:17 +00:00
Yves Rizoud
82dc541a3c Menu: Palette size is now free, 1-256 on X and 1-16 on Y (non-powers-of-two are accepted)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@622 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-09 21:44:15 +00:00
Yves Rizoud
bba08c936f Configurable palette size (issue 47)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@618 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-08 23:59:30 +00:00
Yves Rizoud
dbdd73c0c3 Tried to improve the splash screen, and failed. Never mind, it's not important
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@617 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-08 19:09:39 +00:00
Yves Rizoud
1f7f1b87ea Fix buttons refresh, wrong in wide and tall pixel modes.
Fix window dragging not showing XOR rectangle (recent)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@616 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-08 18:40:20 +00:00
Yves Rizoud
f00c58ade3 PNG format now saves the pixel ratio if the program is in /wide or /tall mode.
The ratio is also reloaded, but not used yet.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@615 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-08 17:53:45 +00:00
Yves Rizoud
1ed8852d64 Fixed 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.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@612 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-08 00:46:42 +00:00
Yves Rizoud
05ede3ed0a Save/Load: Fixed the missing confirmation message (issue 105)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@605 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-05 23:47:52 +00:00
Yves Rizoud
13aa8e0988 Support for two shortcuts per function
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@602 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-05 22:58:13 +00:00
Yves Rizoud
ca2e12ff00 A million fixes in operations' cursor display. Oh gods I wake up in 4 am.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@600 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-05 01:24:02 +00:00
Yves Rizoud
266145cd0a Menus: Implemented 'repeatable buttons' that work like slider arrows.
Used for [+] [-] in Palette and Text, and for the arrow buttons that scroll Sieve pattern.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@598 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-04 20:34:53 +00:00
Adrien Destugues
16b405ccfe Fixes some little bugs with Attendre_fin_de_click.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@597 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-04 20:30:02 +00:00
Yves Rizoud
da942a7021 Support for ESC shortcut on GP2X (button X)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@591 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-04 01:27:04 +00:00
Yves Rizoud
bb7f09fc8e Fix CRASH in Help screen, when pressing PageDown in pages of less than 16 lines. Bug is present in 98.0% release:(
Internal support for action shortcuts on joystick buttons, mousewheel, mouse3.
Mousewheel now scrolls lists in Save/Load, Text, Help.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@589 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-04 00:23:27 +00:00
Yves Rizoud
5a80cdae44 Fixed the double icons having their diagonal not shaded on selection.
Fixed the Ellipse / Grad ellipse icon graphics (were quite off-centered)
Some tidy-up of input.c


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@584 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-02 23:09:06 +00:00
Yves Rizoud
4349fd71a3 Contour fill (issue 90), 4th mode of continuous drawing.
However, there is a rendering problem from the original polygon tool: the bottom pixels are not drawn.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@581 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-01 23:15:24 +00:00
Yves Rizoud
778d2fccde Added icons for alternative functions (issue 91)
Fixed some input problem I introduced in recent revision


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@580 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-01 22:44:05 +00:00
Adrien Destugues
6dd54a1686 Some fixes to get_input : allows to move windows.
Touche is now resetted to 0 only when a shortcut is processed. So you can let it at the key value for cursor moves, for example. But it does not work, i must have missed something :/


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@577 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-31 11:33:18 +00:00
Yves Rizoud
920e19b298 Moved save/load functions out of global.h
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@572 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-29 18:23:13 +00:00
Yves Rizoud
840d26cd17 Fixed: When the last resize was by the 'safe resolution' button, on exit the program recorded the previous window size instead.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@553 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-24 15:19:28 +00:00
Adrien Destugues
0f2d642847 Amiga systems use / and not .. for parent dir. Takes this into account...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@498 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-20 18:33:50 +00:00
Adrien Destugues
ab5f789fdf Mostly some cleanups.
Also added two experimetal functions, Ouvrir_popup and Fermer_popup, and started to implement a (commented) example popup menu for selecting freehand draw mode.
But it seems there are problem if doing a while(Mouse_K), Mouse_K seems to be reset when the mouse moves, or in some other place. Time to sleep so i'll continue that tomorrow.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@474 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-11 21:59:10 +00:00
Yves Rizoud
ba8ee723fe Fixed refresh problems in brush rotate and brush stretch, when screen was zoomed or scrolled.
The buttons in the screens FX and Brush FX now use the same shortcuts as when drawing.
The help screens for FX and Brush FX now show the keyboard shortcuts of all functions.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@471 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-11 00:41:20 +00:00
Yves Rizoud
b73d8b03dc The Spray tool no longer lags when you use a >0 delay setting.
Delay is now expressed in 1/100s, with range 0-99

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@470 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-10 17:28:38 +00:00
Adrien Destugues
154f5e824a Fixes all the tabulation problems.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@465 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-05 22:55:30 +00:00