2006-01-21, 05:45 AM
anyone know of any easy way to keep track if the visualization is in fullscreen?
im currently using a bool and setting it to true when i call switchInsetToFullscreen(), and setting it to false in the onkeydown method, but not all keypresses seem to exit fullscreen mode.
the reason i want to keep track, is so im not redrawing the screen when you cant see it, which makes the visualization jerky (redrawing the screen every second, to update the postion +" / " + duration of the current music track).
im currently using a bool and setting it to true when i call switchInsetToFullscreen(), and setting it to false in the onkeydown method, but not all keypresses seem to exit fullscreen mode.
the reason i want to keep track, is so im not redrawing the screen when you cant see it, which makes the visualization jerky (redrawing the screen every second, to update the postion +" / " + duration of the current music track).