Adrien Destugues 92c4340dbd Video modes can now be windowed or fullscreen. Quite hacky, however. We would need a way to :
-Easily change the number of video modes in the list (i'd like to use my 1440x900 screen at full resoluution !)
-Maybe add a resizeable window mode, but that would require more work, so i'd like to keep that for 2.0 .

In the meantime, i've made the list symetric, ie, mode are loaded from the cfg file and when the list is processed, each mode is copied to a fullscreen equivalent. Note this way of doing things will prevent the config file to save the selected video mode properly, so the program will switch to the default 800x600 windowed. When you load an image, Grafx2 will switch back to windowed mode when selecting the appropriate resolution for that image.

The NB_MODES_VIDEO constant is also only the HALF of the actually available video modes


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@183 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2008-09-30 15:12:40 +00:00
2007-04-14 20:18:30 +00:00
2007-04-14 20:18:30 +00:00
2007-04-14 20:18:30 +00:00
2007-04-14 20:18:30 +00:00
2007-04-14 20:18:30 +00:00
2007-04-14 20:18:30 +00:00
2008-09-30 01:58:10 +00:00
2008-09-29 23:26:56 +00:00
2007-04-14 20:18:30 +00:00
2008-08-10 17:19:14 +00:00
2008-08-10 17:19:14 +00:00
2007-04-14 20:18:30 +00:00
2007-04-14 20:18:30 +00:00
2007-04-14 20:18:30 +00:00
2007-04-14 20:18:30 +00:00
2007-04-14 20:18:30 +00:00
2007-04-14 20:18:30 +00:00
Description
Fork of grafX2: The ultimate 256 color painting program https://gitlab.com/GrafX2/grafX2
16 MiB
Languages
C 89.3%
Lua 6.9%
Makefile 1.6%
NSIS 1.1%
Objective-C 0.4%
Other 0.5%