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
b347f5e04b
Source cleanup to help translation.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@669 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-13 21:42:26 +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
Yves Rizoud
13130acc67
Fixed the pipette leaking drops (issue 115) and a few other display bugs on mouse click or release
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@639 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-17 02:18:57 +00:00
Yves Rizoud
de54ecb44a
Fix recent input bug that made Y mouse movement very choppy (it was ignored until a X movement happened)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@619 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-09 00:16:03 +00:00
Yves Rizoud
47c8397cbf
In gfx2.ini, setting Merge_movement to >0 should help solve lag (issue 80)
...
for users who have a mouse with update frequency >100Hz
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@613 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-08 01:43:14 +00:00
Yves Rizoud
9d428e1e38
Keyboard shortcuts are customizable from within Grafx2.
...
2 shortcuts per function. You can use keys, MouseWheel, Middlebutton, joystick buttons,
in combination with Alt, Shift, Control.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@609 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-07 23:36:11 +00:00
Yves Rizoud
2e2cd8073d
Safety in Help text
...
GUI image change: Added more characters in help font.
Shortcuts: Change internal "no key" value from FFFF to 0000
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@608 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-07 01:44:23 +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
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
Adrien Destugues
f90af64c83
Disables keyboard on "Attendre_fin_de_clic", so we no longer need to empty the event loop.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@593 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-04 18:21:48 +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
599e835e28
Fix the clipping of mouse cursor.
...
Fix joystick buttons not causing action if no mouse movement.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@585 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-03 00:20:37 +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
1150dcea21
Implemented basic joystick control : dir+AB on most platforms, pad+AB on GP2X
...
Implemented accelerating cursor with joystick / kb cursor
Fixed up the contextual help, somehow
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@583 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-02 18:22:23 +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
c0b95295ae
Correct handling of multi-button for spray and freehand.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@579 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-01 15:03:16 +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
369e3a4dcd
fix kb emulation 'up'
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@565 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 22:48:50 +00:00
Yves Rizoud
a38f08d2bb
Fix the close button requiring an extra click somewhere (on win9x at least)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@564 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 22:47:13 +00:00
Adrien Destugues
11bc1066ba
Fixes window resize and key repeat. New key behaviour : the Touche will containe the last key pressed, until it is released. This can be problematic in some places, but i'm not sure. The other possibility is to unset it when entering get_input to get the old behaviour and rely on the key repeat.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@560 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 18:43:27 +00:00
Adrien Destugues
4d62d6f93f
Fixed some bugs with mouse clicks. Also added a debug info when an unhandled sdl event occurs. It seems there are events when the window is focused and unfocused, for example. We may use them to hide and display back our software cursor.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@559 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 18:32:46 +00:00
Adrien Destugues
c018c13352
First "working" version of new get_input... buggy, but i'm working on it
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@556 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-26 11:07:36 +00:00
Adrien Destugues
bcc835f251
New input handler. Still work in progress and unused, but it's time to sleep for me :)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@552 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-21 23:02:00 +00:00