Yves Rizoud
f38fd068a2
[layers] Merged changes from trunk
...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/layers@1131 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-01 01:05:21 +00:00
Yves Rizoud
e7f34fefe4
Skin preview previews gui colors
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1123 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-31 17:07:56 +00:00
Adrien Destugues
2b02ff505f
Moved skin preview to the Gfx struct so it is not overwritten if you cancel skin loading.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1115 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-31 11:19:44 +00:00
Adrien Destugues
0661e59e1c
Preview skins.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1108 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-30 16:58:37 +00:00
Yves Rizoud
abb6204757
[layers] Limited to 32 layers. (previously there was no limit and the 16-bit depth buffer wrapped). Fixed a display bug after picture transforms or layers add/del.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/layers@1075 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-14 00:13:49 +00:00
Yves Rizoud
2049f96c59
[layers] Implemented layer insertion. No keys or menu yet, but it's already used when loading images, to make an image with right number of layers. Undoing/redoing such change works. Implemented single-layer deletion (untested)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/layers@1069 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-08 23:54:02 +00:00
Yves Rizoud
dc70d2f59f
[layers] Merged-in the trunk changes (support for variable-height menu bar). Color replacer now works. Saving non-layer formats issues a warning and saves flattened version of the visible layers.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/layers@1068 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-08 21:41:25 +00:00
Yves Rizoud
953185205d
Internal support for variable-height menu
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1066 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-10-07 22:27:14 +00:00
Yves Rizoud
cedb706326
First svn commit of the experiment with layers. Preemptive backup (to shorten delay before drawing) is currently disabled. Basic Undo/Redo works, but not image resizing, the adjust tool, and saving (not even flattened)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/layers@1039 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-09-21 14:16:41 +00:00
Yves Rizoud
d6bf9413bf
Displayable tile grid (Issue 171)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1007 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-26 23:42:55 +00:00
Yves Rizoud
29ee887c78
Brush container (unfinished). Temporarily bound to right-click 'Brush FX'. Only accepts monochrome brushes of any size at the moment.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@997 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-18 23:42:07 +00:00
Yves Rizoud
025d27ff71
(cont'd from previous commit) Fixed Issue 183. Added intermediate screen updates during expensive operations (including rectangle, I forgot it in previous commit). Display more responsive to users of fast mice.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@991 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-08-15 16:56:20 +00:00
Adrien Destugues
bd9541cc04
Allows exiting a textfield with a mouse click (but not using space). Introduce a new global var to do it, however...
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@952 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-07-24 15:22:18 +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
ab9671b286
Separated font graphics from skin graphics. WIP, a lot is still hard-coded (font list) or not coded at all (save/load in ini, and match in skin selection screen).
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@885 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-23 21:04:58 +00:00
Yves Rizoud
7f3fd42f77
Started implementing generic 'List' controls. Currently in Text window, it's WIP, misses the initial display, no kb shortcuts, and untested with lists smaller than display area.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@878 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-17 23:49:56 +00:00
Yves Rizoud
1b2fa69f6a
GUi skin elements are allocated on the heap
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@871 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-16 19:43:37 +00:00
Adrien Destugues
b04303ddc9
Some fixes for gp2x, the define is actually uppercase.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@842 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-06 21:11:47 +00:00
Yves Rizoud
33bb5622c0
Fixed bad display and possible crash, when the zoomed area showed more than 512 pixels (requires resolution >1600)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@824 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-01 18:47:08 +00:00
Yves Rizoud
4a39819c86
Follow-up on previous commit: Generalized the "Command" key support, it compiles on all platforms and somebody may want to plug a Mac keyboard in a PC :)
...
Added a "command" symbol in the fonts, so shortcuts that use this key can be displayed.
Fixed: In Keyboard settings, some very weird keys (Thinkpad "volume up") were displayed with a wrong number.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@806 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-14 18:42:03 +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
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
Yves Rizoud
1eeed5aca4
Added some missed translations in source code.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@755 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-21 17:48:26 +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
Franck Charlet
7dae508324
- Renamed the "Button" array into "Buttons_Pool" due to a conflict with Apple headers.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@748 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-14 12:19:34 +00:00
Yves Rizoud
fb24a9ae67
More code documentation in global.h
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@702 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-28 18:42:34 +00:00
Yves Rizoud
663229efb3
Fixed compilation error on Linux (name conflicts, issue 132)
...
Load/Save: Fixed display of mount points and drives ("Select drive" button)
Started documenting global variables
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@698 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-27 20:14:28 +00:00
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
b68db78d29
Fix error in previous commit. Filter some files in Doxygen (the standard SDLMain, and I have some python scripts lying around.)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@693 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-23 19:53:03 +00:00
Yves Rizoud
2602c591eb
Fixed some missed translations. Fixed doxygen (mis)handling of packed structures.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@692 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-23 19:24:16 +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
Adrien Destugues
c324adfff2
Some cleanups to the types of vars.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@689 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-22 17:44:29 +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
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
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
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
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
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
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
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
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
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
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
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
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
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