Yves Rizoud
8aadfe3732
When you use a keyboard shortcut to activate a window button (ex: ESC), it shows it's activated.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@611 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-08 00:11:35 +00:00
Yves Rizoud
2efe96f1a8
missing file
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@610 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-07 23:38:22 +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
Adrien Destugues
a236e40fa6
Fixes 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.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@607 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-06 15:02:54 +00:00
Yves Rizoud
ec256da711
Mouse fixes
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@606 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-06 01:22:50 +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
5c0ec7effb
gp2x button labels
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@604 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-05 23:36:36 +00:00
Yves Rizoud
708e2adbf8
More stuff for double shortcuts
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@603 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-05 23:14:09 +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
Adrien Destugues
211e88e2bc
Added iLKke and Timo to the bugfinders list.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@596 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-04 20:19:24 +00:00
Yves Rizoud
0cf4597a03
Buttons: Now you can 'cancel' a click by dragging the mouse outside of the button before releasing click, pretty much like a Windows button.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@595 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-04 19:43:15 +00:00
Adrien Destugues
5992013629
Fixes buttons being depressed on mouse press
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@594 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-04 18:29:07 +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
Adrien Destugues
00b67c23ef
Fixes missing refresh on color select with keyboard shortcut
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@592 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-04 17:58:57 +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
aaec8fd8a5
Same with 'end' key
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@590 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-04 00:26:23 +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
0c26dc6459
Contourfill now uses a kind of 'additive XOR' lines : Pixels stay marked even if you pass over them several times.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@588 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-03 21:58:25 +00:00
Yves Rizoud
daf5f99979
Makefile fixes (ziprelease)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@587 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-03 01:34:26 +00:00
Yves Rizoud
306752eaeb
Fixed Contour to allow drawing single pixels
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@586 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-03 01:18:28 +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
db02be0e41
Fix the Contour not advancing the backup/redo status.
...
Fix the polygon filling (used in 3 tools) to include all the right pixels. whoo!
Fix the operations' cursors, that I broke when I added Contour.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@582 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-02-02 00:53:07 +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
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
Yves Rizoud
0b2bbacf37
Small keyboard fix, and re-computed the dependencies.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@578 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-31 15:42:22 +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
0f4776d4a6
fix harmless signedness warnings
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@574 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-29 21:03:07 +00:00
Yves Rizoud
03c0b0d20a
PNG saving. Text data are saved: 'Software'='GrafX2', 'Title'=<image comment>
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@573 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-29 19:59:13 +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
ac28a82d8e
png: better error checking
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@570 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-29 17:07:03 +00:00
Yves Rizoud
0575684810
PNG loading. Don't try saving yet, it's pkm-saving code
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@569 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-29 17:01:02 +00:00
Yves Rizoud
8ba5bc178a
Obfuscated e-mail addresses in source code for credits
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@567 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 23:26:32 +00:00
Yves Rizoud
67017228f2
Fixed the characters in Smooth window (shift-F8) and the string-editing cursor, both were drawn rotated 90degrees :)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@566 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 23:11:03 +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
0ba7bd048d
Some cleanups to the "credits" help page, as it felt a little bit messy.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@563 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 22:34:20 +00:00
Adrien Destugues
91d4dc20b9
Fixes for compiling under freebsd
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@562 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 22:12:28 +00:00
Yves Rizoud
a15de98314
Default filename is now in .gif instead of .pkm
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@561 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-28 19:45:38 +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
Yves Rizoud
b861fe558d
No longer need 'dat' utility programs
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@558 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-27 00:34:27 +00:00
Yves Rizoud
e302f2d26a
gfx2.dat is now replaced by an editable "skin" file: 'gfx2gui.gif', and a reference INI file: 'gfx2def.ini'.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@557 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-01-27 00:10:02 +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