GetDesktopResolution
function, that is called when the screen changes to update desktop information.
gfx_screen
slider a button (FSAA-style) to avoid the setting being reset because the screen change puts the mouse on the other side of the slider, resulting in horrible blinking