3150 Commits

Author SHA1 Message Date
Adrien Destugues
47c1db98ce fixed screen update in loadfile screen when opening an empty directory (or with little number of files)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@247 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-13 20:03:21 +00:00
Adrien Destugues
b4673bf9de Fixed big ellipses
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@246 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-13 19:50:33 +00:00
Adrien Destugues
0bbed15383 Removed the useless "squares table" wich only worked for resolutions <= 1024 px.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@245 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-13 19:38:58 +00:00
Adrien Destugues
c4be0a319a Updated the makefile for proper cross building
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@244 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-13 18:16:09 +00:00
Yves Rizoud
96089af2ae Contextual help in all menus. Done!
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@240 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 21:28:16 +00:00
Yves Rizoud
74d0b87233 Contextual help in Effects menu
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@239 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 19:09:29 +00:00
Adrien Destugues
1af06aec53 moved cfg folder to oldfiles dir
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@238 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 18:07:48 +00:00
Yves Rizoud
8a1e44ed30 Windows restore their background. Fixes/speeds-up some refreshes, and prepares for pop-up windows
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@237 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 17:32:46 +00:00
Yves Rizoud
e91ef156b1 Makefile fixes
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@236 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 14:29:27 +00:00
Adrien Destugues
2bf228cc6c Fixups for building under linux...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@235 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 11:07:27 +00:00
Yves Rizoud
c35f410a74 Click on Help now brings default (or last) topic, not contextual text of Help button
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@234 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 02:10:51 +00:00
Yves Rizoud
53c1d0c47d source file missing since r230. The '232 zip had it.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@233 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 01:45:00 +00:00
Yves Rizoud
35e9c2ee10 In 'Make ziprelease', added missing font, plus sources to conform GPL.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@232 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 01:34:22 +00:00
Yves Rizoud
f293fd4694 Default config is set when gfx2.cfg is missing or corrupt
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@231 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-12 01:23:13 +00:00
Yves Rizoud
f4ec27a25f Config sources are now in main directory
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@230 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-11 19:21:28 +00:00
Yves Rizoud
1f2c665a1d contextual help and fixed missing line in helps
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@229 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-11 19:02:33 +00:00
Adrien Destugues
157722706b some work on the titlepage and credit help.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@228 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-11 15:17:25 +00:00
Adrien Destugues
7af17f107d fixed screen update for readline
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@225 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-11 12:40:13 +00:00
Yves Rizoud
c74133e07d +refresh on vertical scroller arrow buttons
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@224 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-11 00:51:26 +00:00
Adrien Destugues
717a7f1fbb fixed line artifacts.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@223 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-10 15:48:40 +00:00
Yves Rizoud
83ef6ef4ac (linux) Fixed a sigsegv when drawing a color brush which is completely outside screen (The only way is to use the circle tool)
SDL_UpdateRect was crashing because of receiving negative Width or Height.
This was due to Calculer_dimensions_clipees() clipping width or height so much that they become negative.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@222 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-10 00:33:22 +00:00
Adrien Destugues
b0cd961188 Fixed the statusbar update.
Fixed the brushes ! finally !


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@221 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-09 19:29:34 +00:00
Adrien Destugues
393ced7451 Hopefully correct Mettre_Ecran_A_Jour for zoom. Still buggy in the colour brush, going on to check that
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@220 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-09 19:05:21 +00:00
Yves Rizoud
fe249a3c7d Splash screen, About
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@218 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-09 00:30:44 +00:00
Yves Rizoud
5fd1e42ea0 Copyright notices in source files
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@217 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-08 19:40:47 +00:00
Adrien Destugues
449858e21b Finally fixed the Annoying Screen Update Bug (tm)!
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@216 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-07 22:06:29 +00:00
Yves Rizoud
c8c037d00b Fixed resolution menu behavior when less than 12 resolutions are available.
gfx2.cfg : Reverted the default Shade (Blanks are needed to separate the gradients)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@215 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-07 19:21:17 +00:00
Adrien Destugues
c33dd599cd We still need the cfg file in the releases
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@214 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-07 19:05:09 +00:00
Adrien Destugues
93a4cd2db5 The transparent cursor left some artefacts in the edge of the menu, this is now corrected. The screen is updated when drawing.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@213 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-07 17:50:37 +00:00
Adrien Destugues
6d47ee1952 fixed a little screen update bug in cursor handling.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@212 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-07 17:26:34 +00:00
Adrien Destugues
cee796f7d4 update the palette when selecting another color
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@211 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-07 17:13:56 +00:00
Adrien Destugues
ab3318caaf more work on the shade window.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@209 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-07 16:13:32 +00:00
Adrien Destugues
b01b598141 ini and cfg files are not needed and will be regenerated from default settings on load
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@208 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-07 14:58:03 +00:00
Adrien Destugues
681940ffd8 removed useless "vesa info" field in the stats window
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@207 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-07 14:55:25 +00:00
Adrien Destugues
820df9fa2f some more screen updates, for correct display of the zoom splitbar and workspace
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@206 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-07 14:39:49 +00:00
Adrien Destugues
8d5e4f6840 removed screen refreshing in the block drawing function and made the needed update in windows display. Should be a lot faster, but i may have missed some screen updates.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@205 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-07 14:16:48 +00:00
Yves Rizoud
54b4f5a121 Resolution and window size remembered in gfx2.ini. Gfx2.ini now uses hosts' end-of-line character(s)
Removed Gfx2.ini from SVN, since it's automatically re-created from Gfx2.dat as needed.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@202 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-05 19:10:46 +00:00
Yves Rizoud
e3bce08464 graphic modes are sorted
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@201 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-05 14:39:25 +00:00
Yves Rizoud
75c772a724 (linux) Fixed signedness issue that caused previous change to behave strangely.
Unsupported modes are no longer listed.
(linux) Fixed a "harmless" signedness warning in LBM loader
Will sort modes tomorrow, with a qsort.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@200 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-05 02:47:28 +00:00
Yves Rizoud
40fe3ccf09 SDL Graphics mode detection and checking if valid, CFG saves only configuration for valid modes where the user set <3 | Imperfect | Unsupported.
Modes are not sorted yet (cosmetic)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@199 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-05 02:10:53 +00:00
Yves Rizoud
0705aae104 Fixed an incompatibilty with gfx2.cfg from DOS version.
Fixed the invalid shades in the current version of gfx2.cfg : Somehow it was filled with multiple occurences of color 0(black), with a step of 0.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@198 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-04 23:47:53 +00:00
Yves Rizoud
7c1ecd4bb5 Fixes minimum size not taken into account if window was 320x200 before resize (issue 21).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@197 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-04 22:07:56 +00:00
Yves Rizoud
dd984538bf Removed some old DOS code, unified (for gcc) the handling of file paths.
Probably fixed some linux issues there.
Fixed the filename search by typing in Save/load.


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@196 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-04 21:56:02 +00:00
Adrien Destugues
16f642c689 monochrome brush drawing screen update
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@195 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-04 20:43:01 +00:00
Adrien Destugues
ee6106d80f XOR lines when moving windows
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@194 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-04 20:37:09 +00:00
Adrien Destugues
1c669a2987 Displays the brush on his button
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@193 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-04 20:09:09 +00:00
Adrien Destugues
5a2f86a4d6 set the window caption to something useful
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@192 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-04 18:45:05 +00:00
Adrien Destugues
eaa35aa9c7 Fixed the palette window : color counting works (forgot to initialize the buffer), and correct display of selected colors.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@191 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-04 18:14:29 +00:00
Adrien Destugues
9dac1feee7 Correct screen update for circles with gradiation.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@190 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-04 16:40:04 +00:00
Adrien Destugues
3a9dd17bb5 Some rework in the polyfill routine... still imperfect ...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@189 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-04 15:03:17 +00:00