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
Yves Rizoud
7ba9a726dc
Implemented window sizing (and re-sizing) by draggin window edges.
...
Unfinished, more work needed in:
* command-line arguments (grafx2 myimage.pcx -width 640 -height 480)
* querying SDL for best modes
* detecting bad modes and recovering (though shift+return restores to window)
* saving settings in gfx2.ini.
Also, now the window's close button triggers Quit. Both events (quit, resize)
are only taken into account when all menus are closed.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@188 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-10-03 01:06:42 +00:00
Yves Rizoud
7bf71cd7b0
More work on endianness. Grid settings are now saved and reloaded.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@187 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-30 19:24:49 +00:00
Adrien Destugues
3c1fc67ca8
Fixed afficher_ligne_transparente_zoomée, used a byte for counting horizontal pixels, obviously causing an overflow and incorrect drawing. Now color brushes are always displayed correctly, including in zomm mode.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@186 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-30 17:54:54 +00:00
Adrien Destugues
710c08e158
Some corrections. Take care of adding sdl.dll to the zip.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@185 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-30 16:37:54 +00:00