684 Commits

Author SHA1 Message Date
Yves Rizoud
69dbed8d04 Fix default shortcuts from previous commit (in code). Implemented user-definable mouse-click speed and double-keypress speed.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@865 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-14 20:15:20 +00:00
Yves Rizoud
8478d29373 Quick shortcuts for numeric transparency levels (Issue 154) (defaults 1-9 and 0). Shortcut for all effects off (default shift-E)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@864 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-14 19:48:03 +00:00
Yves Rizoud
fb05f785bd (Dev) Makefile: File names from 'make ziprelease' are now grafx2-2.1wip862-win32.zip if label is '2.1wip', and grafx2-2.1.862-win32.zip if label is '2.1'
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@863 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-14 18:22:29 +00:00
Yves Rizoud
7cb2519e2a (Dev) "trunk" is now labelled "2.1 wip". Makefile: "make ziprelease" now automatically names archives according to the version label from pversion.c
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@862 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-12 21:15:46 +00:00
Franck Charlet
2ff4d17c95 git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@859 416bcca6-2ee7-4201-b75f-2eb2f807beb1 2009-06-11 17:28:41 +00:00
Adrien Destugues
283939b3de Fixes issue 177 : screenmode listing error.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@858 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-11 17:20:02 +00:00
Adrien Destugues
ad6a2442ec Source archives are now packed in a directory, which is the usual way to go on unix.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@857 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-11 16:57:40 +00:00
Adrien Destugues
8987f07c8a Fix many bugs introduced by the gp2x "hack" of not having a windowed mode.
Still not working perfectly, but at least i can manage to get the program in 320x240 by default on gp2x, without modifying the config files.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@856 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-11 16:19:45 +00:00
Adrien Destugues
92b5727994 Proper way of detecting windowed modes to not display a ratio in the window list.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@855 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-11 14:35:51 +00:00
Adrien Destugues
783418fd57 [gp2x] config must be written only in the local directory. You don't want to mess with the internal flash ram holding the firmware !
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@854 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-11 14:20:11 +00:00
Yves Rizoud
d0f974227b Reverted default window size to 640x480. Updated NSIS installer script.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@853 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-10 19:09:15 +00:00
Adrien Destugues
75ec0abe5a Removed two old macros that are now useless.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@852 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-09 14:31:56 +00:00
Adrien Destugues
4b3e8edfe8 -Added codename "Summer Sunset" to the helpscreen
-Centered the text on the helpscreen as there will be no logo for this release there
-Updated the doxygen files for the official 2.0 release


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@850 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-09 14:22:26 +00:00
Yves Rizoud
9ae2ead8dd Fixed (GP2X): 320x240 is now the Default and 'Safe' videomode.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@849 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-07 16:23:33 +00:00
Yves Rizoud
3479ae4c55 Splash screen displays version number (without svn part)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@848 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-07 01:31:38 +00:00
Yves Rizoud
f1730ea0e4 Reverted the default mode to 'window'. Disabled window mode for GP2X, so it falls back on the first available mode.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@847 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-06 22:56:17 +00:00
Adrien Destugues
3aa04afc59 Tweaks to the config file for better gp2x experience.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@845 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-06 21:59:57 +00:00
Adrien Destugues
1cf83a2ed7 Fixed various aspects of the gp2x button handling :
- Default button mapping so you can at least click on the buttons
- Keep button press and button release in sync, so you use the same button for the same thing
- Fix display of the buttons

I noticed that ALT is interfering with the buttons names. Maybe we are using too much bits. CTRL and SHIFT work fine.
Also, the gp2x builds start by default in windowed mode at 640x480. This means the screen is hardware scaled down... that makes the program almost unusable, you have to go to the screen menu and switch to a more useable resolution. Finally, all the softscaled modes should be disabled, because the hardware scaler does its work very well :)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@844 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-06 21:57:29 +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
Adrien Destugues
414c7ba418 gp2x build fix.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@841 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-06 20:47:54 +00:00
Yves Rizoud
fb4d2fdb43 Fix part of Issue 168: Mouse3 shortcuts are no longer allowed at wrong moments during drawing.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@839 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-06 19:30:39 +00:00
Yves Rizoud
106912a5a0 Updated version number and README. Makefile can now change program version label, with 'make version LABEL=2.whatever
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@838 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-06 19:01:48 +00:00
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
c2da50357a Makefile fixes for make install, by 00.rgb.studios (Issue 173)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@836 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-04 23:43:08 +00:00
Yves Rizoud
507a6bebd9 Updated help screens (Grad ellipse, Resolution:Pixel size, Palette:Sort)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@835 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-03 23:58:47 +00:00
Yves Rizoud
b9f9a96ce8 Fix issue 172: Ellipse overflow with large sizes on 32bit cpus.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@825 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-01 21:27:28 +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
0826798943 Added HoraK-FDF to bugfinders in About screen,
Fix part of issue 169 (Resize while a window is open waits for an additional click or keypress after the window is closed.)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@822 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-26 19:31:01 +00:00
Yves Rizoud
a32d28e157 Fix issue 170: Fileselector displays only letters until the first dot
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@821 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-26 19:14:40 +00:00
Yves Rizoud
3925e87363 Updated Help for mouse sensitivity
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@820 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-24 23:07:03 +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
a3dbf3d4ac Skin: Fixed up some accented characters in font
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@817 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-23 01:40:20 +00:00
Yves Rizoud
4191b37099 Fixed issue 167: Crashes on win98 with international keyboards (SDL.DLL, recompiled from 1.2.13 source archive)
Fixed old bug (all platforms): When typing text with dead-keys like ^ ` it would additionally type the character on same key for US-QWERTY keyboard.
Removed the "disable Unicode" option added in r814, no longer needed.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@816 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-23 01:29:18 +00:00
Yves Rizoud
9e4866e34c Implemented US-qwerty shift characters, when Unicode is disabled
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@815 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-22 19:24:03 +00:00
Yves Rizoud
8f5fc2c923 New .INI setting to allow disable unicode (issue 167)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@814 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-22 19:02:23 +00:00
Yves Rizoud
f4cb7985f2 More manual ANSI conversions for when Unicode is off
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@813 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-22 18:28:01 +00:00
Yves Rizoud
e8dd8588d0 Workaround of issue 167: Unicode only enabled while entering text, so at all other moments there's no SDL crash when pressing ^ key (French or German keyboard) on Windows 98
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@812 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-22 18:14:13 +00:00
Yves Rizoud
4f157197e8 Fix issue 166: Bookmarks now allow characters # and ;
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@811 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-22 17:51:11 +00:00
Yves Rizoud
1b06317924 Fix issue 165: MS Windows no longer opens the program window at arbitrary (wrong) position, it restores instead the last position you used.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@810 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-20 00:11:32 +00:00
Adrien Destugues
b9849fe8ad Added MagerValp to the bugfinders.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@809 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-15 11:10:26 +00:00
Yves Rizoud
1669251259 Source comments
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@807 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-14 18:46:31 +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
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
fe637a504c Removed old todo list (most of it is done, the remaining parts are on the bugtracker)
Slightly reformatted the readme and added a nice ascii logo to it.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@801 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-12 21:03:17 +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
Adrien Destugues
7a847be4ec Removed all instances of Read_one_byte.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@798 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-05-12 17:41:22 +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