5 Commits

Author SHA1 Message Date
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
Adrien Destugues
a6ea5950f6 Lots of speedup-cleanup-debug. Menu is usable, we need to implement drawing functions now...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@39 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-11-03 19:12:03 +00:00
Adrien Destugues
7c4b0858da Even more cleanup
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@15 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-08-13 21:03:51 +00:00
Adrien Destugues
57fa46de8c Big cleanup, proper makefile
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@12 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2007-08-13 18:41:50 +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