23 Commits

Author SHA1 Message Date
Yves Rizoud
a92fd3da13 Fix: In Settings screen, right-clicking on 'Undo pages' didn't clear the value.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@837 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-06 14:21:07 +00:00
Yves Rizoud
bb2794ed2b Fix issue 161 (Linux: The window "resists" resizing)
Fix issue 159 (Mouse sensitivy in fullscreen mode) by implementing user-defined mouse sensitivity in Settings screen, only affects fullscreen mode.
Fix: When changing pixel size, sometimes there were some remaining "dirty lines" at the right edge of screen/window.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@819 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-24 22:26:08 +00:00
Yves Rizoud
315a17ae5b Double-clicking a palette color to open the palette now requires a time of less than 0.5 seconds between clicks
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@803 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-13 18:17:24 +00:00
Adrien Destugues
ce812e481d -Bring back the adaptive sleeping in the main engine. Still using static 20ms sleep in idle waiting loops (when mouse doesn't move)
-Discontinuous freehand now uses an asynchronous method for delaying. It is sensitive to the delay set in the airbrush/spray menu.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@802 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-12 22:16:05 +00:00
Adrien Destugues
ff83f12b31 Fixed all sdl_delays to wait for 20ms, not 1. Avoid problems for low-latency guys.
Also, made the splash screen stay as long as you don't click or key. Mouse moves are discarded. Sorry!


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@800 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-12 19:05:33 +00:00
Adrien Destugues
3c0a940301 Removed Wait_VBL. Was only used for slowing down things. Used SDL_Delay(1) instead, which let the OS handle other things. We should get about 10-20ms latency with that. Scrollbars may be slightly faster. The only place where this could be a problem is discontinuous freehand. If the current way it works isn't good, look at the "Chrono" functions (like the spray) instead.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@799 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-12 18:00:19 +00:00
Yves Rizoud
8f9dd6a68e Frame around BGcolor in menu palette: Now handles the case where the same color is FG and BG color
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@797 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-10 17:18:12 +00:00
Adrien Destugues
fc1786a077 Frame the backcolor with a dark dotted line.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@795 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-10 14:17:13 +00:00
Adrien Destugues
4a051bb820 Clicking on the current forecolor in palette will open the palette window.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@793 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-08 20:52:48 +00:00
Yves Rizoud
29bfd973d3 Changed window caption
Fix: Made the "Safe resolution" shortcut do nothing in windowed mode. (issue 118)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@792 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-08 19:00:41 +00:00
Yves Rizoud
9d19d8785a New: Implemented the functions for previous and next user's colors. (Keys = and -) They use the Shade settings.
Minor display fix: In Shortcuts screen, explanation text can no longer overdraw the border.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@791 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-08 16:32:33 +00:00
Yves Rizoud
27506d0649 Removed tab characters
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@789 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-07 23:43:00 +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
6f37000cd5 Preview in text window is now drawn with the back color, so you can see the antialiasing correctly.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@769 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-03 14:09:12 +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
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
8b29381699 After changing screen size or pixel mode, the palette is now scrolled to show FG color (issue 124)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@718 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 14:51:27 +00:00
Yves Rizoud
763a4551a9 Fix the mouse cursor erasing the filename in status bar when you close the Load window (old display bug)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@717 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 13:52:19 +00:00
Yves Rizoud
5655129401 Makefile: Added missing png library to linker options (issue 141)
Fix the minimum screen size not enforced when resizing window (since r705)
Fix the mouse cursor position when changing pixel size (since r705)
In fileselector, the image preview now enforces "safe colors". (issue 116)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@716 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-04-04 13:38:45 +00:00
Yves Rizoud
7d553daf47 Pixel ratio can be set in Resolution screen
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@705 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-30 00:41:45 +00:00
Yves Rizoud
8ff9028eab Implemented palette ordering (issue 112). You can activate it in the secondary palette window (shift-P), it's saved in gfx2.ini.
The skin file has 2 more icons for the arrows (Ilija, grafx2 won't load if you don't update yours)
Updated contextual help for the secondary palette window.
Fixed some typos in code.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@704 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-03-29 21:58:38 +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