Hi,
I am writing a Blitz App at the moment that is contructed using gadgets and displays 99% of its information on a Window. However, from time to time I display images using fullscreen by calling the Blitz2D Graphics() command. However, I need the program to know whether or not the computer has already initialised a Graphics() and is in full screen instead of it keep re-initialising in every loop. I know that I could write a variable but I'm sure that there must be a command that could tell us if the app is running fullscreen.
Anyone any ideas, thanks in advance
Seb
P.S. I've tried testing GraphicsHeight() assuming it would return 0 when no Graphics() but it returns the desktop resolution of Windows. I've also tried calling GraphicsBuffer() again assuming it will be 0 if there isn't a buffer but it doesn't refresh when you call EndGraphics().
I am writing a Blitz App at the moment that is contructed using gadgets and displays 99% of its information on a Window. However, from time to time I display images using fullscreen by calling the Blitz2D Graphics() command. However, I need the program to know whether or not the computer has already initialised a Graphics() and is in full screen instead of it keep re-initialising in every loop. I know that I could write a variable but I'm sure that there must be a command that could tell us if the app is running fullscreen.
Anyone any ideas, thanks in advance
Seb
P.S. I've tried testing GraphicsHeight() assuming it would return 0 when no Graphics() but it returns the desktop resolution of Windows. I've also tried calling GraphicsBuffer() again assuming it will be 0 if there isn't a buffer but it doesn't refresh when you call EndGraphics().