703 Commits

Author SHA1 Message Date
Adrien Destugues
77c87dcc24 Linux build fix.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@884 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-22 21:42:28 +00:00
Yves Rizoud
230baa77e7 GUI Listboxes: fixed mouse cursor display while using keyboard;
Skin selector: tweaked position and made it ignore files that don't end in .PNG .GIF, or those that start with '_';
Added 2 old fonts and 2 new ones (thanks Ilkke) as files skins/_fontname.png


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@883 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-22 21:30:54 +00:00
Yves Rizoud
5a01415960 GUI Generic list control: now takes cursors and mousewheel shortcuts. Still some mouse cursor problems, but almost done.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@882 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-22 17:35:52 +00:00
Yves Rizoud
f683d9ff2e GUI skins: The loader now recovers cleanly from errors and displays a message that says what's the problem in the image.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@881 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-21 18:34:57 +00:00
Yves Rizoud
0d54a9524f More work on List controls. Used in GUI Skin selector now
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@879 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-18 19:43:40 +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
1910a39fd4 Gui skins: Added memory checks and correctness
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@877 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-17 19:38:55 +00:00
Yves Rizoud
1c53b5dd7f GUI skins: fixes INI ascending compatibility
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@876 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-17 19:23:41 +00:00
Yves Rizoud
3b417545b2 Merged in the fix of Issue 180 from trunk r874
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@875 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-17 19:16:03 +00:00
Yves Rizoud
cc4e60954f Fix issue 180: Quicksearch filenames and brush resize shortcuts don't work
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/release@874 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-17 18:28:41 +00:00
Adrien Destugues
a219287e23 Typo. Sorry !
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@873 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-17 16:09:24 +00:00
Adrien Destugues
51bcccce47 Yay ! A 10 hours trip in the train is good for my opensource productivity :)
- Moved font and cursor choice to the skin window instead of settings
- Changed them to use dropdown instead of buttons
- Save the config includintg the chosen skin (i had to wildly hack the save routine to allow '.' as a character in a string in the inifile... check if it's ok please)
- Renamed 00.rgb.studios to "the Peach", as they seem to be the same person :) in the help/bugfinders
- Wrote a little help for the skins window
- Some other random tweakings i already forgot.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@872 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-17 15:11:32 +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
62738a1526 Begin of work on the file selector.
Quite ugly, i tried to reuse code from the other fileselectors, but I failed.

Basically, it works, but we can improve it a lot.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@870 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-15 21:43:21 +00:00
Adrien Destugues
aff6fe50b2 -Renomed skins. "base" becomes "classic", "ilkke" becomes "modern" (as I heard Ilkke is working on yet another skin...).
-Converted them to png (base was a .gif but this is a bad format :))
-Changed dates in the splash screen to say coyright 2007-2009.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@869 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-15 20:09:57 +00:00
Yves Rizoud
2189d00ec4 Merged buttons 'Grad rectangle' and 'Gradient menu' (issue 107)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@868 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-15 19:53:12 +00:00
Yves Rizoud
04ff11c4d9 Fixed typo in previous commit
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@867 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-15 18:46:23 +00:00
Yves Rizoud
dad7e3d363 Help for the quick translucency shortcuts. Fix a bug in Help where a hotkey highlight was on wrong position if an escaped character preceded it (The case never occured in 2.0)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@866 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-15 18:41:36 +00:00
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
Yves Rizoud
daa38a37fb Creating a branch for maintenance of the latest release
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/release@861 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-06-12 18:48:28 +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