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
This commit is contained in:
2
gfx2.ini
2
gfx2.ini
@@ -286,4 +286,4 @@
|
||||
; Number of the default video mode | Numéro du mode vidéo par défaut au
|
||||
; at startup (see the list by typing| démarrage (voir la liste en tapant
|
||||
; "gfx2 /?" at the DOS prompt). | "gfx2 /?" sur la ligne de commande).
|
||||
Default_video_mode = 53 ; (default 0)
|
||||
Default_video_mode = 0 ; (default 0)
|
||||
|
||||
Reference in New Issue
Block a user