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
11a4a488a6
Changed all the remaining OEM characters in the source code into Windows-1252.
...
Except in aide.c, because the strings are printed with an OEM font.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@175 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-27 22:11:17 +00:00
Yves Rizoud
7197a98fe3
Added constants for shift/ctrl/alt modifiers
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@173 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-27 17:12:11 +00:00
Yves Rizoud
8ec86f1899
gfxcfg now uses SDL keysyms for input, you can test it to check how SDL understands keys on your platform. The utility still doesn't load gfx2.cfg, and still saves is badly.
...
Fixed more hardcoded scancodes (shade menu).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@171 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-27 16:53:26 +00:00
Yves Rizoud
a7202fa2f6
Fixed character '+/-' in many menus.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@168 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-25 21:32:58 +00:00
Yves Rizoud
3894c39631
Updated makefile for MingW support, fixed some strict compilation warnings.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@133 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-11 23:40:06 +00:00
Adrien Destugues
7e48434e19
Right click is working. You can stop drawing polylines and do various other things
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@83 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-30 20:08:02 +00:00
Adrien Destugues
b2f9193e85
Made it compile under windows with Open Watcom
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@66 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-27 21:04:12 +00:00
Adrien Destugues
ae9a534ad8
Working on the filling routine (still broken)
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@65 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-07-26 12:30:42 +00:00
Adrien Destugues
7240396ae6
Mouse input is now fully working (we can even release a mouse button :) quite useful :))
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@52 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-04-05 11:54:10 +00:00
Adrien Destugues
635f8e5154
First compile-able version!
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@16 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-08-14 07:35:32 +00:00
Adrien Destugues
306a004e36
First upload of the code.
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-04-14 20:18:30 +00:00